Class representing a set of elements in a mesh together with their bounding box. More...
#include <MeshRegion.hxx>
Public Member Functions | |
| MeshRegion () | |
| ~MeshRegion () | |
| template<class MyMeshType > | |
| void | addElement (MeshElement< ConnType > *const element, const MyMeshType &mesh) |
| template<class MyMeshType > | |
| void | split (MeshRegion< ConnType > ®ion1, MeshRegion< ConnType > ®ion2, BoundingBox::BoxCoord coord, const MyMeshType &mesh) |
| bool | isDisjointWithElementBoundingBox (const MeshElement< ConnType > &elem) const |
| std::vector< MeshElement < ConnType > * >::const_iterator | getBeginElements () const |
| Accessor to beginning of elements vector. | |
| std::vector< MeshElement < ConnType > * >::const_iterator | getEndElements () const |
| Accessor to end of elements vector. | |
| unsigned | getNumberOfElements () const |
| Gives information on how many elements are contained in the region. | |
Private Member Functions | |
| MeshRegion (const MeshRegion &m) | |
| disallow copying | |
| MeshRegion< ConnType > & | operator= (const MeshRegion< ConnType > &m) |
| disallow assignment | |
Private Attributes | |
| std::vector< MeshElement < ConnType > * > | _elements |
| Vector of pointers to contained MeshElements. | |
| BoundingBox * | _box |
| BoundingBox containing all the nodes of all the elements in the region. | |
Class representing a set of elements in a mesh together with their bounding box.
It permits to split itself in two, which is used in the depth-first search filtering process.
| INTERP_KERNEL.MeshRegion< ConnType >.MeshRegion | ( | ) |
| INTERP_KERNEL.MeshRegion< ConnType >.~MeshRegion | ( | ) |
| INTERP_KERNEL.MeshRegion< ConnType >.MeshRegion | ( | const MeshRegion< ConnType > & | m | ) | [private] |
disallow copying
| void INTERP_KERNEL.MeshRegion< ConnType >.addElement | ( | MeshElement< ConnType > *const | element, |
| const MyMeshType & | mesh | ||
| ) |
| void INTERP_KERNEL.MeshRegion< ConnType >.split | ( | MeshRegion< ConnType > & | region1, |
| MeshRegion< ConnType > & | region2, | ||
| BoundingBox::BoxCoord | coord, | ||
| const MyMeshType & | mesh | ||
| ) |
| bool INTERP_KERNEL.MeshRegion< ConnType >.isDisjointWithElementBoundingBox | ( | const MeshElement< ConnType > & | elem | ) | const |
| std::vector< MeshElement<ConnType>* >::const_iterator INTERP_KERNEL.MeshRegion< ConnType >.getBeginElements | ( | ) | const |
Accessor to beginning of elements vector.
References INTERP_KERNEL.MeshRegion< ConnType >._elements.
| std::vector< MeshElement<ConnType>* >::const_iterator INTERP_KERNEL.MeshRegion< ConnType >.getEndElements | ( | ) | const |
Accessor to end of elements vector.
References INTERP_KERNEL.MeshRegion< ConnType >._elements.
| unsigned INTERP_KERNEL.MeshRegion< ConnType >.getNumberOfElements | ( | ) | const |
Gives information on how many elements are contained in the region.
References INTERP_KERNEL.MeshRegion< ConnType >._elements.
| MeshRegion<ConnType>& INTERP_KERNEL.MeshRegion< ConnType >.operator= | ( | const MeshRegion< ConnType > & | m | ) | [private] |
disallow assignment
std::vector< MeshElement<ConnType>* > INTERP_KERNEL.MeshRegion< ConnType >._elements [private] |
Vector of pointers to contained MeshElements.
NB : these pointers are not owned by the region object, and are thus neither allocated or liberated in this class. The elements must therefore be allocated and liberated outside the class.
BoundingBox* INTERP_KERNEL.MeshRegion< ConnType >._box [private] |
BoundingBox containing all the nodes of all the elements in the region.