| FEAT 3
    Finite Element Analysis Toolbox | 
Mesh Atlas class template. More...
#include <mesh_atlas.hpp>
| Public Types | |
| typedef Atlas::ChartBase< MeshType > | MeshChartType | 
| our chart base-class type  More... | |
| typedef Mesh_ | MeshType | 
| our mesh type  More... | |
| typedef MeshType::VertexType | VertexType | 
| our vertex type (aka world point type)  More... | |
| Public Member Functions | |
| MeshAtlas () | |
| default CTOR  More... | |
| MeshAtlas (const MeshAtlas &)=delete | |
| deleted copy CTOR | |
| MeshAtlas (MeshAtlas &&other)=default | |
| move CTOR | |
| virtual | ~MeshAtlas () | 
| virtual DTOR  More... | |
| bool | add_mesh_chart (const String &name, std::unique_ptr< MeshChartType > chart, bool replace=false) | 
| Inserts a new chart into the map.  More... | |
| std::size_t | bytes () const | 
| MeshChartType * | find_mesh_chart (const String &name) | 
| Searches for a mesh chart.  More... | |
| const MeshChartType * | find_mesh_chart (const String &name) const | 
| Searches for a mesh chart.   More... | |
| std::deque< String > | get_chart_names () const | 
| Returns the names of all charts of this atlas.  More... | |
| const MeshChartMap & | get_mesh_chart_map () const | 
| Returns a const reference to the chart map.  More... | |
| MeshAtlas & | operator= (const MeshAtlas &)=delete | 
| deleted copy-assignment operator | |
| MeshAtlas & | operator= (MeshAtlas &&other)=default | 
| move-assignment operator | |
| void | transform (const VertexType &origin, const VertexType &angles, const VertexType &offset) | 
| Applies a "proper rigid" transformation onto the atlas.  More... | |
| Static Public Member Functions | |
| static std::unique_ptr< MeshAtlas > | make_unique () | 
| Creates a new MeshAtlas on the heap and returns a unique pointer to it.  More... | |
| Protected Types | |
| typedef std::map< String, std::unique_ptr< MeshChartType > > | MeshChartMap | 
| our chart map type  More... | |
| Protected Attributes | |
| MeshChartMap | _chart_map | 
| our chart map  More... | |
Mesh Atlas class template.
| Mesh_ | The type of the mesh that is to be parameterized by this atlas, i.e. ConformalMesh | 
Definition at line 31 of file mesh_atlas.hpp.
| 
 | protected | 
our chart map type
Definition at line 43 of file mesh_atlas.hpp.
| typedef Atlas::ChartBase<MeshType> FEAT::Geometry::MeshAtlas< Mesh_ >::MeshChartType | 
our chart base-class type
Definition at line 37 of file mesh_atlas.hpp.
| typedef Mesh_ FEAT::Geometry::MeshAtlas< Mesh_ >::MeshType | 
our mesh type
Definition at line 35 of file mesh_atlas.hpp.
| typedef MeshType::VertexType FEAT::Geometry::MeshAtlas< Mesh_ >::VertexType | 
our vertex type (aka world point type)
Definition at line 39 of file mesh_atlas.hpp.
| 
 | inline | 
default CTOR
Definition at line 50 of file mesh_atlas.hpp.
Referenced by FEAT::Geometry::MeshAtlas< Mesh_ >::make_unique().
| 
 | inlinevirtual | 
virtual DTOR
Definition at line 67 of file mesh_atlas.hpp.
| 
 | inline | 
Inserts a new chart into the map.
| [in] | name | The name of the chart to be inserted. | 
| [in] | chart | A unique pointer to the mesh chart to be inserted. The atlas takes ownership of the chart object and deletes it upon destruction. | 
| [in] | replace | Specifies whether to replace an old chart with the same name if it already exists. | 
Definition at line 109 of file mesh_atlas.hpp.
References FEAT::Geometry::MeshAtlas< Mesh_ >::_chart_map.
Referenced by FEAT::Geometry::MeshExtruder< ConformalMesh< Shape::Hypercube< 2 >, 2, Coord_ > >::extrude_atlas().
| 
 | inline | 
Definition at line 84 of file mesh_atlas.hpp.
References FEAT::Geometry::MeshAtlas< Mesh_ >::_chart_map.
| 
 | inline | 
Searches for a mesh chart.
| [in] | name | The name of the mesh chart to the found. | 
name, or nullptr if no chart with that name was found. This returned pointer does not transfer ownership and must therefore not be deleted by the caller. Definition at line 162 of file mesh_atlas.hpp.
References FEAT::Geometry::MeshAtlas< Mesh_ >::_chart_map.
Referenced by FEAT::Meshopt::ChartDistanceFunction< ElementalFunction_, Trafo_, RefCellTrafo_ >::compute_dist_add(), FEAT::Meshopt::ChartDistanceFunction< ElementalFunction_, Trafo_, RefCellTrafo_ >::compute_dist_max(), FEAT::Meshopt::ChartDistanceFunction< ElementalFunction_, Trafo_, RefCellTrafo_ >::compute_dist_min(), FEAT::Geometry::MeshNodeLinker< RootMesh_ >::execute(), FEAT::Geometry::MeshExtruder< ConformalMesh< Shape::Hypercube< 2 >, 2, Coord_ > >::extrude_atlas(), FEAT::Geometry::MeshExtruder< ConformalMesh< Shape::Hypercube< 2 >, 2, Coord_ > >::extrude_root_node(), and FEAT::Geometry::MeshFileWriter::write_atlas().
| 
 | inline | 
Searches for a mesh chart.
| [in] | name | The name of the mesh chart to the found. | 
name, or nullptr if no chart with that name was found. This returned pointer does not transfer ownership and must therefore not be deleted by the caller.  Definition at line 171 of file mesh_atlas.hpp.
References FEAT::Geometry::MeshAtlas< Mesh_ >::_chart_map.
| 
 | inline | 
Returns the names of all charts of this atlas.
Definition at line 131 of file mesh_atlas.hpp.
References FEAT::Geometry::MeshAtlas< Mesh_ >::_chart_map.
Referenced by FEAT::Geometry::MeshExtruder< ConformalMesh< Shape::Hypercube< 2 >, 2, Coord_ > >::extrude_atlas(), and FEAT::Geometry::MeshFileWriter::write_atlas().
| 
 | inline | 
Returns a const reference to the chart map.
Definition at line 146 of file mesh_atlas.hpp.
References FEAT::Geometry::MeshAtlas< Mesh_ >::_chart_map.
| 
 | inlinestatic | 
Creates a new MeshAtlas on the heap and returns a unique pointer to it.
Definition at line 78 of file mesh_atlas.hpp.
References FEAT::Geometry::MeshAtlas< Mesh_ >::MeshAtlas().
| 
 | inline | 
Applies a "proper rigid" transformation onto the atlas.
Let v denote the origin world point, w the offset world point and R the rotation matrix corresponding to the angles, then this function applies the following transformation for any chart point x of the atlas:
\[ x \mapsto w + R\cdot (x - v) \]
| [in] | origin | The origin of the transformation. This is subtracted from any vertex before applying the rotation. | 
| [in] | angles | The angles of the rotation matrix. 
 | 
| [in] | offset | The offset of the transformation. This is added to any vertex after applying the rotation. | 
Definition at line 205 of file mesh_atlas.hpp.
References FEAT::Geometry::MeshAtlas< Mesh_ >::_chart_map.
| 
 | protected | 
our chart map
Definition at line 46 of file mesh_atlas.hpp.
Referenced by FEAT::Geometry::MeshAtlas< Mesh_ >::add_mesh_chart(), FEAT::Geometry::MeshAtlas< Mesh_ >::bytes(), FEAT::Geometry::MeshAtlas< Mesh_ >::find_mesh_chart(), FEAT::Geometry::MeshAtlas< Mesh_ >::get_chart_names(), FEAT::Geometry::MeshAtlas< Mesh_ >::get_mesh_chart_map(), and FEAT::Geometry::MeshAtlas< Mesh_ >::transform().