|
FEAT 3
Finite Element Analysis Toolbox
|
BoundaryFactory implementation. More...
#include <boundary_factory.hpp>
Public Types | |
| typedef Factory< MeshPart< ParentMesh_ > > | BaseClass |
| Our base class. More... | |
| typedef MeshPart< ParentMeshType > | MeshType |
| The MeshPart type. More... | |
| typedef ParentMesh_ | ParentMeshType |
| the parent mesh type More... | |
| typedef MeshType::ShapeType | ShapeType |
| the shape type More... | |
| typedef MeshType::TargetSetHolderType | TargetSetHolderType |
| target set holder type More... | |
Public Member Functions | |
| BoundaryFactory (const ParentMeshType &mesh_in) | |
| Constructor. More... | |
| virtual void | fill_attribute_sets (typename BaseClass::AttributeSetContainer &) override |
| Fills the MeshPart's target set, except that it doesn't. More... | |
| virtual void | fill_index_sets (std::unique_ptr< typename BaseClass::IndexSetHolderType > &) override |
| Fills the MeshPart's index_set_holder, except that it doesn't as there is no topology. More... | |
| virtual void | fill_target_sets (TargetSetHolderType &target_set_holder) override |
| Fills the MeshPart's target set. More... | |
| virtual Index | get_num_entities (int dim) override |
| Returns the number of entities. More... | |
Static Public Attributes | |
| static constexpr int | shape_dim = ShapeType::dimension |
| the facet dimension More... | |
Private Attributes | |
| std::array< std::vector< int >, std::size_t(shape_dim)> | _bnd_masks |
| the face masks for each face dimensions More... | |
| Intern::BoundaryFaceComputer< ShapeType > | _face_computer |
| a boundary face computer object for the dirty work More... | |
| std::array< std::vector< Index >, std::size_t(shape_dim)> | _face_idx |
| the (cell_dim_-1)-dimensional boundary face indices for each face dimension More... | |
| const ParentMeshType & | _mesh_in |
| a reference to the input mesh More... | |
BoundaryFactory implementation.
The boundary factory is a MeshPart factory, which creates a MeshPart without topology containing all boundary faces for a given conformal mesh.
Definition at line 27 of file boundary_factory.hpp.
| typedef Factory<MeshPart<ParentMesh_> > FEAT::Geometry::BoundaryFactory< ParentMesh_ >::BaseClass |
Our base class.
Definition at line 32 of file boundary_factory.hpp.
| typedef MeshPart<ParentMeshType> FEAT::Geometry::BoundaryFactory< ParentMesh_ >::MeshType |
The MeshPart type.
Definition at line 36 of file boundary_factory.hpp.
| typedef ParentMesh_ FEAT::Geometry::BoundaryFactory< ParentMesh_ >::ParentMeshType |
the parent mesh type
Definition at line 34 of file boundary_factory.hpp.
| typedef MeshType::ShapeType FEAT::Geometry::BoundaryFactory< ParentMesh_ >::ShapeType |
the shape type
Definition at line 38 of file boundary_factory.hpp.
| typedef MeshType::TargetSetHolderType FEAT::Geometry::BoundaryFactory< ParentMesh_ >::TargetSetHolderType |
target set holder type
Definition at line 40 of file boundary_factory.hpp.
|
inlineexplicit |
Constructor.
| [in] | mesh_in | A resident reference to mesh for which the boundary meshpart is to be computed. |
Definition at line 61 of file boundary_factory.hpp.
References FEAT::Geometry::BoundaryFactory< ParentMesh_ >::_bnd_masks, FEAT::Geometry::BoundaryFactory< ParentMesh_ >::_face_computer, and FEAT::Geometry::BoundaryFactory< ParentMesh_ >::_face_idx.
|
inlineoverridevirtual |
Fills the MeshPart's target set, except that it doesn't.
Definition at line 77 of file boundary_factory.hpp.
|
inlineoverridevirtual |
Fills the MeshPart's index_set_holder, except that it doesn't as there is no topology.
Definition at line 82 of file boundary_factory.hpp.
|
inlineoverridevirtual |
Fills the MeshPart's target set.
Definition at line 87 of file boundary_factory.hpp.
References FEAT::Geometry::BoundaryFactory< ParentMesh_ >::_face_computer, and FEAT::Geometry::BoundaryFactory< ParentMesh_ >::_face_idx.
|
inlineoverridevirtual |
Returns the number of entities.
Definition at line 68 of file boundary_factory.hpp.
References FEAT::Geometry::BoundaryFactory< ParentMesh_ >::_face_idx, and FEAT::Geometry::BoundaryFactory< ParentMesh_ >::shape_dim.
|
private |
the face masks for each face dimensions
Definition at line 50 of file boundary_factory.hpp.
Referenced by FEAT::Geometry::BoundaryFactory< ParentMesh_ >::BoundaryFactory().
|
private |
a boundary face computer object for the dirty work
Definition at line 48 of file boundary_factory.hpp.
Referenced by FEAT::Geometry::BoundaryFactory< ParentMesh_ >::BoundaryFactory(), and FEAT::Geometry::BoundaryFactory< ParentMesh_ >::fill_target_sets().
|
private |
the (cell_dim_-1)-dimensional boundary face indices for each face dimension
Definition at line 52 of file boundary_factory.hpp.
Referenced by FEAT::Geometry::BoundaryFactory< ParentMesh_ >::BoundaryFactory(), FEAT::Geometry::BoundaryFactory< ParentMesh_ >::fill_target_sets(), and FEAT::Geometry::BoundaryFactory< ParentMesh_ >::get_num_entities().
|
private |
a reference to the input mesh
Definition at line 46 of file boundary_factory.hpp.
|
staticconstexpr |
the facet dimension
Definition at line 42 of file boundary_factory.hpp.
Referenced by FEAT::Geometry::BoundaryFactory< ParentMesh_ >::get_num_entities().