LifeV
RegionMesh< GeoShapeType, MCType > Class Template Reference

Class for 3D, 2D and 1D Mesh. More...

#include <RegionMesh.hpp>

+ Inheritance diagram for RegionMesh< GeoShapeType, MCType >:
+ Collaboration diagram for RegionMesh< GeoShapeType, MCType >:

Public Types

typedef GeoShapeType geoShape_Type
 
typedef MCType markerCommon_Type
 Common Markers. More...
 
typedef std::shared_ptr< Epetra_Comm > commPtr_Type
 
- Public Types inherited from MeshEntity
enum  SwitchId { LOCALID = 0, GLOBALID = 1 }
 Indicator for local or global id. More...
 

Public Member Functions

bool hasLocalEdges (ridge_Type) const
 Is the array for local Edges set up? Specialization for 3D geometries. More...
 
bool hasLocalEdges (facet_Type) const
 Is the array for local Edges set up? Specialization for 2D geometries. More...
 
- Public Member Functions inherited from MeshEntity
 MeshEntity ()
 Empty Constructor. More...
 
 MeshEntity (const ID &id, const flag_Type &flag=EntityFlags::DEFAULT)
 Constructor with a single value for both identifiers. More...
 
 MeshEntity (const ID &id, const ID &lid, const flag_Type &flag=EntityFlags::DEFAULT)
 Full constructor, where both identifiers are specified. More...
 
 MeshEntity (const ID &id, const bool &boundary)
 backward-compatible constructor More...
 
virtual ~MeshEntity ()
 Destructor. More...
 
void showMe (std::ostream &output=std::cout) const
 Displays the informations stored by this class. More...
 
void setId (const ID &id)
 Method to set the global identifier. More...
 
void setLocalId (const ID &id)
 Method to set the local identifier. More...
 
void setBoundary (const bool &boundary)
 Set method for the boundary indicator. More...
 
void replaceFlag (const flag_Type &flag)
 Replace method for the entity flag. More...
 
void setFlag (const flag_Type &flag)
 Sets a flag. More...
 
void unSetFlag (const flag_Type &flag)
 Remove a flag. More...
 
const IDid () const
 Method to get the global identifier. More...
 
const IDlocalId () const
 Method to get the local identifier. More...
 
bool boundary () const
 Tells if it is on the boundary. More...
 
bool isOwned () const
 Tells if the entity is owned by current process. More...
 
const flag_Typeflag () const
 returns the entity flag More...
 

Static Public Attributes

static const UInt S_geoDimensions = geoShape_Type::S_nDimensions
 static const S_geoDimensions: the dimensions (1,2,3) of the geometry More...
 
static const Int S_facetDimension = static_cast<const Int>(S_geoDimensions)-1
 
static const Int S_ridgeDimension = static_cast<const Int>(S_geoDimensions)-2
 
static const Int S_peakDimension = static_cast<const Int>(S_geoDimensions)-3
 

Private Member Functions

UInt numElements (threeD_Type) const
 
UInt numElements (twoD_Type) const
 
UInt numElements (oneD_Type) const
 
UInt numBoundaryFacets (threeD_Type) const
 Number of Boundary facets. More...
 
UInt numBoundaryFacets (twoD_Type) const
 
UInt numBoundaryFacets (oneD_Type) const
 
element_Typeelement (threeD_Type, const UInt &i)
 Get element at the i-th index. More...
 
element_Typeelement (twoD_Type, const UInt &i)
 
element_Typeelement (oneD_Type, const UInt &i)
 
const element_Typeelement (threeD_Type, const UInt &i) const
 Get element at the i-th index. More...
 
const element_Typeelement (twoD_Type, const UInt &i) const
 
const element_Typeelement (oneD_Type, const UInt &i) const
 
facet_TypeboundaryFacet (threeD_Type, const UInt &i)
 Get boundary facet at the i-th index. More...
 
facet_TypeboundaryFacet (twoD_Type, const UInt &i)
 
facet_TypeboundaryFacet (oneD_Type, const UInt &i)
 
const facet_TypeboundaryFacet (threeD_Type, const UInt &i) const
 Get boundary facet at the i-th index. More...
 
const facet_TypeboundaryFacet (twoD_Type, const UInt &i) const
 
const facet_TypeboundaryFacet (oneD_Type, const UInt &i) const
 
UInt numGlobalElements (threeD_Type) const
 Number of global elements. More...
 
UInt numGlobalElements (twoD_Type) const
 
UInt numGlobalElements (oneD_Type) const
 
UInt maxNumElements (threeD_Type) const
 Current capacity of the container of Elements. More...
 
UInt maxNumElements (twoD_Type) const
 
UInt maxNumElements (oneD_Type) const
 
void setNumElements (threeD_Type, UInt const n)
 Set counter of elements. More...
 
void setNumElements (twoD_Type, UInt const n)
 
void setNumElements (oneD_Type, UInt const n)
 
void setMaxNumElements (threeD_Type, UInt const n, bool const setcounter=false)
 Changes Current capacity of the container of elements. More...
 
void setMaxNumElements (twoD_Type, UInt const n, bool const setcounter=false)
 
void setMaxNumElements (oneD_Type, UInt const n, bool const setcounter=false)
 
void setMaxNumGlobalElements (threeD_Type, UInt const n)
 Set the number of global elements. More...
 
void setMaxNumGlobalElements (twoD_Type, UInt const n)
 
void setMaxNumGlobalElements (oneD_Type, UInt const n)
 
element_TypeaddElement (volume_Type const &elem)
 Adds element. More...
 
element_TypeaddElement (face_Type const &elem)
 
element_TypeaddElement (edge_Type const &elem)
 
bool hasLocalFaces (facet_Type) const
 Is the array for local faces set up? More...
 
bool hasLocalFaces (ridge_Type) const
 
void updateElementEdges (ridge_Type, bool createEdges=false, const bool verbose=false, UInt estimateEdgeNumber=0, bool renumber=true)
 Build localEdgeId table and optionally fills the list of Edges. More...
 
void updateElementEdges (facet_Type, bool createEdges=false, const bool verbose=false, UInt estimateEdgeNumber=0, bool=true)
 Build localEdgeId table and optionally fills the list of Edges. More...
 
void updateElementRidges (threeD_Type, bool createRidges=false, const bool verbose=false, UInt estimateRidgeNumber=0, bool renumber=true)
 Build localRidgeId table and optionally fills the list of Ridges. More...
 
void updateElementRidges (twoD_Type, bool, const bool, UInt, bool)
 
void updateElementRidges (oneD_Type, bool, const bool, UInt, bool)
 
void cleanElementEdges (ridge_Type)
 specializations for cleanElementEdges More...
 
void cleanElementEdges (facet_Type)
 
ID localRidgeId (threeD_Type, UInt const elemId, UInt const locR) const
 Local Ridge. More...
 
ID localRidgeId (twoD_Type, UInt const elemId, UInt const locR) const
 
ID localRidgeId (oneD_Type, UInt const, UInt const) const
 
ID localEdgeId (const threeD_Type, UInt const elemId, UInt const locE) const
 Local Edge (specialization for 3D geometries). More...
 
ID localEdgeId (const twoD_Type, UInt const elemId, UInt const locE) const
 Local Edge (specialization for 2D geometries). More...
 
ID localEdgeId (const oneD_Type, UInt const, UInt const) const
 Local Edge (specialization for 1D geometries). It calls an error. More...
 
UInt numFacets (threeD_Type) const
 specializations for numFacets More...
 
UInt numFacets (twoD_Type) const
 
UInt numFacets (oneD_Type) const
 
UInt numGlobalFacets (threeD_Type) const
 specializations numGlobalFacets More...
 
UInt numGlobalFacets (twoD_Type) const
 
UInt numGlobalFacets (oneD_Type) const
 
void setMaxNumFacets (threeD_Type, UInt const n, bool const setcounter=false)
 Changes Current capacity of Facets. More...
 
void setMaxNumFacets (twoD_Type, UInt const n, bool const setcounter=false)
 
void setMaxNumFacets (oneD_Type, UInt const n, bool const setcounter=false)
 
void setMaxNumGlobalFacets (threeD_Type, UInt const n)
 Changes Current capacity of Global Facets. More...
 
void setMaxNumGlobalFacets (twoD_Type, UInt const n)
 
void setMaxNumGlobalFacets (oneD_Type, UInt const n)
 
facet_TypeaddFacet (threeD_Type, bool const boundary)
 Adds a facet. More...
 
facet_TypeaddFacet (twoD_Type, bool const boundary)
 
facet_TypeaddFacet (oneD_Type, bool const boundary)
 
facet_Type const & facet (threeD_Type, UInt const i) const
 i-th mesh Facet. More...
 
facet_Type const & facet (twoD_Type, UInt const i) const
 
facet_Type const & facet (oneD_Type, UInt const i) const
 
facet_Typefacet (threeD_Type, UInt const i)
 i-th mesh facet. More...
 
facet_Typefacet (twoD_Type, UInt const i)
 
facet_Typefacet (oneD_Type, UInt const i)
 
void setNumFacets (threeD_Type, UInt const n)
 Set counter of facets. More...
 
void setNumFacets (twoD_Type, UInt const n)
 
void setNumFacets (oneD_Type, UInt const n)
 
void setNumBoundaryFacets (threeD_Type, UInt const n)
 Set counter of boundary facets. More...
 
void setNumBoundaryFacets (twoD_Type, UInt const n)
 
void setNumBoundaryFacets (oneD_Type, UInt const n)
 
bool isBoundaryFacet (threeD_Type, UInt const &id) const
 Is facet whose id is given on boundary? More...
 
bool isBoundaryFacet (twoD_Type, UInt const &id) const
 
bool isBoundaryFacet (oneD_Type, UInt const &id) const
 
UInt numRidges (threeD_Type) const
 Number of Ridges. More...
 
UInt numRidges (twoD_Type) const
 
UInt numRidges (oneD_Type) const
 
UInt numGlobalRidges (threeD_Type) const
 Global number of Ridges. More...
 
UInt numGlobalRidges (twoD_Type) const
 
UInt numGlobalRidges (oneD_Type) const
 
void setMaxNumRidges (threeD_Type, UInt const n, bool const setcounter)
 Changes Current capacity of Ridges. More...
 
void setMaxNumRidges (twoD_Type, UInt const n, bool const setcounter)
 
void setMaxNumRidges (oneD_Type, UInt const, bool const)
 
void setMaxNumGlobalRidges (threeD_Type, UInt const n)
 Changes Current capacity of Global Ridges. More...
 
void setMaxNumGlobalRidges (twoD_Type, UInt const n)
 
void setMaxNumGlobalRidges (oneD_Type, UInt const)
 
ridge_TypeaddRidge (threeD_Type, bool const boundary)
 Adds a Ridge. More...
 
ridge_TypeaddRidge (twoD_Type, bool const boundary)
 
ridge_TypeaddRidge (oneD_Type, bool const)
 
ridge_Type const & ridge (threeD_Type, UInt const i) const
 i-th mesh ridge. More...
 
ridge_Type const & ridge (twoD_Type, UInt const i) const
 
ridge_Type const & ridge (oneD_Type, UInt const) const
 
ridge_Typeridge (threeD_Type, UInt const i)
 i-th mesh ridge reference. More...
 
ridge_Typeridge (twoD_Type, UInt const i)
 
ridge_Typeridge (oneD_Type, UInt const)
 
void setNumRidges (threeD_Type, UInt const n)
 Set counter of ridges. More...
 
void setNumBoundaryRidges (threeD_Type, UInt const n)
 Set boundary ridge counter. More...
 
void setNumBoundaryRidges (twoD_Type, UInt const n)
 
void setNumBoundaryRidges (oneD_Type, UInt const)
 
bool isBoundaryRidge (threeD_Type, UInt const &id) const
 Ridge on boundary check by id. More...
 
bool isBoundaryRidge (twoD_Type, UInt const &id) const
 
bool isBoundaryRidge (oneD_Type, UInt const &) const
 
peak_Type const & peak (threeD_Type, UInt const i) const
 Returns the i-th mesh Peak. More...
 
peak_Type const & peak (twoD_Type, UInt const) const
 
peak_Type const & peak (oneD_Type, UInt const) const
 
peak_Typepeak (threeD_Type, UInt const i)
 Returns a reference to the i-th mesh peak. More...
 
peak_Typepeak (twoD_Type, UInt const)
 
peak_Typepeak (oneD_Type, UInt const)
 
UInt numGlobalPeaks (threeD_Type) const
 Returns the global number of peaks in the mesh. More...
 
UInt numGlobalPeaks (twoD_Type) const
 
UInt numGlobalPeaks (oneD_Type) const
 
elements_TypeelementList (threeD_Type)
 returns a reference to the elements' container More...
 
elements_TypeelementList (twoD_Type)
 
elements_TypeelementList (oneD_Type)
 
facets_TypefacetList (threeD_Type)
 returns a reference to the facets' container More...
 
facets_TypefacetList (twoD_Type)
 
facets_TypefacetList (oneD_Type)
 
ridges_TyperidgeList (threeD_Type)
 returns a reference to the ridges' container More...
 
ridges_TyperidgeList (twoD_Type)
 
ridges_TyperidgeList (oneD_Type)
 

Private Attributes

ArraySimple< UIntM_ElemToFacet
 
ArraySimple< UIntM_ElemToRidge
 
UInt M_numVolumes
 
UInt M_numVertices
 
UInt M_numBVertices
 
UInt M_numPoints
 
UInt M_numBPoints
 
UInt M_numFaces
 
UInt M_numBFaces
 
UInt M_numEdges
 
UInt M_numBEdges
 
UInt M_numGlobalPoints
 
UInt M_numGlobalVertices
 
UInt M_numGlobalEdges
 
UInt M_numGlobalFaces
 
UInt M_numGlobalVolumes
 
bool M_isPartitioned
 
markerCommon_Type::regionMarker_Type M_marker
 
MeshUtility::MeshTransformer< RegionMesh< geoShape_Type, markerCommon_Type >, markerCommon_TypeM_meshTransformer
 
commPtr_Type M_comm
 
geoDim_Type M_geoDim
 
ridge_Type M_aRidge
 
peak_Type M_aPeak
 

GeoDim Types

dummy types that allows to select the correct method based on the dimension of the geometry.

typedef GeoDim< 1 > oneD_Type
 
typedef GeoDim< 2 > twoD_Type
 
typedef GeoDim< 3 > threeD_Type
 
typedef GeoDim< S_geoDimensionsgeoDim_Type
 

Marker Types

Markers for Point, Edge, Face, Volume and Region.

typedef markerCommon_Type::pointMarker_Type pointMarker_Type
 Point Marker. More...
 
typedef markerCommon_Type::edgeMarker_Type edgeMarker_Type
 Edge Marker. More...
 
typedef markerCommon_Type::faceMarker_Type faceMarker_Type
 Face Marker. More...
 
typedef markerCommon_Type::volumeMarker_Type volumeMarker_Type
 Volume Marker. More...
 
typedef markerCommon_Type::regionMarker_Type regionMarker_Type
 Region Marker. More...
 

Geometric Element Types

volume_Type, face_Type, edge_Type, point_Type, element_Type, facet_Type, ridge_Type, peak_Type.

Correspondences table: | | element_Type | facet_Type | ridge_Type | peak_Type | -----------------------------------------------------------—| | 3D | volume_Type | face_Type | edge_Type | point_Type | | 2D | face_Type | edge_Type | point_Type | - | | 1D | edge_Type | point_Type | - | - |

typedef MeshElementMarked< 3, S_geoDimensions, geoShape_Type, markerCommon_Typevolume_Type
 
typedef MeshElementMarked< 2, S_geoDimensions, geoShape_Type, markerCommon_Typeface_Type
 
typedef MeshElementMarked< 1, S_geoDimensions, geoShape_Type, markerCommon_Typeedge_Type
 
typedef MeshElementMarked< 0, S_geoDimensions, geoShape_Type, markerCommon_Typepoint_Type
 
typedef MeshElementMarked< S_geoDimensions, S_geoDimensions, geoShape_Type, markerCommon_Typeelement_Type
 
typedef MeshElementMarked< S_facetDimension, S_geoDimensions, geoShape_Type, markerCommon_Typefacet_Type
 
typedef MeshElementMarked< S_ridgeDimension, S_geoDimensions, geoShape_Type, markerCommon_Typeridge_Type
 
typedef MeshElementMarked< S_peakDimension, S_geoDimensions, geoShape_Type, markerCommon_Typepeak_Type
 

Basic Element Shape Types

volumeShape_Type, faceShape_Type, edgeShape_Type, facetShape_Type, ridgeShape_Type, ridgeShape_Type.

typedef volume_Type::geoShape_Type volumeShape_Type
 Element Shape. More...
 
typedef face_Type::geoShape_Type faceShape_Type
 
typedef edge_Type::geoShape_Type edgeShape_Type
 
typedef geoShape_Type elementShape_Type
 
typedef geoShape_Type::GeoBShape facetShape_Type
 
typedef facetShape_Type::GeoBShape ridgeShape_Type
 

Geometric Element Container Types

Typedefs for STL complaint containers of mesh geometric entities.

typedef MeshEntityContainer< volume_Typevolumes_Type
 
typedef MeshEntityContainer< face_Typefaces_Type
 
typedef MeshEntityContainer< edge_Typeedges_Type
 
typedef MeshEntityContainer< point_Typepoints_Type
 
typedef MeshEntityContainer< element_Typeelements_Type
 
typedef MeshEntityContainer< facet_Typefacets_Type
 
typedef MeshEntityContainer< ridge_Typeridges_Type
 
typedef MeshEntityContainer< peak_Typepeaks_Type
 

Constructors & Destructor

Default and Copy Constructor for the class.

 RegionMesh ()
 Default constructor. More...
 
 RegionMesh (commPtr_Type const &comm)
 Constructor. More...
 
 RegionMesh (UInt id, commPtr_Type const &comm)
 Constructor. More...
 
virtual ~RegionMesh ()
 Destructor. More...
 

Utilities

Utilities for mesh checking and debugging.

std::ostream & showMe (bool verbose=false, std::ostream &out=std::cout) const
 Display general information about the content of the class. More...
 
Int check (Int level=0, bool const fix=false, bool verbose=true, std::ostream &out=std::cerr)
 Basic tests for mesh consistency. More...
 
void printLtGMap (std::ostream &os)
 Display local to global mapping. More...
 
MeshUtility::MeshTransformer< RegionMesh< geoShape_Type, markerCommon_Type >, markerCommon_Type > & meshTransformer ()
 Return the handle to perform transormations on the mesh. More...
 
commPtr_Type comm () const
 Return the communicator. More...
 
void setComm (commPtr_Type const &comm)
 Setter for the communicator. More...
 

Switches Methods

Switches are used to store the status of the RegionMesh The switches are used internally to control whether some data structures have been set up.

The possible Switches are:

  • HAS_ALL_FACETS
  • HAS_ALL_RIDGES
  • HAS_BOUNDARY_FACETS
  • HAS_BOUNDARY_RIDGES
  • HAS_ELEMENT_TO_FACETS
  • HAS_ELEMENT_TO_RIDGES
  • HAS_BEEN_CHECKED
  • FACETS_HAVE_ADIACENCY
const UIntnumSwitches () const
 Get the number of switch which have been set. More...
 
bool getLinkSwitch (std::string const &_s) const
 Interrogate Switch. More...
 
void setLinkSwitch (std::string const &_s)
 Set a switch using a given name. More...
 
void unsetLinkSwitch (std::string const &_s)
 Unset a switch. More...
 
std::ostream & showLinkSwitch (bool verbose=false, std::ostream &out=std::cout)
 Output switches contents. More...
 

Generic Methods

These are the generic methods to get information about the number of elements.

It is a generic interface common for all RegionMeshes (3D – 1D).

markerCommon_Type::regionMarker_Type & markerClass () const
 get mesh marker. More...
 
markerID_Type markerID () const
 get only mesh marker id. More...
 
bool isPartitioned () const
 get M_isPartitioned bool More...
 

Volume Methods

Methods which operates on 3D elements.

There are different way of counting gemetry entities:

  • Counter: A counter stored the number of entities (element, faces etc) in the mesh. It does NOT necessarily correspond to the numer of entities actually stored. Indeed, I may not stor edges, yet having a counter with the number of edges in the mesh;
  • Stored: The number of stored entities corresponds to the size() of the container. A container may store all mesh entities (this is the default for the Points and the Volumes), only the boundary entities (this is the default with the Faces) or even none (this is the default with the edges);
  • Capacity: The maximum number of entities that may stored before the container is resized.
UInt numVolumes () const
 Returns Number of Volumes. More...
 
UInt numGlobalVolumes () const
 Returns Global Number of Volumes. More...
 
UInt storedVolumes () const
 Volumes actually stored in list. More...
 
UInt maxNumVolumes () const
 Current capacity of Volumes Container. More...
 
void setMarkerClass (typename MCType::regionMarker_Type const &marker)
 set mesh marker. More...
 
void setMarkerID (markerID_Type const &markerId)
 set only the mesh marker id. More...
 
void setIsPartitioned (bool const isPartitioned)
 
void setMaxNumVolumes (UInt const n, bool const setcounter=false)
 Changes Current capacity of Volumes. More...
 
void setMaxNumGlobalVolumes (UInt const n)
 Set the number of global volumes. More...
 
void setNumVolumes (UInt const n)
 Set number of volumes. More...
 
element_TypeaddVolume ()
 Adds volume. More...
 
element_TypeaddVolume (element_Type const &vol)
 Adds volume. More...
 
element_TypesetVolume (element_Type const &v, UInt const pos)
 Adds volume in a certain position. More...
 
void setVolumeCounter ()
 set numVolumes counter. More...
 
element_TypelastVolume ()
 Reference to last volume stored in list. More...
 
element_Type const & volume (UInt const i) const
 i-th mesh 3D Element. More...
 
element_Typevolume (UInt const i)
 i-th mesh 3D Element. More...
 

Element Adjacency Methods

Methods to obtain the ID of Face and Edge belonging to an element.

Accessing this information requires that the appropriate data structures have been set by using the updateElementEdges() or updateElementFaces() methods.

It is NOT required to have the full information about edges and faces: The ID of the Face and Edge entities may be calculated without contructing the corresponding Edge of Face Object. This saves memory. However the methods has the capability of building the actual internal Faces (the boundary GeoFaces must already exist!) of the Edges. In this case the MarkerFlag is inherited using the rules stated in the marker_traits class.

bool hasLocalFacets () const
 Is the array for local facets set up? More...
 
bool hasLocalFaces () const
 Is the array for local faces set up? More...
 
void updateElementFacets (bool createFaces=false, bool verbose=false, UInt estimateFacetNumber=0)
 Build localFacetId table and optionally fills the list of Facets. More...
 
void updateElementFaces (bool createFaces=false, const bool verbose=false, UInt estimateFaceNumber=0)
 Build localFaceId table and optionally fills the list of Faces. More...
 
void cleanElementFacets ()
 Destroys element-to-facet container. Useful to save memory! More...
 
void cleanElementFaces ()
 Destroys element-to-face container. Useful to save memory! More...
 
UInt localFacetId (UInt const elemId, UInt const locF) const
 Local Facet Id. More...
 
UInt localFaceId (UInt const volId, UInt const locF) const
 Local Face Id. More...
 
UInt localFaceId (const volume_Type &vol, UInt const locF) const
 Local Face Id. More...
 
bool hasLocalRidges () const
 Is the array for ridges set up? More...
 
bool hasLocalEdges () const
 Is the array for local Edges set up? More...
 
void updateElementRidges (bool createRidges=false, const bool verbose=false, UInt estimateRidgeNumber=0, bool renumber=true)
 Build localRidgeId table and optionally fills the list of Ridges. More...
 
void updateElementEdges (bool createEdges=false, const bool verbose=false, UInt estimateEdgeNumber=0, bool renumber=true)
 Builds localEdgeId table and optionally fills the list of Edges. More...
 
void cleanElementRidges ()
 Destroys Ridge-To-Facet lookup table. More...
 
void cleanElementEdges ()
 Destroys edge To facet lookup table. More...
 
ID localRidgeId (UInt const elemId, UInt const locR) const
 Local Ridge ID of a ridge in an element stored in the mesh. More...
 
ID localRidgeId (const element_Type &elem, UInt const locR) const
 Local Ridge. More...
 
ID localEdgeId (UInt const elemId, UInt const locE) const
 Local Edge. More...
 
ID localEdgeId (const volume_Type &elem, UInt const locE) const
 Local Edge (specialization for 3D geometries). More...
 
ID localEdgeId (const face_Type &elem, UInt const locE) const
 Local Edge (specialization for 2D geometries). More...
 

Faces Methods

Methods to access/create/modify faces data

There are different way of counting Faces:

  • Number of Faces: is the declared number of total faces in the mesh. It uses an internal counter.
    Warning
    A value different from zero does NOT imply that the faces are actually stored. This counter declares the number of Faces that the mash have not those that are actually stored in the list of faces!
  • Number of Boundary Faces: is the declared number of boundary faces in the mesh. It uses an internal counter.
    Warning
    A value different from zero does NOT imply that the boundary faces are actually stored.
  • Number of Stored Faces: It is the number of Faces actually stored on the face container.
  • Maximum number of stored faces: The number of faces that may stored before the container is resized.
    Note
    This parameter has to be set BEFORE inserting faces in the container if we want that pointer into the container maintains their validity. The container will also have a better performance.
    See also volume_methods.
UInt numFaces () const
 Returns Number of Faces. More...
 
UInt numFacets () const
 Returns Number of Facets. More...
 
UInt numGlobalFaces () const
 Returns Global Number of Faces. More...
 
UInt storedFaces () const
 Number of Faces actually stored. More...
 
UInt maxNumFaces () const
 Current capacity of Faces Container. More...
 
void setMaxNumFaces (UInt const n, bool const setcounter=false)
 Changes Current capacity of Faces. More...
 
void setMaxNumGlobalFaces (UInt const n)
 Changes Current capacity of Global Faces. More...
 
void setMaxNumGlobalFacets (UInt const n)
 Changes Current capacity of Global Facets. More...
 
face_TypeaddFace ()
 Adds a face. More...
 
face_TypeaddFace (bool const boundary)
 Adds a face. More...
 
face_TypeaddFace (face_Type const &f)
 Adds a face. More...
 
face_TypesetFace (face_Type const &f, UInt pos)
 Adds a face in a certain position. More...
 
face_TypelastFace ()
 Reference to last face stored in list. More...
 
face_Type const & face (UInt const i) const
 i-th mesh Face. More...
 
face_Typeface (UInt const i)
 i-th mesh face. More...
 
face_Type const & boundaryFace (UInt const i) const
 i-th mesh boundary face. More...
 
face_TypeboundaryFace (UInt const i)
 i-th mesh boundary face. More...
 
void setNumFaces (UInt const n)
 Set counter of faces. More...
 
void setNumBFaces (UInt const n)
 Set counter of boundary faces. More...
 
bool hasFaces () const
 Do I store mesh faces? More...
 
bool hasInternalFaces () const
 Do I store also internal faces? More...
 
UInt numBFaces () const
 Number of Boundary Faces. More...
 
bool isBoundaryFace (UInt const &id) const
 Is face whose id is given on boundary? More...
 
UInt numLocalFaces () const
 Number of local faces for each 3Delement. More...
 
bool isFullFace (UInt const &id) const
 Does this id corresponds to a full face? More...
 
UInt faceElement (UInt const faceId, UInt const Pos) const
 Id of the Volume Element adjacent to a Face. More...
 
UInt faceElement (facet_Type const &f, UInt const Pos) const
 3DElement adjacent to a FACE. Face reference given. More...
 

Edge Methods

All methods which operates on 1D elements.

There are different point counters which may bi interrogated or set:

  • Number of Edges: is the declared number of total edges in the mesh.
    Beware: A value different from zero does NOT imply that the edges are actually stored.
  • Number of Boundary Edges: is the declared number of boundary edges in the mesh.
    Beware: A value different from zero does NOT imply that the boundary edges are actually stored.
  • Number of Stored Edges: It is the number of Edges actually stored on the edge container.
  • Maximum number of stored edges: The number of edges that may stored before the container is resized.
    Important: This parameter has to be set BEFORE inserting edges in the container if we want that pointer into the container maintains their validity. The container will also have a better performance.
Note
To have more information on the Edge methods look at the documentation of th eanalogous Edges methods face_methods and in volume_methods.
UInt numEdges () const
 Number of Edges. More...
 
UInt numGlobalEdges () const
 Global number of Edges. More...
 
UInt numLocalEdges () const
 Number of local edges for each (3D) element. More...
 
UInt storedEdges () const
 Number of stored Edges. More...
 
UInt maxNumEdges () const
 Capacity of Edge Container. More...
 
void setMaxNumEdges (UInt const n, bool const setcounter=false)
 Changes Current capacity of Edges. More...
 
void setMaxNumGlobalEdges (UInt const n)
 Changes Current capacity of Global Edges. More...
 
edge_TypeaddEdge (bool const boundary)
 Adds an Edge. More...
 
edge_TypeaddEdge (edge_Type const &r)
 Adds an Edge. More...
 
edge_TypesetEdge (edge_Type const &e, UInt position)
 Add an Edge to specified position. More...
 
edge_TypelastEdge ()
 Reference to last edge stored in list. More...
 
edge_Type const & edge (UInt const i) const
 i-th mesh edge. More...
 
edge_Typeedge (UInt const i)
 i-th mesh edge reference. More...
 
edge_Type const & boundaryEdge (UInt const i) const
 i-th mesh 1D Boundary Edge. More...
 
edge_TypeboundaryEdge (UInt const i)
 i-th mesh 1D Boundary Edge Reference. More...
 
void setNumBEdges (UInt const n)
 Set boundary Edge counter. More...
 
bool hasEdges () const
 Do I store mesh edges? More...
 
bool isBoundaryEdge (ridge_Type const &e) const
 Edge on boundary check. More...
 
bool isBoundaryEdge (UInt const &id) const
 Edge on boundary check by id. More...
 
bool isFullEdge (UInt const &id) const
 Full Edge check by id. More...
 
UInt numBEdges () const
 Number of Boundary Edges. More...
 
void setNumEdges (UInt const n)
 Set internal counter of number of Edges. More...
 
bool hasInternalEdges () const
 Do I store internal Edges? More...
 
UInt numLocalEdgesOfFace () const
 Number of edges on each face. More...
 

Points Methods

All methods which operates on Point Elements.

There are different Point counters which may be interrogated or set:

  • Number of Points: is the declared number of total points in the mesh.
  • Number of Boundary Points: is the declared number of boundary points in the mesh.
    Does NOT imply that the boundary points are actually stored.
  • Number of Stored Points: It is the number of Points actually stored on the points container.
  • Maximum number of stored points: The number of points that may stored before the container is resized.
    Very Important: This parameter has to be set BEFORE inserting points in the container. Since MeshElementMarkeds will contain POINTERS into the container!
    This is a debatable point!

    Note
    To have more information on the Point methods look at the documentation of the analogous Edges methods (face_methods).
UInt numPoints () const
 Returns number of points in the mesh. More...
 
UIntnumPoints ()
 Returns a reference to number of points in the mesh. More...
 
UInt storedPoints () const
 Returns number of points in the mesh actually stored. More...
 
UInt storedBPoints () const
 Returns number of boundary points in the mesh actually stored. More...
 
UInt maxNumPoints () const
 Returns the number of storable points in the mesh. More...
 
void setMaxNumPoints (UInt const n, bool const setcounter=false)
 Set the number of storable points in the mesh. More...
 
void setMaxNumGlobalPoints (UInt const n)
 Set the number of storable global points in the mesh. More...
 
point_TypeaddPoint (bool const boundary, bool const vertices)
 Adds a Point in the mesh. More...
 
point_TypeaddPoint (point_Type const &p)
 Adds a Point in the mesh. More...
 
point_Type const & firstPoint () const
 Returns the first mesh Point. More...
 
point_Type const & lastPoint () const
 Returns the last mesh Point. More...
 
point_Type const & point (UInt const i) const
 Returns the i-th mesh Point. More...
 
point_Typepoint (UInt const i)
 Returns a reference to the i-th mesh point. More...
 
point_Type const & boundaryPoint (UInt const i) const
 Returns a reference to the i-th mesh Boundary Point. More...
 
point_TypeboundaryPoint (UInt const i)
 Returns a reference to the i-th mesh Boundary Point. More...
 
UInt numBPoints () const
 Returns the number of Boundary Points. More...
 
void setNumBPoints (UInt const n)
 Sets the number of Boundary Points. More...
 
bool isBoundaryPoint (point_Type const &p) const
 Is this point on boundary? More...
 
bool isBoundaryPoint (UInt const &id) const
 Is this point on boundary? More...
 
void getListOfPoints (bool(*fct)(Real, Real, Real), std::vector< UInt > &list_pts)
 List of points. More...
 

Vertices Methods

All methods which operates on Vertex Elements.

UInt numVertices () const
 Number of Vertices in Region. More...
 
UInt numBVertices () const
 Number of Boundary Vertices in Region. More...
 
UIntnumBVertices ()
 Reference to the number of Boundary Vertices in Region. More...
 
UInt numLocalVertices () const
 Number of local vertices for each (3D) element. More...
 
UInt numGlobalVertices () const
 Returns the global number of vertices in the mesh. More...
 
UInt numGlobalPoints () const
 Returns the global number of points in the mesh. More...
 
bool isVertex (UInt const &id) const
 Vertex check. More...
 
bool isVertex (point_Type const &p) const
 Vertex check. More...
 
void setNumVertices (UInt const n)
 Changes number of Vertices. More...
 
void setNumGlobalVertices (UInt const n)
 Set the number of vertices in the mesh. More...
 
void setNumBVertices (UInt const n)
 Changes number of Boundary Vertices. More...
 

Polytope Methods

These are the polytope methods to get information about the number of polytopes (elements, facets, ridges, peaks).

Interfaces common for all RegionMeshes (3D – 1D).

UInt numElements () const
 Number of elements in mesh. More...
 
UInt numBoundaryFacets () const
 Number of Boundary facets. More...
 
element_Typeelement (const UInt &i)
 Get element at the i-th index. More...
 
const element_Typeelement (const UInt &i) const
 Get element at the i-th index. More...
 
facet_TypeboundaryFacet (const UInt &i)
 Get boundary facet at the i-th index. More...
 
const facet_TypeboundaryFacet (const UInt &i) const
 Get boundary facet at the i-th index. More...
 
UInt numGlobalElements () const
 Number of global elements. More...
 
UInt maxNumElements () const
 Current capacity of the container of Elements. More...
 
void setNumElements (UInt const n)
 Set counter of elements. More...
 
void setMaxNumElements (UInt const n, bool const setcounter=false)
 Changes Current capacity of the container of elements. More...
 
void setMaxNumGlobalElements (UInt const n)
 Set the number of global elements. More...
 
element_TypeaddElement ()
 Adds element. More...
 
element_TypesetElement (volume_Type const &elem, UInt const pos)
 Adds element in a certain position (specialization for 3D geometry). More...
 
element_TypesetElement (face_Type const &elem, UInt const pos)
 Adds element in a certain position (specialization for 2D geometry). More...
 
element_TypesetElement (edge_Type const &elem, UInt const pos)
 Adds element in a certain position (specialization for 1D geometry). More...
 
UInt numGlobalFacets () const
 Returns Global Number of Facets. More...
 
void setMaxNumFacets (UInt const n, bool const setcounter=false)
 Changes Current capacity of Facets. More...
 
facet_TypeaddFacet (bool const boundary)
 Adds a facet. More...
 
facet_TypeaddFacet (face_Type const &facet)
 Adds a facet. 3D specialization. More...
 
facet_TypeaddFacet (edge_Type const &facet)
 Adds a facet. 2D specialization. More...
 
facet_TypeaddFacet (point_Type const &facet)
 Adds a facet. 1D specialization. More...
 
facet_Type const & facet (UInt const i) const
 i-th mesh Facet. More...
 
facet_Typefacet (UInt const i)
 i-th mesh facet. More...
 
void setNumFacets (UInt const n)
 Set counter of facets. More...
 
void setNumBoundaryFacets (UInt const n)
 Set counter of boundary facets. More...
 
bool isBoundaryFacet (UInt const &id) const
 Is facet whose id is given on boundary? More...
 
UInt numRidges () const
 Number of Ridges. More...
 
UInt numGlobalRidges () const
 Global number of Ridges. More...
 
void setMaxNumRidges (UInt const n, bool const setcounter=false)
 Changes Current capacity of Ridges. More...
 
void setMaxNumGlobalRidges (UInt const n)
 Changes Current capacity of Global Ridges. More...
 
void setNumRidges (UInt const n)
 Set counter of facets. More...
 
ridge_TypeaddRidge (bool const boundary)
 Adds a Ridge. More...
 
ridge_TypeaddRidge (edge_Type const &r)
 Adds a Ridge. Specialization for 3D geometries. More...
 
ridge_TypeaddRidge (point_Type const &r)
 Adds a Ridge. Specialization for 2D geometries. More...
 
ridge_Type const & ridge (UInt const i) const
 i-th mesh ridge. More...
 
ridge_Typeridge (UInt const i)
 i-th mesh ridge reference. More...
 
void setNumBoundaryRidges (UInt const n)
 Set boundary ridge counter. More...
 
bool isBoundaryRidge (edge_Type const &r) const
 Ridge on boundary check. Specialization for 3D geometries. More...
 
bool isBoundaryRidge (point_Type const &r) const
 Ridge on boundary check. Specialization for 2D geometries. More...
 
bool isBoundaryRidge (UInt const &id) const
 Ridge on boundary check by id. More...
 
peak_Type const & peak (UInt const i) const
 Returns the i-th mesh Peak. More...
 
UInt numGlobalPeaks () const
 Returns a reference to the i-th mesh peak. More...
 

Region Containers

STL compliant containers for basic structure.

I expose them since they are standard containers.

points_Type pointList
 Container of mesh Points/Vertices. More...
 
faces_Type faceList
 Container of mesh Faces. More...
 
edges_Type edgeList
 Container of mesh Edges. More...
 
volumes_Type volumeList
 Container of mesh 3D Elements. More...
 
std::vector< point_Type *> _bPoints
 Boundary points list. More...
 

Container Polytope Getters

getters for region Containers, by polytope names

elements_TypeelementList ()
 returns a reference to the elements' container More...
 
facets_TypefacetList ()
 returns a reference to the facets' container More...
 
ridges_TyperidgeList ()
 returns a reference to the ridges' container More...
 

Switches

Switch switches
 Switches. More...
 

Detailed Description

template<typename GeoShapeType, typename MCType = defaultMarkerCommon_Type>
class LifeV::RegionMesh< GeoShapeType, MCType >

Class for 3D, 2D and 1D Mesh.

Author
Luca Formaggia luca..nosp@m.form.nosp@m.aggia.nosp@m.@pol.nosp@m.imi.i.nosp@m.t
Miguel Fernandez
Contributor:
Mauro Perego mpere.nosp@m.go@f.nosp@m.su.ed.nosp@m.u

This is the class that stores the mesh entities for a single region.

In a region elements are all of the same type.

Note: to provide data useful in a parallel setting some methods return either the number of entities in the current mesh region or the ones in the global mesh, before partitioning. The latter are identified by the keyword Global in the name, e.g. numGlobalFaces() versus numFaces()

Definition at line 87 of file RegionMesh.hpp.

Member Typedef Documentation

◆ geoShape_Type

typedef GeoShapeType geoShape_Type

Definition at line 93 of file RegionMesh.hpp.

◆ markerCommon_Type

typedef MCType markerCommon_Type

Common Markers.

Definition at line 96 of file RegionMesh.hpp.

◆ oneD_Type

typedef GeoDim<1> oneD_Type

Definition at line 110 of file RegionMesh.hpp.

◆ twoD_Type

typedef GeoDim<2> twoD_Type

Definition at line 111 of file RegionMesh.hpp.

◆ threeD_Type

typedef GeoDim<3> threeD_Type

Definition at line 112 of file RegionMesh.hpp.

◆ geoDim_Type

Definition at line 113 of file RegionMesh.hpp.

◆ pointMarker_Type

typedef markerCommon_Type::pointMarker_Type pointMarker_Type

Point Marker.

Definition at line 124 of file RegionMesh.hpp.

◆ edgeMarker_Type

typedef markerCommon_Type::edgeMarker_Type edgeMarker_Type

Edge Marker.

Definition at line 126 of file RegionMesh.hpp.

◆ faceMarker_Type

typedef markerCommon_Type::faceMarker_Type faceMarker_Type

Face Marker.

Definition at line 128 of file RegionMesh.hpp.

◆ volumeMarker_Type

typedef markerCommon_Type::volumeMarker_Type volumeMarker_Type

Volume Marker.

Definition at line 130 of file RegionMesh.hpp.

◆ regionMarker_Type

typedef markerCommon_Type::regionMarker_Type regionMarker_Type

Region Marker.

Definition at line 132 of file RegionMesh.hpp.

◆ volume_Type

◆ face_Type

◆ edge_Type

◆ point_Type

◆ element_Type

◆ facet_Type

◆ ridge_Type

◆ peak_Type

◆ volumeShape_Type

Element Shape.

Definition at line 171 of file RegionMesh.hpp.

◆ faceShape_Type

Definition at line 172 of file RegionMesh.hpp.

◆ edgeShape_Type

Definition at line 173 of file RegionMesh.hpp.

◆ elementShape_Type

Definition at line 175 of file RegionMesh.hpp.

◆ facetShape_Type

typedef geoShape_Type::GeoBShape facetShape_Type

Definition at line 176 of file RegionMesh.hpp.

◆ ridgeShape_Type

typedef facetShape_Type::GeoBShape ridgeShape_Type

Definition at line 177 of file RegionMesh.hpp.

◆ volumes_Type

Definition at line 185 of file RegionMesh.hpp.

◆ faces_Type

Definition at line 186 of file RegionMesh.hpp.

◆ edges_Type

Definition at line 187 of file RegionMesh.hpp.

◆ points_Type

Definition at line 188 of file RegionMesh.hpp.

◆ elements_Type

Definition at line 190 of file RegionMesh.hpp.

◆ facets_Type

Definition at line 191 of file RegionMesh.hpp.

◆ ridges_Type

Definition at line 192 of file RegionMesh.hpp.

◆ peaks_Type

Definition at line 193 of file RegionMesh.hpp.

◆ commPtr_Type

typedef std::shared_ptr<Epetra_Comm> commPtr_Type

Definition at line 197 of file RegionMesh.hpp.

Constructor & Destructor Documentation

◆ RegionMesh() [1/3]

RegionMesh ( )
inline

Default constructor.

Definition at line 2822 of file RegionMesh.hpp.

◆ RegionMesh() [2/3]

RegionMesh ( commPtr_Type const &  comm)
inlineexplicit

Constructor.

Parameters
commcommunicator to manage output

Definition at line 2842 of file RegionMesh.hpp.

◆ RegionMesh() [3/3]

RegionMesh ( UInt  id,
commPtr_Type const &  comm 
)
inline

Constructor.

Parameters
commcommunicator to manage output
idmarkerId of the RegionMesh

Definition at line 2864 of file RegionMesh.hpp.

◆ ~RegionMesh()

~RegionMesh ( )
inlinevirtual

Destructor.

Definition at line 2885 of file RegionMesh.hpp.

Member Function Documentation

◆ showMe()

std::ostream & showMe ( bool  verbose = false,
std::ostream &  out = std::cout 
) const
inline

Display general information about the content of the class.

Pretty output of information about the mesh.

Parameters
verboseIf true output is verbose, false otherwise (default);
outOutput stream (std::cout default);
Returns
Output stream (for concatenation).

Definition at line 3485 of file RegionMesh.hpp.

◆ check()

Int check ( Int  level = 0,
bool const  fix = false,
bool  verbose = true,
std::ostream &  out = std::cerr 
)
inline

Basic tests for mesh consistency.

Check consistency of the mesh and fix errors.

Parameters
levelIndicates level.
  • 0 => minimal level, just sets the switches to the appropriate value
  • 1 => launch an external function from mesh_util.h which performs a series of sophisticated tests.
fixIf true and level=1 it fixes the mesh.
verboseIf true output is verbose, false otherwise (default);
outOutput stream (std::cerr default);
Returns
Severity level. If different from 0 the mesh has problem. If positive the problems are such that the mesh may not work in any case. If less than zero it may work in some cases.

Definition at line 3571 of file RegionMesh.hpp.

◆ printLtGMap()

void printLtGMap ( std::ostream &  os)

Display local to global mapping.

Parameters
osOutput stream.

◆ meshTransformer()

MeshUtility::MeshTransformer< RegionMesh< GeoShapeType, MCType >, MCType > & meshTransformer ( )
inline

Return the handle to perform transormations on the mesh.

Definition at line 4409 of file RegionMesh.hpp.

◆ comm()

RegionMesh< GeoShapeType, MCType >::commPtr_Type comm ( ) const
inline

Return the communicator.

Definition at line 4416 of file RegionMesh.hpp.

◆ setComm()

void setComm ( commPtr_Type const &  comm)
inline

Setter for the communicator.

Definition at line 4422 of file RegionMesh.hpp.

◆ numSwitches()

const UInt& numSwitches ( ) const
inline

Get the number of switch which have been set.

Returns
The number of switches which have been set.

Definition at line 303 of file RegionMesh.hpp.

◆ getLinkSwitch()

bool getLinkSwitch ( std::string const &  _s) const
inline

Interrogate Switch.

Parameters
_sName of the switch.
Returns
true if the name is in the switch, false otherwise.

Definition at line 3827 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ setLinkSwitch()

void setLinkSwitch ( std::string const &  _s)
inline

Set a switch using a given name.

Parameters
_sName of the switch.

Definition at line 3807 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ unsetLinkSwitch()

void unsetLinkSwitch ( std::string const &  _s)
inline

Unset a switch.

Parameters
_sName of the switch.

Definition at line 3817 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ showLinkSwitch()

std::ostream& showLinkSwitch ( bool  verbose = false,
std::ostream &  out = std::cout 
)
inline

Output switches contents.

Parameters
verboseVerbosity of the output.
outOutput stream.
Returns
Output stream for concatenation.

Definition at line 332 of file RegionMesh.hpp.

◆ markerClass()

markerCommon_Type::regionMarker_Type& markerClass ( ) const
inline

get mesh marker.

Returns
regionmesh marker.

Definition at line 354 of file RegionMesh.hpp.

◆ markerID()

markerID_Type markerID ( ) const
inline

get only mesh marker id.

Returns
regionmesh marker id.

Definition at line 363 of file RegionMesh.hpp.

◆ isPartitioned()

bool isPartitioned ( ) const
inline

get M_isPartitioned bool

isPartitioned

Returns
M_isPartitioned member

Definition at line 373 of file RegionMesh.hpp.

◆ numVolumes()

UInt numVolumes ( ) const
inline

Returns Number of Volumes.

Returns number of Volume elements in the mesh as given by the internal counter.

Returns
Number of Volumes.

Definition at line 410 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ numGlobalVolumes()

UInt numGlobalVolumes ( ) const
inline

Returns Global Number of Volumes.

Returns number of Global Volume elements in the mesh as given by the internal counter.

Returns
Number of Global Volumes.

Definition at line 420 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ storedVolumes()

UInt storedVolumes ( ) const
inline

Volumes actually stored in list.

Returns
Number of stored Volumes.

Definition at line 429 of file RegionMesh.hpp.

◆ maxNumVolumes()

UInt maxNumVolumes ( ) const
inline

Current capacity of Volumes Container.

Returns
how many volumes may be stored.

Definition at line 438 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ setMarkerClass()

void setMarkerClass ( typename MCType::regionMarker_Type const &  marker)
inline

set mesh marker.

Parameters
markerto be set.

Definition at line 448 of file RegionMesh.hpp.

◆ setMarkerID()

void setMarkerID ( markerID_Type const &  markerId)
inline

set only the mesh marker id.

Parameters
markerid to be set.

Definition at line 458 of file RegionMesh.hpp.

◆ setIsPartitioned()

void setIsPartitioned ( bool const  isPartitioned)
inline

Definition at line 463 of file RegionMesh.hpp.

◆ setMaxNumVolumes()

void setMaxNumVolumes ( UInt const  n,
bool const  setcounter = false 
)
inline

Changes Current capacity of Volumes.

Changes Current capacity of Volumes (Optionally sets internal counter).

Parameters
nMaximum number of volumes.
setcountertrue to set the counter, false otherwise (default).

Definition at line 2921 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ setMaxNumGlobalVolumes()

void setMaxNumGlobalVolumes ( UInt const  n)
inline

Set the number of global volumes.

Set the number of global volumes.

Parameters
nmaximum number of global volumes.

Definition at line 483 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ setNumVolumes()

void setNumVolumes ( UInt const  n)
inline

Set number of volumes.

Set number of volumes in the mesh by changing internal counter.

Parameters
nnumber of volumes.

Definition at line 493 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ addVolume() [1/2]

RegionMesh< GeoShapeType, MCType >::element_Type & addVolume ( )

Adds volume.

Adds volume. Local and global ID computed automatically.

Returns
Reference to added volume.

Definition at line 2932 of file RegionMesh.hpp.

◆ addVolume() [2/2]

RegionMesh< GeoShapeType, MCType >::element_Type & addVolume ( element_Type const &  vol)
inline

Adds volume.

Adds volume. Local ID computed automatically. Global ID is left unchanged

Parameters
vVolume to be added.
Returns
Reference to the newly added volume.

Definition at line 2941 of file RegionMesh.hpp.

◆ setVolume()

RegionMesh< GeoShapeType, MCType >::element_Type & setVolume ( element_Type const &  v,
UInt const  pos 
)
inline

Adds volume in a certain position.

Adds volume to a specified position.

Parameters
vVolume to be added.
posPosition of the volume.
Returns
Reference to the newly added volume.

Definition at line 2953 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ setVolumeCounter()

void setVolumeCounter ( )
inline

set numVolumes counter.

Definition at line 524 of file RegionMesh.hpp.

◆ lastVolume()

element_Type& lastVolume ( )
inline

Reference to last volume stored in list.

Reference to last volume stored in list. Useful for mesh readers.

Returns
reference of the last volume in the list.

Definition at line 535 of file RegionMesh.hpp.

◆ volume() [1/2]

RegionMesh< GeoShapeType, MCType >::element_Type const & volume ( UInt const  i) const
inline

i-th mesh 3D Element.

Parameters
iindex of the mesh 3D Element.
Returns
the i-th volume.

Definition at line 2965 of file RegionMesh.hpp.

◆ volume() [2/2]

RegionMesh< GeoShapeType, MCType >::element_Type & volume ( UInt const  i)
inline

i-th mesh 3D Element.

Parameters
iindex of the mesh volume.
Returns
reference to the ith mesh volume.

Definition at line 2974 of file RegionMesh.hpp.

◆ hasLocalFacets()

bool hasLocalFacets ( ) const
inline

Is the array for local facets set up?

It does not use switches, but interrogates the container directly

Returns
true if the array for local facets in not empty.

Definition at line 582 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ hasLocalFaces() [1/3]

bool hasLocalFaces ( ) const
inline

Is the array for local faces set up?

It does not use switches, but interrogates the container directly

Returns
true if array for local faces in not empty.

Definition at line 593 of file RegionMesh.hpp.

◆ updateElementFacets()

void updateElementFacets ( bool  createFaces = false,
bool  verbose = false,
UInt  estimateFacetNumber = 0 
)

Build localFacetId table and optionally fills the list of Facets.

Parameters
createFacetsis set true if we want also to create the actual list of internal facets. There is another utility (in mesh_util.hpp), which might be used for the same purpose if we want just to create the faces and not also the LocaFaceID table.
verboseif true, output is verbose.
estimateFacetNumberis a guess provided by the user of the total number of faces. It is relevant only when createFaces=true. Setting it to a proper value helps in reducing time and memory.
Note
Facets are renumbered so that boundary facets are stored first
Precondition
The routine assumes that the boundary facets are properly set, if not use the methods in #include MeshChecks.hpp

Definition at line 4156 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ updateElementFaces()

void updateElementFaces ( bool  createFaces = false,
const bool  verbose = false,
UInt  estimateFaceNumber = 0 
)

Build localFaceId table and optionally fills the list of Faces.

Parameters
createFacetis set true if we want also to create the actual list of internal faces. There is another utility (in mesh_util.hpp), which might be used for the same purpose if we want just to create the faces and not also the LocaFaceID table.
verboseif true, output is verbose.
estimateFaceNumberis a guess provided by the user of the total number of faces. It is relevant only when createFaces=true. Setting it to a proper value helps in reducing time and memory.
Precondition
The routine assumes that the boundary facets are properly set, if not use the methods in #include MeshChecks.hpp

Definition at line 4359 of file RegionMesh.hpp.

◆ cleanElementFacets()

void cleanElementFacets ( )

Destroys element-to-facet container. Useful to save memory!

Definition at line 4367 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ cleanElementFaces()

void cleanElementFaces ( )

Destroys element-to-face container. Useful to save memory!

Definition at line 4376 of file RegionMesh.hpp.

◆ localFacetId()

UInt localFacetId ( UInt const  elemId,
UInt const  locF 
) const
inline

Local Facet Id.

Parameters
elemIdId of element.
locFlocal facet number 0 < LocF < numLocalFacets().
Returns
ID of the facet.

Definition at line 3907 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ localFaceId() [1/2]

UInt localFaceId ( UInt const  volId,
UInt const  locF 
) const
inline

Local Face Id.

Parameters
volIdId of volume.
locFlocal face number 0 < LocF < numLocalFaces().
Returns
ID of the face.

Definition at line 3918 of file RegionMesh.hpp.

◆ localFaceId() [2/2]

UInt localFaceId ( const volume_Type vol,
UInt const  locF 
) const
inline

Local Face Id.

Parameters
ivolReference to a volume.
locFlocal face number 0 < LocF < numLocalFaces().
Returns
ID of the face.

Definition at line 660 of file RegionMesh.hpp.

◆ hasLocalRidges()

bool hasLocalRidges ( ) const
inline

Is the array for ridges set up?

It does not use switches, but interrogates the container directly.

Returns
true if ridges information are available, false otherwise.

Definition at line 671 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ hasLocalEdges() [1/3]

bool hasLocalEdges ( ) const
inline

Is the array for local Edges set up?

It does not use switches, but interrogates the container directly.

Returns
true if edges information are available, false otherwise.

Definition at line 682 of file RegionMesh.hpp.

◆ updateElementRidges() [1/4]

void updateElementRidges ( bool  createRidges = false,
const bool  verbose = false,
UInt  estimateRidgeNumber = 0,
bool  renumber = true 
)
inline

Build localRidgeId table and optionally fills the list of Ridges.

Parameters
createRdgesis set true if we want also to create the actual list of edges. There is another utility (MeshChecks.hpp), which might be used for the same purpose if we want just to create the faces and not also the LocalRidgeID table.
verboseIf true, output is verbose.
estimateRidgeNumberis a guess provided by the user of the total number of ridges. It is relevant only when createFacets=true. Setting it to a proper value helps in reducing time and memory.
renumberRelevant only if createFacets=true.It makes sure that boundary edges are first if set to false possibly existing edges are never moved
Note
This method does not assume that boundary edges are stores, since this condition is NOT a a paradigm for a RegionMesh.

Definition at line 704 of file RegionMesh.hpp.

◆ updateElementEdges() [1/3]

void updateElementEdges ( bool  createEdges = false,
const bool  verbose = false,
UInt  estimateEdgeNumber = 0,
bool  renumber = true 
)
inline

Builds localEdgeId table and optionally fills the list of Edges.

Parameters
createEdgesis set true if we want also to create the actual edges. There is another utility (MeshChecks.hpp), might be used for the same purpose if we want just to create the edges and not also the LocalEdgeID table.
verboseIf true, output is verbose.
estimateEdgeNumberis a guess provided by the user of the total number of edges. It is relevant only when createEdges=true. Setting it to a proper value helps in reducing time and memory.
renumberRelevant only if createFaces=true.It makes sure that boundary edges are first if set to false possibly existing edges are never moved
Note
This method does not assume that boundary edges are already stored, since this condition is NOT an invariant of a RegionMesh3D.

Definition at line 727 of file RegionMesh.hpp.

◆ cleanElementRidges()

void cleanElementRidges ( )

Destroys Ridge-To-Facet lookup table.

Definition at line 4384 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ cleanElementEdges() [1/3]

void cleanElementEdges ( )
inline

Destroys edge To facet lookup table.

Definition at line 737 of file RegionMesh.hpp.

◆ localRidgeId() [1/5]

ID localRidgeId ( UInt const  elemId,
UInt const  locR 
) const
inline

Local Ridge ID of a ridge in an element stored in the mesh.

Parameters
elemIdlocal ID of the element
locRlocal ridge number (elemental) 0 <= locR < numLocalRidges().
Returns
local ID of the ridge.

Definition at line 747 of file RegionMesh.hpp.

◆ localRidgeId() [2/5]

ID localRidgeId ( const element_Type elem,
UInt const  locR 
) const
inline

Local Ridge.

Parameters
elemReference of the element.
locRlocal ridge number.
Returns
local ID of the ridge.

Definition at line 758 of file RegionMesh.hpp.

◆ localEdgeId() [1/6]

ID localEdgeId ( UInt const  elemId,
UInt const  locE 
) const
inline

Local Edge.

Parameters
elemIdId of element.
locElocal edge number 0 <= LocE < numLocalEdges().
Returns
local ID of the edge.

Definition at line 769 of file RegionMesh.hpp.

◆ localEdgeId() [2/6]

ID localEdgeId ( const volume_Type elem,
UInt const  locE 
) const
inline

Local Edge (specialization for 3D geometries).

Parameters
elemReference of the element.
locElocal edge number 0 <= LocE < numLocalEdges().
Returns
local ID of the edge.

Definition at line 779 of file RegionMesh.hpp.

◆ localEdgeId() [3/6]

ID localEdgeId ( const face_Type elem,
UInt const  locE 
) const
inline

Local Edge (specialization for 2D geometries).

Parameters
elemReference of the element.
locElocal edge number 0 <= LocE < numLocalEdges().
Returns
local ID of the edge.

Definition at line 790 of file RegionMesh.hpp.

◆ numFaces()

UInt numFaces ( ) const
inline

Returns Number of Faces.

Returns number of Face elements in the mesh as given by the internal counter.

Returns
Number of Faces.

Definition at line 2983 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ numFacets() [1/4]

UInt numFacets ( ) const
inline

Returns Number of Facets.

Returns number of Facets in the mesh as given by the internal counter.

Returns
Number of Facets.

Definition at line 844 of file RegionMesh.hpp.

◆ numGlobalFaces()

UInt numGlobalFaces ( ) const
inline

Returns Global Number of Faces.

Returns global number of Face elements in the mesh as given by the internal counter.

Returns
Global Number of Faces.

Definition at line 2990 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ storedFaces()

UInt storedFaces ( ) const
inline

Number of Faces actually stored.

Faces actually stored in list

Returns
Number of faces actually stored in list.

Definition at line 2997 of file RegionMesh.hpp.

◆ maxNumFaces()

UInt maxNumFaces ( ) const
inline

Current capacity of Faces Container.

How many elements may be stored.

Returns
Number of maximum element that can be stored.

Definition at line 3004 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ setMaxNumFaces()

void setMaxNumFaces ( UInt const  n,
bool const  setcounter = false 
)
inline

Changes Current capacity of Faces.

Changes Current capacity of Faces (Optionally sets internal counter).

Parameters
nMaximum number of faces.
setcountertrue to set the counter, false otherwise.

Definition at line 3011 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ setMaxNumGlobalFaces()

void setMaxNumGlobalFaces ( UInt const  n)
inline

Changes Current capacity of Global Faces.

Changes Current capacity of Global Faces (Optionally sets internal counter).

Parameters
nmaximum number of global faces.

Definition at line 3022 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ setMaxNumGlobalFacets() [1/4]

void setMaxNumGlobalFacets ( UInt const  n)
inline

Changes Current capacity of Global Facets.

Changes Current capacity of Global Facets (Optionally sets internal counter).

Parameters
nmaximum number of global facets.

Definition at line 896 of file RegionMesh.hpp.

◆ addFace() [1/3]

face_Type& addFace ( )
inline

Adds a face.

Adds a face. Id computed automatically.

Returns
Reference to added face.

Definition at line 906 of file RegionMesh.hpp.

◆ addFace() [2/3]

RegionMesh< GeoShapeType, MCType >::face_Type & addFace ( bool const  boundary)
inline

Adds a face.

Adds a face (optionally a boundary face). Local and global ID are computed automatically.

Parameters
boundarytrue if it's a boundary face.
Returns
Reference to added face.

Definition at line 3030 of file RegionMesh.hpp.

◆ addFace() [3/3]

RegionMesh< GeoShapeType, MCType >::face_Type & addFace ( face_Type const &  f)
inline

Adds a face.

Adds a face (optionally a boundary face). Local ID computed automatically. It assumes that all attributes of face f have been properly set

Parameters
fFace to be added.
Returns
Reference to the newly added face.

Definition at line 3041 of file RegionMesh.hpp.

◆ setFace()

RegionMesh< GeoShapeType, MCType >::face_Type & setFace ( face_Type const &  f,
UInt  pos 
)
inline

Adds a face in a certain position.

Add face to a specified position (optionally a boundary face). It assumes that all attributes of face f have been properly set a part the id which is set to pos

Parameters
fFace to add.
posPosition of the face.
Returns
Reference to the newly added face.
Note
If you add a face on the boundary you may need to reorder the list of faces

Definition at line 3053 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ lastFace()

RegionMesh< GeoShapeType, MCType >::face_Type & lastFace ( )
inline

Reference to last face stored in list.

Reference to last face stored in list. Useful for mesh readers.

Returns
reference of the last face in the list.

Definition at line 3065 of file RegionMesh.hpp.

◆ face() [1/2]

RegionMesh< GeoShapeType, MCType >::face_Type const & face ( UInt const  i) const
inline

i-th mesh Face.

Parameters
iindex of the mesh face.
Returns
the i-th face.

Definition at line 3074 of file RegionMesh.hpp.

◆ face() [2/2]

RegionMesh< GeoShapeType, MCType >::face_Type & face ( UInt const  i)
inline

i-th mesh face.

Parameters
iindex of the mesh face.
Returns
reference to the ith mesh face.

Definition at line 3083 of file RegionMesh.hpp.

◆ boundaryFace() [1/2]

RegionMesh< GeoShapeType, MCType >::face_Type const & boundaryFace ( UInt const  i) const
inline

i-th mesh boundary face.

Parameters
iindex of the mesh boundary face.
Returns
the i-th face.

Definition at line 3093 of file RegionMesh.hpp.

◆ boundaryFace() [2/2]

RegionMesh< GeoShapeType, MCType >::face_Type & boundaryFace ( UInt const  i)
inline

i-th mesh boundary face.

Parameters
iindex of the mesh boundary face.
Returns
the i-th face.

Definition at line 3104 of file RegionMesh.hpp.

◆ setNumFaces()

void setNumFaces ( UInt const  n)
inline

Set counter of faces.

Parameters
nNumber of faces.

Definition at line 3121 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ setNumBFaces()

void setNumBFaces ( UInt const  n)
inline

Set counter of boundary faces.

Parameters
nNumber of boundary faces.

Definition at line 3128 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ hasFaces()

bool hasFaces ( ) const
inline

Do I store mesh faces?

Definition at line 3859 of file RegionMesh.hpp.

◆ hasInternalFaces()

bool hasInternalFaces ( ) const
inline

Do I store also internal faces?

Definition at line 3835 of file RegionMesh.hpp.

◆ numBFaces()

UInt numBFaces ( ) const
inline

Number of Boundary Faces.

Returns
Number of boundary faces.

Definition at line 3114 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ isBoundaryFace()

bool isBoundaryFace ( UInt const &  id) const
inline

Is face whose id is given on boundary?

Parameters
idFace Id.
Returns
true if f in on boundary.

Definition at line 3900 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ numLocalFaces()

UInt numLocalFaces ( ) const
inline

Number of local faces for each 3Delement.

Returns
Number of local faces.

Definition at line 2898 of file RegionMesh.hpp.

◆ isFullFace()

bool isFullFace ( UInt const &  id) const

Does this id corresponds to a full face?

A FULL FACE is a 2DElement that is actually stored in the Face container.

Parameters
idFace id.
Returns
false if id does not corresponfd to a boundary face and internal faces are not stored.

Definition at line 3946 of file RegionMesh.hpp.

◆ faceElement() [1/2]

UInt faceElement ( UInt const  faceId,
UInt const  Pos 
) const
inline

Id of the Volume Element adjacent to a Face.

The first element is the one ORIENTED coherently with the face (AS STORED in Faces). It means that the face orientation is OUTWARD with respect to the element. The second element is either null (boundary face) or indicates that the normal of the face appears INWARD with respect to that element.

Parameters
faceIdId of the face.
Posis equal to 0 or 1 and indicates first or second element.
Returns
Id of adjacent volume element or NotAnId if none.

Definition at line 3772 of file RegionMesh.hpp.

◆ faceElement() [2/2]

UInt faceElement ( facet_Type const &  f,
UInt const  Pos 
) const
inline

3DElement adjacent to a FACE. Face reference given.

Parameters
fFace reference.
Posis equal to 0 or 1 and indicates first or second element.
Returns
Id of adjacent volume element or 0 if none.

Definition at line 3789 of file RegionMesh.hpp.

◆ numEdges()

UInt numEdges ( ) const
inline

Number of Edges.

Returns number of Edge elements in the mesh as given by the internal counter.

Returns
Number of Edges.

Definition at line 3137 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ numGlobalEdges()

UInt numGlobalEdges ( ) const
inline

Global number of Edges.

Returns global number of Edge elements in the mesh as given by the internal counter.

Returns
Global number of Edges.

Definition at line 3144 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ numLocalEdges()

UInt numLocalEdges ( ) const
inline

Number of local edges for each (3D) element.

Returns
Number of local edges for each (3D) element

Definition at line 2905 of file RegionMesh.hpp.

◆ storedEdges()

UInt storedEdges ( ) const
inline

Number of stored Edges.

Edges actually stored in list.

Returns
number of edges actually stored in list.

Definition at line 3151 of file RegionMesh.hpp.

◆ maxNumEdges()

UInt maxNumEdges ( ) const
inline

Capacity of Edge Container.

Current capacity of Edges Container, i.e. how many elements may be stored.

Returns
Edges Container Capacity.

Definition at line 3158 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ setMaxNumEdges()

void setMaxNumEdges ( UInt const  n,
bool const  setcounter = false 
)
inline

Changes Current capacity of Edges.

Optionally sets internal counter.

Parameters
nMaximum number of edges.
setcountertrue to set the counter, false otherwise.

Definition at line 3165 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ setMaxNumGlobalEdges()

void setMaxNumGlobalEdges ( UInt const  n)
inline

Changes Current capacity of Global Edges.

Optionally sets internal counter.

Parameters
nMaximum number of global edges.

Definition at line 3176 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ addEdge() [1/2]

RegionMesh< GeoShapeType, MCType >::edge_Type & addEdge ( bool const  boundary)
inline

Adds an Edge.

Adds an edge. Id computed automatically.

Parameters
boundarytrue if is on boundary.
Returns
Reference to added edge.

Definition at line 3190 of file RegionMesh.hpp.

◆ addEdge() [2/2]

RegionMesh< GeoShapeType, MCType >::edge_Type & addEdge ( edge_Type const &  r)
inline

Adds an Edge.

Adds an edge to the end of the list and adjourn its Id. The edge attributes (a part the id) should be correctly set.

Parameters
fEdge to add.
Returns
Reference to added edge.

Definition at line 3199 of file RegionMesh.hpp.

◆ setEdge()

RegionMesh< GeoShapeType, MCType >::edge_Type & setEdge ( edge_Type const &  e,
UInt  position 
)
inline

Add an Edge to specified position.

Adds an edge and sets its Id to position.

Parameters
eEdge to add.
positionPosition of the edge.
Returns
Reference to added edge.

Definition at line 3211 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ lastEdge()

RegionMesh< GeoShapeType, MCType >::edge_Type & lastEdge ( )
inline

Reference to last edge stored in list.

Useful for mesh readers

Returns
reference of the last edge in the list.

Definition at line 3225 of file RegionMesh.hpp.

◆ edge() [1/2]

RegionMesh< GeoShapeType, MCType >::edge_Type const & edge ( UInt const  i) const
inline

i-th mesh edge.

Returns the i-th edge.

Parameters
iIndex of the mesh edge.
Returns
The i-th edge.

Definition at line 3235 of file RegionMesh.hpp.

◆ edge() [2/2]

RegionMesh< GeoShapeType, MCType >::edge_Type & edge ( UInt const  i)
inline

i-th mesh edge reference.

Returns a reference to the i-th mesh Edge.

Parameters
iIndex of the mesh 1D Edge.
Returns
Reference to the i-th Edge.

Definition at line 3244 of file RegionMesh.hpp.

◆ boundaryEdge() [1/2]

RegionMesh< GeoShapeType, MCType >::edge_Type const & boundaryEdge ( UInt const  i) const
inline

i-th mesh 1D Boundary Edge.

Returns the i-th mesh Boundary Edge.

Parameters
iIndex of the mesh 1D Boundary Edge.
Returns
i-th Boundary Edge.

Definition at line 3254 of file RegionMesh.hpp.

◆ boundaryEdge() [2/2]

RegionMesh< GeoShapeType, MCType >::edge_Type & boundaryEdge ( UInt const  i)
inline

i-th mesh 1D Boundary Edge Reference.

Returns a reference to the i-th mesh Boundary Edge.

Parameters
iIndex of the mesh 1D Boundary Edge.
Returns
Reference to the i-th Boundary edge.

Definition at line 3264 of file RegionMesh.hpp.

◆ setNumBEdges()

void setNumBEdges ( UInt const  n)
inline

Set boundary Edge counter.

Set the Boundary Edges counter to a given number.

Parameters
nCount of Boundary Edge.

Definition at line 3280 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ hasEdges()

bool hasEdges ( ) const
inline

Do I store mesh edges?

Returns true if edges are stored.

Returns
true if edge are stored, false otherwise.

Definition at line 3851 of file RegionMesh.hpp.

◆ isBoundaryEdge() [1/2]

bool isBoundaryEdge ( ridge_Type const &  e) const
inline

Edge on boundary check.

Is this edge on boundary?

Parameters
eThe Edge.
Returns
true if the edge is on the boundary, false otherwise.

Definition at line 1227 of file RegionMesh.hpp.

◆ isBoundaryEdge() [2/2]

bool isBoundaryEdge ( UInt const &  id) const
inline

Edge on boundary check by id.

Is this edge, of given id, on boundary?

Parameters
idId of the edge.
Returns
true if the edge is on the boundary, false otherwise.

Definition at line 1239 of file RegionMesh.hpp.

◆ isFullEdge()

bool isFullEdge ( UInt const &  id) const
inline

Full Edge check by id.

Does this ID corresponds to a full edge?

A FULL EDGE is a 1D Element that is actually stored in the Edge container.

Parameters
idId of the edge.
Returns
true if the edge is actually stored, false otherwise.

Definition at line 3939 of file RegionMesh.hpp.

◆ numBEdges()

UInt numBEdges ( ) const
inline

Number of Boundary Edges.

Returns number of boundary edge elements in the mesh as given by the internal counter.

Returns
Number of Boundary Edges.

Definition at line 3273 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ setNumEdges()

void setNumEdges ( UInt const  n)
inline

Set internal counter of number of Edges.

Parameters
nNumber of Edges.

Definition at line 3183 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ hasInternalEdges()

bool hasInternalEdges ( ) const
inline

Do I store internal Edges?

Returns
true if internal edges are stored.

Definition at line 3843 of file RegionMesh.hpp.

◆ numLocalEdgesOfFace()

UInt numLocalEdgesOfFace ( ) const
inline

Number of edges on each face.

Returns
Number of edges for each face.

Definition at line 2912 of file RegionMesh.hpp.

◆ numPoints() [1/2]

UInt numPoints ( ) const
inline

Returns number of points in the mesh.

Interrogation to the counter of points in the mesh.

Returns
Number of points in the mesh.

Definition at line 3289 of file RegionMesh.hpp.

◆ numPoints() [2/2]

UInt & numPoints ( )
inline

Returns a reference to number of points in the mesh.

Returns a reference to the internal counter of the number of points in the mesh.

Returns
Reference to the internal counter of number of points in the mesh.

Definition at line 3296 of file RegionMesh.hpp.

◆ storedPoints()

UInt storedPoints ( ) const
inline

Returns number of points in the mesh actually stored.

Returns number of points in the mesh actually stored interrogating the internal counter.

Returns
Number of stored points in the mesh.

Definition at line 3303 of file RegionMesh.hpp.

◆ storedBPoints()

UInt storedBPoints ( ) const
inline

Returns number of boundary points in the mesh actually stored.

Returns number of boundary points in the mesh actually stored interrogating the internal counter.

Returns
Number of stored boundary points in the mesh.

Definition at line 3310 of file RegionMesh.hpp.

◆ maxNumPoints()

UInt maxNumPoints ( ) const
inline

Returns the number of storable points in the mesh.

Returns the number of storable points in the mesh interrogating the internal counter.

Returns
The number of storable points.

Definition at line 3317 of file RegionMesh.hpp.

◆ setMaxNumPoints()

void setMaxNumPoints ( UInt const  n,
bool const  setcounter = false 
)
inline

Set the number of storable points in the mesh.

Set the internal counter of storable points in the mesh.

Parameters
nMaximum number of storable points in the mesh.
setcounterIf true, it sets the internal counter, otherwise not (default).

Definition at line 3324 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ setMaxNumGlobalPoints()

void setMaxNumGlobalPoints ( UInt const  n)
inline

Set the number of storable global points in the mesh.

Set the internal counter of storable global points in the mesh.

Parameters
nMaximum number of storable global points in the mesh.

Definition at line 3356 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ addPoint() [1/2]

RegionMesh< GeoShapeType, MCType >::point_Type & addPoint ( bool const  boundary,
bool const  vertices 
)
inline

Adds a Point in the mesh.

Adds a Point inside the mesh, eventually specifing if it's a boundary point or a vertex.

Parameters
boundaryIf true, it's a boundary point, otherwise not (default).
verticesIf true, it's a vertex, otherwise not (default).
Returns
Reference to the newly added Point.

Definition at line 3364 of file RegionMesh.hpp.

◆ addPoint() [2/2]

RegionMesh< GeoShapeType, MCType >::point_Type & addPoint ( point_Type const &  p)
inline

Adds a Point in the mesh.

Adds a Point inside the mesh. Point will be add at the end of the list and the Id is computed automatically

Parameters
pPoint to be added.
Returns
Reference to the newly added Point.

Definition at line 3378 of file RegionMesh.hpp.

◆ firstPoint()

point_Type const& firstPoint ( ) const
inline

Returns the first mesh Point.

Returns the first Point in the mesh.

Returns
const reference to the first mesh Point.

Definition at line 1393 of file RegionMesh.hpp.

◆ lastPoint()

point_Type const& lastPoint ( ) const
inline

Returns the last mesh Point.

Returns the last Point in the mesh.

Returns
const reference to the last mesh Point.

Definition at line 1404 of file RegionMesh.hpp.

◆ point() [1/2]

RegionMesh< GeoShapeType, MCType >::point_Type const & point ( UInt const  i) const
inline

Returns the i-th mesh Point.

Returns the i-th Point in the mesh.

Parameters
iId of the Point.
Returns
i-th mesh Point.

Definition at line 3400 of file RegionMesh.hpp.

◆ point() [2/2]

RegionMesh< GeoShapeType, MCType >::point_Type & point ( UInt const  i)
inline

Returns a reference to the i-th mesh point.

Returns the i-th point in the mesh. UInt const i

Parameters
iId of the point.
Returns
Reference i-th mesh point.

Definition at line 3410 of file RegionMesh.hpp.

◆ boundaryPoint() [1/2]

RegionMesh< GeoShapeType, MCType >::point_Type const & boundaryPoint ( UInt const  i) const
inline

Returns a reference to the i-th mesh Boundary Point.

Returns the i-th Boundary Point in the mesh.

Parameters
iId of the Boundary Point.
Returns
Reference i-th mesh Boundary Point.

Definition at line 3420 of file RegionMesh.hpp.

◆ boundaryPoint() [2/2]

RegionMesh< GeoShapeType, MCType >::point_Type & boundaryPoint ( UInt const  i)
inline

Returns a reference to the i-th mesh Boundary Point.

Returns the i-th Boundary Point in the mesh.

Parameters
iId of the Boundary Point.
Returns
Reference i-th mesh Boundary Point.

Definition at line 3430 of file RegionMesh.hpp.

◆ numBPoints()

UInt numBPoints ( ) const
inline

Returns the number of Boundary Points.

Returns the counter of the number of Boundary Points.

Returns
Number Boundary Points.

Definition at line 3439 of file RegionMesh.hpp.

◆ setNumBPoints()

void setNumBPoints ( UInt const  n)
inline

Sets the number of Boundary Points.

Sets the counter of the number of Boundary Points.

Parameters
nNumber Boundary Points.

Definition at line 3446 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ isBoundaryPoint() [1/2]

bool isBoundaryPoint ( point_Type const &  p) const
inline

Is this point on boundary?

Is this point on boundary?

Parameters
pThe Point.
Returns
true if the point is on the boundary, false otherwise.

Definition at line 3892 of file RegionMesh.hpp.

◆ isBoundaryPoint() [2/2]

bool isBoundaryPoint ( UInt const &  id) const
inline

Is this point on boundary?

Is this point, of given id, on boundary?

Parameters
idId of the point.
Returns
true if the point is on the boundary, false otherwise.

Definition at line 3884 of file RegionMesh.hpp.

◆ getListOfPoints()

void getListOfPoints ( bool(*)(Real, Real, Real fct,
std::vector< UInt > &  list_pts 
)
inline

List of points.

Parameters
fctFunction of three Real arguments.
list_ptsList of Points.
Todo:
Move away, this can be done using the utility of the list of pts

Definition at line 4394 of file RegionMesh.hpp.

◆ numVertices()

UInt numVertices ( ) const
inline

Number of Vertices in Region.

Returns the number of Vertices in Region.

Returns
Number of Vertices in Region.

Definition at line 3454 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ numBVertices() [1/2]

UInt numBVertices ( ) const
inline

Number of Boundary Vertices in Region.

Returns the number of Boundary Vertices in Region.

Returns
Number of Vertices in Region.

Definition at line 3469 of file RegionMesh.hpp.

◆ numBVertices() [2/2]

UInt & numBVertices ( )
inline

Reference to the number of Boundary Vertices in Region.

Returns a reference to the number of Boundary Vertices in Region.

Returns
Reference to the number of Vertices in Region.

Definition at line 3476 of file RegionMesh.hpp.

◆ numLocalVertices()

UInt numLocalVertices ( ) const
inline

Number of local vertices for each (3D) element.

Returns
Number of local vertices for each (3D) element.

Definition at line 2891 of file RegionMesh.hpp.

◆ numGlobalVertices()

UInt numGlobalVertices ( ) const
inline

Returns the global number of vertices in the mesh.

Interrogation to the counter of vertices in the mesh.

Returns
Number of vertices in the mesh.

Definition at line 3461 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ numGlobalPoints()

UInt numGlobalPoints ( ) const
inline

Returns the global number of points in the mesh.

Interrogation to the counter of points in the mesh.

Returns
Number of points in the mesh.

Definition at line 1541 of file RegionMesh.hpp.

◆ isVertex() [1/2]

bool isVertex ( UInt const &  id) const
inline

Vertex check.

Is this Point a Vertex?

Parameters
idPoint's id.
Returns
true if the Point is a Vertex, false otherwise.

Definition at line 3875 of file RegionMesh.hpp.

◆ isVertex() [2/2]

bool isVertex ( point_Type const &  p) const
inline

Vertex check.

Is this Point a Vertex?

Parameters
pA Point.
Returns
true if the Point is a Vertex, false otherwise.

Definition at line 3867 of file RegionMesh.hpp.

◆ setNumVertices()

void setNumVertices ( UInt const  n)
inline

Changes number of Vertices.

Allows to change number of vertices in Region.

Parameters
nNumber of vertices in the mesh.

Definition at line 3335 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ setNumGlobalVertices()

void setNumGlobalVertices ( UInt const  n)
inline

Set the number of vertices in the mesh.

Set the internal counter of vertices points in the mesh.

Parameters
nNumber of vertices in the mesh.

Definition at line 3342 of file RegionMesh.hpp.

◆ setNumBVertices()

void setNumBVertices ( UInt const  n)
inline

Changes number of Boundary Vertices.

Allows to change number of boundary vertices in Region.

Parameters
nNumber of boundary vertices in the mesh.

Definition at line 3349 of file RegionMesh.hpp.

+ Here is the caller graph for this function:

◆ numElements() [1/4]

UInt numElements ( ) const
inline

Number of elements in mesh.

Returns
Number of elements in mesh.
See also
numFaces
Note
Alias to numFaces()

Definition at line 1609 of file RegionMesh.hpp.

◆ numBoundaryFacets() [1/4]

UInt numBoundaryFacets ( ) const
inline

Number of Boundary facets.

Returns
Number of Boundary facets.

Definition at line 1618 of file RegionMesh.hpp.

◆ element() [1/8]

element_Type& element ( const UInt i)
inline

Get element at the i-th index.

Parameters
iIndex of the element
Returns
Element at index i

Definition at line 1628 of file RegionMesh.hpp.

◆ element() [2/8]

const element_Type& element ( const UInt i) const
inline

Get element at the i-th index.

Parameters
iIndex of the element
Returns
Element at index i

Definition at line 1638 of file RegionMesh.hpp.

◆ boundaryFacet() [1/8]

facet_Type& boundaryFacet ( const UInt i)
inline

Get boundary facet at the i-th index.

Parameters
iIndex of the element
Returns
Boundary facet at index i

Definition at line 1648 of file RegionMesh.hpp.

◆ boundaryFacet() [2/8]

const facet_Type& boundaryFacet ( const UInt i) const
inline

Get boundary facet at the i-th index.

Parameters
iIndex of the element
Returns
Boundary facet at index i

Definition at line 1658 of file RegionMesh.hpp.

◆ numGlobalElements() [1/4]

UInt numGlobalElements ( ) const
inline

Number of global elements.

Returns
Number of global Elements (Volumes).

Definition at line 1667 of file RegionMesh.hpp.

◆ maxNumElements() [1/4]

UInt maxNumElements ( ) const
inline

Current capacity of the container of Elements.

Returns
how many elements may be stored.

Definition at line 1676 of file RegionMesh.hpp.

◆ setNumElements() [1/4]

void setNumElements ( UInt const  n)
inline

Set counter of elements.

Parameters
nNumber of elements.

Definition at line 1685 of file RegionMesh.hpp.

◆ setMaxNumElements() [1/4]

void setMaxNumElements ( UInt const  n,
bool const  setcounter = false 
)
inline

Changes Current capacity of the container of elements.

Changes Current capacity of the container of elements (Optionally sets internal counter).

Parameters
nMaximum number of elements.
setcountertrue to set the counter, false otherwise (default).

Definition at line 1698 of file RegionMesh.hpp.

◆ setMaxNumGlobalElements() [1/4]

void setMaxNumGlobalElements ( UInt const  n)
inline

Set the number of global elements.

Set the number of global elements.

Parameters
nmaximum number of global elements.

Definition at line 1709 of file RegionMesh.hpp.

◆ addElement() [1/4]

element_Type& addElement ( )
inline

Adds element.

Adds element. Id computed automatically.

Returns
Reference to added element.

Definition at line 1719 of file RegionMesh.hpp.

◆ setElement() [1/3]

element_Type& setElement ( volume_Type const &  elem,
UInt const  pos 
)
inline

Adds element in a certain position (specialization for 3D geometry).

Adds element to a specified position.

Parameters
elementelement to be added.
posPosition of the element.
Returns
Reference to the newly added element.

Definition at line 1731 of file RegionMesh.hpp.

◆ setElement() [2/3]

element_Type& setElement ( face_Type const &  elem,
UInt const  pos 
)
inline

Adds element in a certain position (specialization for 2D geometry).

Adds element to a specified position.

Parameters
elementelement to be added.
posPosition of the element.
Returns
Reference to the newly added element.

Definition at line 1743 of file RegionMesh.hpp.

◆ setElement() [3/3]

element_Type& setElement ( edge_Type const &  elem,
UInt const  pos 
)
inline

Adds element in a certain position (specialization for 1D geometry).

Adds element to a specified position.

Parameters
elementelement to be added.
posPosition of the element.
Returns
Reference to the newly added element.

Definition at line 1755 of file RegionMesh.hpp.

◆ numGlobalFacets() [1/4]

UInt numGlobalFacets ( ) const
inline

Returns Global Number of Facets.

Returns global number of Facets in the mesh as given by the internal counter.

Returns
Global Number of Facets.

Definition at line 1767 of file RegionMesh.hpp.

◆ setMaxNumFacets() [1/4]

void setMaxNumFacets ( UInt const  n,
bool const  setcounter = false 
)
inline

Changes Current capacity of Facets.

Changes Current capacity of Facets (Optionally sets internal counter).

Parameters
nMaximum number of facets.
setcountertrue to set the counter, false otherwise.

Definition at line 1779 of file RegionMesh.hpp.

◆ addFacet() [1/7]

facet_Type& addFacet ( bool const  boundary)
inline

Adds a facet.

Adds a facet (optionally a boundary facet). Id computed automatically.

Parameters
boundarytrue if it's a boundary facet.
Returns
Reference to added facet.

Definition at line 1790 of file RegionMesh.hpp.

◆ addFacet() [2/7]

facet_Type& addFacet ( face_Type const &  facet)
inline

Adds a facet. 3D specialization.

Adds a facet (optionally a boundary face). Id computed automatically. It assumes that all attributes of facet f have been properly set

Parameters
fFacet to be added.
Returns
Reference to the newly added facet.

Definition at line 1803 of file RegionMesh.hpp.

◆ addFacet() [3/7]

facet_Type& addFacet ( edge_Type const &  facet)
inline

Adds a facet. 2D specialization.

Adds a facet (optionally a boundary face). Id computed automatically. It assumes that all attributes of facet f have been properly set

Parameters
fFacet to be added.
Returns
Reference to the newly added facet.

Definition at line 1815 of file RegionMesh.hpp.

◆ addFacet() [4/7]

facet_Type& addFacet ( point_Type const &  facet)
inline

Adds a facet. 1D specialization.

Adds a facet (optionally a boundary face). Id computed automatically. It assumes that all attributes of facet f have been properly set

Parameters
fFacet to be added.
Returns
Reference to the newly added facet.

Definition at line 1827 of file RegionMesh.hpp.

◆ facet() [1/8]

facet_Type const& facet ( UInt const  i) const
inline

i-th mesh Facet.

Parameters
iindex of the mesh facet.
Returns
the i-th facet.

Definition at line 1837 of file RegionMesh.hpp.

◆ facet() [2/8]

facet_Type& facet ( UInt const  i)
inline

i-th mesh facet.

Parameters
iindex of the mesh facet.
Returns
reference to the ith mesh facet.

Definition at line 1848 of file RegionMesh.hpp.

◆ setNumFacets() [1/4]

void setNumFacets ( UInt const  n)
inline

Set counter of facets.

Parameters
nNumber of facets.

Definition at line 1857 of file RegionMesh.hpp.

◆ setNumBoundaryFacets() [1/4]

void setNumBoundaryFacets ( UInt const  n)
inline

Set counter of boundary facets.

Parameters
nNumber of boundary facets.

Definition at line 1866 of file RegionMesh.hpp.

◆ isBoundaryFacet() [1/4]

bool isBoundaryFacet ( UInt const &  id) const
inline

Is facet whose id is given on boundary?

Parameters
idFacet Id.
Returns
true if f in on boundary.

Definition at line 1876 of file RegionMesh.hpp.

◆ numRidges() [1/4]

UInt numRidges ( ) const
inline

Number of Ridges.

Returns number of Ridges in the mesh as given by the internal counter.

Returns
Number of Ridges.

Definition at line 1888 of file RegionMesh.hpp.

◆ numGlobalRidges() [1/4]

UInt numGlobalRidges ( ) const
inline

Global number of Ridges.

Returns global number of Ridges in the mesh as given by the internal counter.

Returns
Global number of Ridges.

Definition at line 1900 of file RegionMesh.hpp.

◆ setMaxNumRidges() [1/4]

void setMaxNumRidges ( UInt const  n,
bool const  setcounter = false 
)
inline

Changes Current capacity of Ridges.

Optionally sets internal counter.

Parameters
nMaximum number of ridges.
setcountertrue to set the counter, false otherwise.

Definition at line 1912 of file RegionMesh.hpp.

◆ setMaxNumGlobalRidges() [1/4]

void setMaxNumGlobalRidges ( UInt const  n)
inline

Changes Current capacity of Global Ridges.

Optionally sets internal counter.

Parameters
nMaximum number of global ridges.

Definition at line 1923 of file RegionMesh.hpp.

◆ setNumRidges() [1/2]

void setNumRidges ( UInt const  n)
inline

Set counter of facets.

Parameters
nNumber of facets.

Definition at line 1932 of file RegionMesh.hpp.

◆ addRidge() [1/6]

ridge_Type& addRidge ( bool const  boundary)
inline

Adds a Ridge.

Adds a ridge. Id computed automatically.

Parameters
boundarytrue if is on boundary.
Returns
Reference to added ridge.

Definition at line 1944 of file RegionMesh.hpp.

◆ addRidge() [2/6]

ridge_Type& addRidge ( edge_Type const &  r)
inline

Adds a Ridge. Specialization for 3D geometries.

Adds a ridge to the end of the list and adjourn its Id. The ridge attributes (a part the id) should be correctly set.

Parameters
eridge to add.
Returns
Reference to added ridge.

Definition at line 1958 of file RegionMesh.hpp.

◆ addRidge() [3/6]

ridge_Type& addRidge ( point_Type const &  r)
inline

Adds a Ridge. Specialization for 2D geometries.

Adds a ridge to the end of the list and adjourn its Id. The ridge attributes (a part the id) should be correctly set.

Parameters
eridge to add.
Returns
Reference to added ridge.

Definition at line 1972 of file RegionMesh.hpp.

◆ ridge() [1/8]

ridge_Type const& ridge ( UInt const  i) const
inline

i-th mesh ridge.

Returns the i-th ridge.

Parameters
iIndex of the mesh ridge.
Returns
The i-th ridge.

Definition at line 1984 of file RegionMesh.hpp.

◆ ridge() [2/8]

ridge_Type& ridge ( UInt const  i)
inline

i-th mesh ridge reference.

Returns a reference to the i-th mesh ridge.

Parameters
iIndex of the mesh ridge.
Returns
Reference to the i-th ridge.

Definition at line 1996 of file RegionMesh.hpp.

◆ setNumBoundaryRidges() [1/4]

void setNumBoundaryRidges ( UInt const  n)
inline

Set boundary ridge counter.

Set the Boundary ridges counter to a given number.

Parameters
nCount of Boundary Ridge.

Definition at line 2007 of file RegionMesh.hpp.

◆ isBoundaryRidge() [1/6]

bool isBoundaryRidge ( edge_Type const &  r) const
inline

Ridge on boundary check. Specialization for 3D geometries.

Is this ridge on boundary?

Parameters
eThe ridge.
Returns
true if thee ridge is on the boundary, false otherwise.

Definition at line 2019 of file RegionMesh.hpp.

◆ isBoundaryRidge() [2/6]

bool isBoundaryRidge ( point_Type const &  r) const
inline

Ridge on boundary check. Specialization for 2D geometries.

Is this ridge on boundary?

Parameters
eThe ridge.
Returns
true if thee ridge is on the boundary, false otherwise.

Definition at line 2031 of file RegionMesh.hpp.

◆ isBoundaryRidge() [3/6]

bool isBoundaryRidge ( UInt const &  id) const
inline

Ridge on boundary check by id.

Is this ridge, of given id, on boundary?

Parameters
idId of the ridge.
Returns
true if the ridge is on the boundary, false otherwise.

Definition at line 2043 of file RegionMesh.hpp.

◆ peak() [1/7]

peak_Type const& peak ( UInt const  i) const
inline

Returns the i-th mesh Peak.

Returns the i-th peak in the mesh.

Parameters
iId of the peak.
Returns
i-th mesh peak.

Definition at line 2055 of file RegionMesh.hpp.

◆ numGlobalPeaks() [1/4]

UInt numGlobalPeaks ( ) const
inline

Returns a reference to the i-th mesh peak.

Returns the i-th peak in the mesh. UInt const i

Parameters
iId of the peak.
Returns
Reference i-th mesh peak.Returns the global number of peaks in the mesh. Interrogation to the counter of peaks in the mesh.
Number of peaks in the mesh.

Definition at line 2075 of file RegionMesh.hpp.

◆ elementList() [1/4]

elements_Type& elementList ( )
inline

returns a reference to the elements' container

Definition at line 2116 of file RegionMesh.hpp.

◆ facetList() [1/4]

facets_Type& facetList ( )
inline

returns a reference to the facets' container

Definition at line 2122 of file RegionMesh.hpp.

◆ ridgeList() [1/4]

ridges_Type& ridgeList ( )
inline

returns a reference to the ridges' container

Definition at line 2128 of file RegionMesh.hpp.

◆ hasLocalEdges() [2/3]

bool hasLocalEdges ( ridge_Type  ) const
inline

Is the array for local Edges set up? Specialization for 3D geometries.

Definition at line 2148 of file RegionMesh.hpp.

◆ hasLocalEdges() [3/3]

bool hasLocalEdges ( facet_Type  ) const
inline

Is the array for local Edges set up? Specialization for 2D geometries.

Definition at line 2154 of file RegionMesh.hpp.

◆ numElements() [2/4]

UInt numElements ( threeD_Type  ) const
inlineprivate

Definition at line 2204 of file RegionMesh.hpp.

◆ numElements() [3/4]

UInt numElements ( twoD_Type  ) const
inlineprivate

Definition at line 2208 of file RegionMesh.hpp.

◆ numElements() [4/4]

UInt numElements ( oneD_Type  ) const
inlineprivate

Definition at line 2212 of file RegionMesh.hpp.

◆ numBoundaryFacets() [2/4]

UInt numBoundaryFacets ( threeD_Type  ) const
inlineprivate

Number of Boundary facets.

Definition at line 2218 of file RegionMesh.hpp.

◆ numBoundaryFacets() [3/4]

UInt numBoundaryFacets ( twoD_Type  ) const
inlineprivate

Definition at line 2222 of file RegionMesh.hpp.

◆ numBoundaryFacets() [4/4]

UInt numBoundaryFacets ( oneD_Type  ) const
inlineprivate

Definition at line 2226 of file RegionMesh.hpp.

◆ element() [3/8]

element_Type& element ( threeD_Type  ,
const UInt i 
)
inlineprivate

Get element at the i-th index.

Definition at line 2232 of file RegionMesh.hpp.

◆ element() [4/8]

element_Type& element ( twoD_Type  ,
const UInt i 
)
inlineprivate

Definition at line 2236 of file RegionMesh.hpp.

◆ element() [5/8]

element_Type& element ( oneD_Type  ,
const UInt i 
)
inlineprivate

Definition at line 2240 of file RegionMesh.hpp.

◆ element() [6/8]

const element_Type& element ( threeD_Type  ,
const UInt i 
) const
inlineprivate

Get element at the i-th index.

Definition at line 2246 of file RegionMesh.hpp.

◆ element() [7/8]

const element_Type& element ( twoD_Type  ,
const UInt i 
) const
inlineprivate

Definition at line 2250 of file RegionMesh.hpp.

◆ element() [8/8]

const element_Type& element ( oneD_Type  ,
const UInt i 
) const
inlineprivate

Definition at line 2254 of file RegionMesh.hpp.

◆ boundaryFacet() [3/8]

facet_Type& boundaryFacet ( threeD_Type  ,
const UInt i 
)
inlineprivate

Get boundary facet at the i-th index.

Definition at line 2260 of file RegionMesh.hpp.

◆ boundaryFacet() [4/8]

facet_Type& boundaryFacet ( twoD_Type  ,
const UInt i 
)
inlineprivate

Definition at line 2264 of file RegionMesh.hpp.

◆ boundaryFacet() [5/8]

RegionMesh< GeoShapeType, MCType >::facet_Type & boundaryFacet ( oneD_Type  ,
const UInt i 
)
inlineprivate

Definition at line 3953 of file RegionMesh.hpp.

◆ boundaryFacet() [6/8]

const facet_Type& boundaryFacet ( threeD_Type  ,
const UInt i 
) const
inlineprivate

Get boundary facet at the i-th index.

Definition at line 2271 of file RegionMesh.hpp.

◆ boundaryFacet() [7/8]

const facet_Type& boundaryFacet ( twoD_Type  ,
const UInt i 
) const
inlineprivate

Definition at line 2275 of file RegionMesh.hpp.

◆ boundaryFacet() [8/8]

const facet_Type& boundaryFacet ( oneD_Type  ,
const UInt i 
) const
inlineprivate

Definition at line 2279 of file RegionMesh.hpp.

◆ numGlobalElements() [2/4]

UInt numGlobalElements ( threeD_Type  ) const
inlineprivate

Number of global elements.

Definition at line 2285 of file RegionMesh.hpp.

◆ numGlobalElements() [3/4]

UInt numGlobalElements ( twoD_Type  ) const
inlineprivate

Definition at line 2289 of file RegionMesh.hpp.

◆ numGlobalElements() [4/4]

UInt numGlobalElements ( oneD_Type  ) const
inlineprivate

Definition at line 2293 of file RegionMesh.hpp.

◆ maxNumElements() [2/4]

UInt maxNumElements ( threeD_Type  ) const
inlineprivate

Current capacity of the container of Elements.

Definition at line 2299 of file RegionMesh.hpp.

◆ maxNumElements() [3/4]

UInt maxNumElements ( twoD_Type  ) const
inlineprivate

Definition at line 2303 of file RegionMesh.hpp.

◆ maxNumElements() [4/4]

UInt maxNumElements ( oneD_Type  ) const
inlineprivate

Definition at line 2307 of file RegionMesh.hpp.

◆ setNumElements() [2/4]

void setNumElements ( threeD_Type  ,
UInt const  n 
)
inlineprivate

Set counter of elements.

Definition at line 2313 of file RegionMesh.hpp.

◆ setNumElements() [3/4]

void setNumElements ( twoD_Type  ,
UInt const  n 
)
inlineprivate

Definition at line 2317 of file RegionMesh.hpp.

◆ setNumElements() [4/4]

void setNumElements ( oneD_Type  ,
UInt const  n 
)
inlineprivate

Definition at line 2321 of file RegionMesh.hpp.

◆ setMaxNumElements() [2/4]

void setMaxNumElements ( threeD_Type  ,
UInt const  n,
bool const  setcounter = false 
)
inlineprivate

Changes Current capacity of the container of elements.

Definition at line 2327 of file RegionMesh.hpp.

◆ setMaxNumElements() [3/4]

void setMaxNumElements ( twoD_Type  ,
UInt const  n,
bool const  setcounter = false 
)
inlineprivate

Definition at line 2331 of file RegionMesh.hpp.

◆ setMaxNumElements() [4/4]

void setMaxNumElements ( oneD_Type  ,
UInt const  n,
bool const  setcounter = false 
)
inlineprivate

Definition at line 2335 of file RegionMesh.hpp.

◆ setMaxNumGlobalElements() [2/4]

void setMaxNumGlobalElements ( threeD_Type  ,
UInt const  n 
)
inlineprivate

Set the number of global elements.

Definition at line 2341 of file RegionMesh.hpp.

◆ setMaxNumGlobalElements() [3/4]

void setMaxNumGlobalElements ( twoD_Type  ,
UInt const  n 
)
inlineprivate

Definition at line 2345 of file RegionMesh.hpp.

◆ setMaxNumGlobalElements() [4/4]

void setMaxNumGlobalElements ( oneD_Type  ,
UInt const  n 
)
inlineprivate

Definition at line 2349 of file RegionMesh.hpp.

◆ addElement() [2/4]

element_Type& addElement ( volume_Type const &  elem)
inlineprivate

Adds element.

Definition at line 2355 of file RegionMesh.hpp.

◆ addElement() [3/4]

element_Type& addElement ( face_Type const &  elem)
inlineprivate

Definition at line 2359 of file RegionMesh.hpp.

◆ addElement() [4/4]

element_Type& addElement ( edge_Type const &  elem)
inlineprivate

Definition at line 2363 of file RegionMesh.hpp.

◆ hasLocalFaces() [2/3]

bool hasLocalFaces ( facet_Type  ) const
inlineprivate

Is the array for local faces set up?

Definition at line 2369 of file RegionMesh.hpp.

◆ hasLocalFaces() [3/3]

bool hasLocalFaces ( ridge_Type  ) const
inlineprivate

Definition at line 2373 of file RegionMesh.hpp.

◆ updateElementEdges() [2/3]

void updateElementEdges ( ridge_Type  ,
bool  createEdges = false,
const bool  verbose = false,
UInt  estimateEdgeNumber = 0,
bool  renumber = true 
)
inlineprivate

Build localEdgeId table and optionally fills the list of Edges.

Definition at line 2379 of file RegionMesh.hpp.

◆ updateElementEdges() [3/3]

void updateElementEdges ( facet_Type  ,
bool  createEdges = false,
const bool  verbose = false,
UInt  estimateEdgeNumber = 0,
bool  = true 
)
inlineprivate

Build localEdgeId table and optionally fills the list of Edges.

Definition at line 2386 of file RegionMesh.hpp.

◆ updateElementRidges() [2/4]

void updateElementRidges ( threeD_Type  ,
bool  createRidges = false,
const bool  verbose = false,
UInt  estimateRidgeNumber = 0,
bool  renumber = true 
)
private

Build localRidgeId table and optionally fills the list of Ridges.

Definition at line 3966 of file RegionMesh.hpp.

◆ updateElementRidges() [3/4]

void updateElementRidges ( twoD_Type  ,
bool  ,
const bool  ,
UInt  ,
bool   
)
inlineprivate

Definition at line 2395 of file RegionMesh.hpp.

◆ updateElementRidges() [4/4]

void updateElementRidges ( oneD_Type  ,
bool  ,
const bool  ,
UInt  ,
bool   
)
inlineprivate

Definition at line 2399 of file RegionMesh.hpp.

◆ cleanElementEdges() [2/3]

void cleanElementEdges ( ridge_Type  )
inlineprivate

specializations for cleanElementEdges

Definition at line 2405 of file RegionMesh.hpp.

◆ cleanElementEdges() [3/3]

void cleanElementEdges ( facet_Type  )
inlineprivate

Definition at line 2409 of file RegionMesh.hpp.

◆ localRidgeId() [3/5]

UInt localRidgeId ( threeD_Type  ,
UInt const  elemId,
UInt const  locR 
) const
inlineprivate

Local Ridge.

Definition at line 3927 of file RegionMesh.hpp.

◆ localRidgeId() [4/5]

ID localRidgeId ( twoD_Type  ,
UInt const  elemId,
UInt const  locR 
) const
inlineprivate

Definition at line 2416 of file RegionMesh.hpp.

◆ localRidgeId() [5/5]

ID localRidgeId ( oneD_Type  ,
UInt  const,
UInt  const 
) const
inlineprivate

Definition at line 2420 of file RegionMesh.hpp.

◆ localEdgeId() [4/6]

ID localEdgeId ( const threeD_Type  ,
UInt const  elemId,
UInt const  locE 
) const
inlineprivate

Local Edge (specialization for 3D geometries).

Definition at line 2427 of file RegionMesh.hpp.

◆ localEdgeId() [5/6]

ID localEdgeId ( const twoD_Type  ,
UInt const  elemId,
UInt const  locE 
) const
inlineprivate

Local Edge (specialization for 2D geometries).

Definition at line 2433 of file RegionMesh.hpp.

◆ localEdgeId() [6/6]

ID localEdgeId ( const oneD_Type  ,
UInt  const,
UInt  const 
) const
inlineprivate

Local Edge (specialization for 1D geometries). It calls an error.

Definition at line 2439 of file RegionMesh.hpp.

◆ numFacets() [2/4]

UInt numFacets ( threeD_Type  ) const
inlineprivate

specializations for numFacets

Definition at line 2446 of file RegionMesh.hpp.

◆ numFacets() [3/4]

UInt numFacets ( twoD_Type  ) const
inlineprivate

Definition at line 2450 of file RegionMesh.hpp.

◆ numFacets() [4/4]

UInt numFacets ( oneD_Type  ) const
inlineprivate

Definition at line 2454 of file RegionMesh.hpp.

◆ numGlobalFacets() [2/4]

UInt numGlobalFacets ( threeD_Type  ) const
inlineprivate

specializations numGlobalFacets

Definition at line 2460 of file RegionMesh.hpp.

◆ numGlobalFacets() [3/4]

UInt numGlobalFacets ( twoD_Type  ) const
inlineprivate

Definition at line 2464 of file RegionMesh.hpp.

◆ numGlobalFacets() [4/4]

UInt numGlobalFacets ( oneD_Type  ) const
inlineprivate

Definition at line 2468 of file RegionMesh.hpp.

◆ setMaxNumFacets() [2/4]

void setMaxNumFacets ( threeD_Type  ,
UInt const  n,
bool const  setcounter = false 
)
inlineprivate

Changes Current capacity of Facets.

Definition at line 2474 of file RegionMesh.hpp.

◆ setMaxNumFacets() [3/4]

void setMaxNumFacets ( twoD_Type  ,
UInt const  n,
bool const  setcounter = false 
)
inlineprivate

Definition at line 2478 of file RegionMesh.hpp.

◆ setMaxNumFacets() [4/4]

void setMaxNumFacets ( oneD_Type  ,
UInt const  n,
bool const  setcounter = false 
)
inlineprivate

Definition at line 2482 of file RegionMesh.hpp.

◆ setMaxNumGlobalFacets() [2/4]

void setMaxNumGlobalFacets ( threeD_Type  ,
UInt const  n 
)
inlineprivate

Changes Current capacity of Global Facets.

Definition at line 2488 of file RegionMesh.hpp.

◆ setMaxNumGlobalFacets() [3/4]

void setMaxNumGlobalFacets ( twoD_Type  ,
UInt const  n 
)
inlineprivate

Definition at line 2492 of file RegionMesh.hpp.

◆ setMaxNumGlobalFacets() [4/4]

void setMaxNumGlobalFacets ( oneD_Type  ,
UInt const  n 
)
inlineprivate

Definition at line 2496 of file RegionMesh.hpp.

◆ addFacet() [5/7]

facet_Type& addFacet ( threeD_Type  ,
bool const  boundary 
)
inlineprivate

Adds a facet.

Definition at line 2502 of file RegionMesh.hpp.

◆ addFacet() [6/7]

facet_Type& addFacet ( twoD_Type  ,
bool const  boundary 
)
inlineprivate

Definition at line 2506 of file RegionMesh.hpp.

◆ addFacet() [7/7]

facet_Type& addFacet ( oneD_Type  ,
bool const  boundary 
)
inlineprivate

Definition at line 2510 of file RegionMesh.hpp.

◆ facet() [3/8]

facet_Type const& facet ( threeD_Type  ,
UInt const  i 
) const
inlineprivate

i-th mesh Facet.

Definition at line 2516 of file RegionMesh.hpp.

◆ facet() [4/8]

facet_Type const& facet ( twoD_Type  ,
UInt const  i 
) const
inlineprivate

Definition at line 2520 of file RegionMesh.hpp.

◆ facet() [5/8]

facet_Type const& facet ( oneD_Type  ,
UInt const  i 
) const
inlineprivate

Definition at line 2524 of file RegionMesh.hpp.

◆ facet() [6/8]

facet_Type& facet ( threeD_Type  ,
UInt const  i 
)
inlineprivate

i-th mesh facet.

Definition at line 2530 of file RegionMesh.hpp.

◆ facet() [7/8]

facet_Type& facet ( twoD_Type  ,
UInt const  i 
)
inlineprivate

Definition at line 2534 of file RegionMesh.hpp.

◆ facet() [8/8]

facet_Type& facet ( oneD_Type  ,
UInt const  i 
)
inlineprivate

Definition at line 2538 of file RegionMesh.hpp.

◆ setNumFacets() [2/4]

void setNumFacets ( threeD_Type  ,
UInt const  n 
)
inlineprivate

Set counter of facets.

Definition at line 2544 of file RegionMesh.hpp.

◆ setNumFacets() [3/4]

void setNumFacets ( twoD_Type  ,
UInt const  n 
)
inlineprivate

Definition at line 2548 of file RegionMesh.hpp.

◆ setNumFacets() [4/4]

void setNumFacets ( oneD_Type  ,
UInt const  n 
)
inlineprivate

Definition at line 2552 of file RegionMesh.hpp.

◆ setNumBoundaryFacets() [2/4]

void setNumBoundaryFacets ( threeD_Type  ,
UInt const  n 
)
inlineprivate

Set counter of boundary facets.

Definition at line 2558 of file RegionMesh.hpp.

◆ setNumBoundaryFacets() [3/4]

void setNumBoundaryFacets ( twoD_Type  ,
UInt const  n 
)
inlineprivate

Definition at line 2562 of file RegionMesh.hpp.

◆ setNumBoundaryFacets() [4/4]

void setNumBoundaryFacets ( oneD_Type  ,
UInt const  n 
)
inlineprivate

Definition at line 2566 of file RegionMesh.hpp.

◆ isBoundaryFacet() [2/4]

bool isBoundaryFacet ( threeD_Type  ,
UInt const &  id 
) const
inlineprivate

Is facet whose id is given on boundary?

Definition at line 2572 of file RegionMesh.hpp.

◆ isBoundaryFacet() [3/4]

bool isBoundaryFacet ( twoD_Type  ,
UInt const &  id 
) const
inlineprivate

Definition at line 2576 of file RegionMesh.hpp.

◆ isBoundaryFacet() [4/4]

bool isBoundaryFacet ( oneD_Type  ,
UInt const &  id 
) const
inlineprivate

Definition at line 2580 of file RegionMesh.hpp.

◆ numRidges() [2/4]

UInt numRidges ( threeD_Type  ) const
inlineprivate

Number of Ridges.

Definition at line 2586 of file RegionMesh.hpp.

◆ numRidges() [3/4]

UInt numRidges ( twoD_Type  ) const
inlineprivate

Definition at line 2590 of file RegionMesh.hpp.

◆ numRidges() [4/4]

UInt numRidges ( oneD_Type  ) const
inlineprivate

Definition at line 2594 of file RegionMesh.hpp.

◆ numGlobalRidges() [2/4]

UInt numGlobalRidges ( threeD_Type  ) const
inlineprivate

Global number of Ridges.

Definition at line 2600 of file RegionMesh.hpp.

◆ numGlobalRidges() [3/4]

UInt numGlobalRidges ( twoD_Type  ) const
inlineprivate

Definition at line 2604 of file RegionMesh.hpp.

◆ numGlobalRidges() [4/4]

UInt numGlobalRidges ( oneD_Type  ) const
inlineprivate

Definition at line 2608 of file RegionMesh.hpp.

◆ setMaxNumRidges() [2/4]

void setMaxNumRidges ( threeD_Type  ,
UInt const  n,
bool const  setcounter 
)
inlineprivate

Changes Current capacity of Ridges.

Definition at line 2614 of file RegionMesh.hpp.

◆ setMaxNumRidges() [3/4]

void setMaxNumRidges ( twoD_Type  ,
UInt const  n,
bool const  setcounter 
)
inlineprivate

Definition at line 2618 of file RegionMesh.hpp.

◆ setMaxNumRidges() [4/4]

void setMaxNumRidges ( oneD_Type  ,
UInt  const,
bool  const 
)
inlineprivate

Definition at line 2622 of file RegionMesh.hpp.

◆ setMaxNumGlobalRidges() [2/4]

void setMaxNumGlobalRidges ( threeD_Type  ,
UInt const  n 
)
inlineprivate

Changes Current capacity of Global Ridges.

Definition at line 2628 of file RegionMesh.hpp.

◆ setMaxNumGlobalRidges() [3/4]

void setMaxNumGlobalRidges ( twoD_Type  ,
UInt const  n 
)
inlineprivate

Definition at line 2632 of file RegionMesh.hpp.

◆ setMaxNumGlobalRidges() [4/4]

void setMaxNumGlobalRidges ( oneD_Type  ,
UInt  const 
)
inlineprivate

Definition at line 2636 of file RegionMesh.hpp.

◆ addRidge() [4/6]

ridge_Type& addRidge ( threeD_Type  ,
bool const  boundary 
)
inlineprivate

Adds a Ridge.

Definition at line 2642 of file RegionMesh.hpp.

◆ addRidge() [5/6]

ridge_Type& addRidge ( twoD_Type  ,
bool const  boundary 
)
inlineprivate

Definition at line 2646 of file RegionMesh.hpp.

◆ addRidge() [6/6]

ridge_Type& addRidge ( oneD_Type  ,
bool  const 
)
inlineprivate

Definition at line 2650 of file RegionMesh.hpp.

◆ ridge() [3/8]

ridge_Type const& ridge ( threeD_Type  ,
UInt const  i 
) const
inlineprivate

i-th mesh ridge.

Definition at line 2657 of file RegionMesh.hpp.

◆ ridge() [4/8]

ridge_Type const& ridge ( twoD_Type  ,
UInt const  i 
) const
inlineprivate

Definition at line 2661 of file RegionMesh.hpp.

◆ ridge() [5/8]

ridge_Type const& ridge ( oneD_Type  ,
UInt  const 
) const
inlineprivate

Definition at line 2665 of file RegionMesh.hpp.

◆ ridge() [6/8]

ridge_Type& ridge ( threeD_Type  ,
UInt const  i 
)
inlineprivate

i-th mesh ridge reference.

Definition at line 2672 of file RegionMesh.hpp.

◆ ridge() [7/8]

ridge_Type& ridge ( twoD_Type  ,
UInt const  i 
)
inlineprivate

Definition at line 2676 of file RegionMesh.hpp.

◆ ridge() [8/8]

ridge_Type& ridge ( oneD_Type  ,
UInt  const 
)
inlineprivate

Definition at line 2680 of file RegionMesh.hpp.

◆ setNumRidges() [2/2]

void setNumRidges ( threeD_Type  ,
UInt const  n 
)
inlineprivate

Set counter of ridges.

Definition at line 2687 of file RegionMesh.hpp.

◆ setNumBoundaryRidges() [2/4]

void setNumBoundaryRidges ( threeD_Type  ,
UInt const  n 
)
inlineprivate

Set boundary ridge counter.

Definition at line 2693 of file RegionMesh.hpp.

◆ setNumBoundaryRidges() [3/4]

void setNumBoundaryRidges ( twoD_Type  ,
UInt const  n 
)
inlineprivate

Definition at line 2697 of file RegionMesh.hpp.

◆ setNumBoundaryRidges() [4/4]

void setNumBoundaryRidges ( oneD_Type  ,
UInt  const 
)
inlineprivate

Definition at line 2701 of file RegionMesh.hpp.

◆ isBoundaryRidge() [4/6]

bool isBoundaryRidge ( threeD_Type  ,
UInt const &  id 
) const
inlineprivate

Ridge on boundary check by id.

Definition at line 2707 of file RegionMesh.hpp.

◆ isBoundaryRidge() [5/6]

bool isBoundaryRidge ( twoD_Type  ,
UInt const &  id 
) const
inlineprivate

Definition at line 2711 of file RegionMesh.hpp.

◆ isBoundaryRidge() [6/6]

bool isBoundaryRidge ( oneD_Type  ,
UInt const &   
) const
inlineprivate

Definition at line 2715 of file RegionMesh.hpp.

◆ peak() [2/7]

peak_Type const& peak ( threeD_Type  ,
UInt const  i 
) const
inlineprivate

Returns the i-th mesh Peak.

Definition at line 2722 of file RegionMesh.hpp.

◆ peak() [3/7]

peak_Type const& peak ( twoD_Type  ,
UInt  const 
) const
inlineprivate

Definition at line 2726 of file RegionMesh.hpp.

◆ peak() [4/7]

peak_Type const& peak ( oneD_Type  ,
UInt  const 
) const
inlineprivate

Definition at line 2731 of file RegionMesh.hpp.

◆ peak() [5/7]

peak_Type& peak ( threeD_Type  ,
UInt const  i 
)
inlineprivate

Returns a reference to the i-th mesh peak.

Definition at line 2738 of file RegionMesh.hpp.

◆ peak() [6/7]

peak_Type& peak ( twoD_Type  ,
UInt  const 
)
inlineprivate

Definition at line 2742 of file RegionMesh.hpp.

◆ peak() [7/7]

peak_Type& peak ( oneD_Type  ,
UInt  const 
)
inlineprivate

Definition at line 2747 of file RegionMesh.hpp.

◆ numGlobalPeaks() [2/4]

UInt numGlobalPeaks ( threeD_Type  ) const
inlineprivate

Returns the global number of peaks in the mesh.

Definition at line 2754 of file RegionMesh.hpp.

◆ numGlobalPeaks() [3/4]

UInt numGlobalPeaks ( twoD_Type  ) const
inlineprivate

Definition at line 2758 of file RegionMesh.hpp.

◆ numGlobalPeaks() [4/4]

UInt numGlobalPeaks ( oneD_Type  ) const
inlineprivate

Definition at line 2762 of file RegionMesh.hpp.

◆ elementList() [2/4]

elements_Type& elementList ( threeD_Type  )
inlineprivate

returns a reference to the elements' container

Definition at line 2768 of file RegionMesh.hpp.

◆ elementList() [3/4]

elements_Type& elementList ( twoD_Type  )
inlineprivate

Definition at line 2772 of file RegionMesh.hpp.

◆ elementList() [4/4]

elements_Type& elementList ( oneD_Type  )
inlineprivate

Definition at line 2776 of file RegionMesh.hpp.

◆ facetList() [2/4]

facets_Type& facetList ( threeD_Type  )
inlineprivate

returns a reference to the facets' container

Definition at line 2782 of file RegionMesh.hpp.

◆ facetList() [3/4]

facets_Type& facetList ( twoD_Type  )
inlineprivate

Definition at line 2786 of file RegionMesh.hpp.

◆ facetList() [4/4]

facets_Type& facetList ( oneD_Type  )
inlineprivate

Definition at line 2790 of file RegionMesh.hpp.

◆ ridgeList() [2/4]

ridges_Type& ridgeList ( threeD_Type  )
inlineprivate

returns a reference to the ridges' container

Definition at line 2796 of file RegionMesh.hpp.

◆ ridgeList() [3/4]

ridges_Type& ridgeList ( twoD_Type  )
inlineprivate

Definition at line 2800 of file RegionMesh.hpp.

◆ ridgeList() [4/4]

ridges_Type& ridgeList ( oneD_Type  )
inlineprivate

Definition at line 2804 of file RegionMesh.hpp.

Field Documentation

◆ S_geoDimensions

const UInt S_geoDimensions = geoShape_Type::S_nDimensions
static

static const S_geoDimensions: the dimensions (1,2,3) of the geometry

Definition at line 99 of file RegionMesh.hpp.

◆ S_facetDimension

const Int S_facetDimension = static_cast<const Int>(S_geoDimensions)-1
static

Definition at line 100 of file RegionMesh.hpp.

◆ S_ridgeDimension

const Int S_ridgeDimension = static_cast<const Int>(S_geoDimensions)-2
static

Definition at line 101 of file RegionMesh.hpp.

◆ S_peakDimension

const Int S_peakDimension = static_cast<const Int>(S_geoDimensions)-3
static

Definition at line 102 of file RegionMesh.hpp.

◆ pointList

points_Type pointList

Container of mesh Points/Vertices.

Definition at line 2097 of file RegionMesh.hpp.

◆ faceList

faces_Type faceList

Container of mesh Faces.

Definition at line 2099 of file RegionMesh.hpp.

◆ edgeList

edges_Type edgeList

Container of mesh Edges.

Definition at line 2102 of file RegionMesh.hpp.

◆ volumeList

volumes_Type volumeList

Container of mesh 3D Elements.

Definition at line 2104 of file RegionMesh.hpp.

◆ _bPoints

std::vector<point_Type* > _bPoints

Boundary points list.

Definition at line 2106 of file RegionMesh.hpp.

◆ switches

Switch switches

Switches.

Definition at line 2143 of file RegionMesh.hpp.

◆ M_ElemToFacet

ArraySimple<UInt> M_ElemToFacet
private

Arrays containing the ids of Edges and Faces of each element I use a Define to use localto global array or directly the bareedges

Definition at line 2165 of file RegionMesh.hpp.

◆ M_ElemToRidge

ArraySimple<UInt> M_ElemToRidge
private

Definition at line 2166 of file RegionMesh.hpp.

◆ M_numVolumes

UInt M_numVolumes
private

Definition at line 2168 of file RegionMesh.hpp.

◆ M_numVertices

UInt M_numVertices
private

Definition at line 2170 of file RegionMesh.hpp.

◆ M_numBVertices

UInt M_numBVertices
private

Definition at line 2171 of file RegionMesh.hpp.

◆ M_numPoints

UInt M_numPoints
private

Definition at line 2173 of file RegionMesh.hpp.

◆ M_numBPoints

UInt M_numBPoints
private

Definition at line 2174 of file RegionMesh.hpp.

◆ M_numFaces

UInt M_numFaces
private

Definition at line 2176 of file RegionMesh.hpp.

◆ M_numBFaces

UInt M_numBFaces
private

Definition at line 2177 of file RegionMesh.hpp.

◆ M_numEdges

UInt M_numEdges
private

Definition at line 2179 of file RegionMesh.hpp.

◆ M_numBEdges

UInt M_numBEdges
private

Definition at line 2180 of file RegionMesh.hpp.

◆ M_numGlobalPoints

UInt M_numGlobalPoints
private

Definition at line 2182 of file RegionMesh.hpp.

◆ M_numGlobalVertices

UInt M_numGlobalVertices
private

Definition at line 2183 of file RegionMesh.hpp.

◆ M_numGlobalEdges

UInt M_numGlobalEdges
private

Definition at line 2184 of file RegionMesh.hpp.

◆ M_numGlobalFaces

UInt M_numGlobalFaces
private

Definition at line 2185 of file RegionMesh.hpp.

◆ M_numGlobalVolumes

UInt M_numGlobalVolumes
private

Definition at line 2186 of file RegionMesh.hpp.

◆ M_isPartitioned

bool M_isPartitioned
private

Definition at line 2188 of file RegionMesh.hpp.

◆ M_marker

markerCommon_Type::regionMarker_Type M_marker
private

Definition at line 2189 of file RegionMesh.hpp.

◆ M_meshTransformer

◆ M_comm

commPtr_Type M_comm
private

Definition at line 2193 of file RegionMesh.hpp.

◆ M_geoDim

geoDim_Type M_geoDim
private

Definition at line 2196 of file RegionMesh.hpp.

◆ M_aRidge

ridge_Type M_aRidge
private

Definition at line 2199 of file RegionMesh.hpp.

◆ M_aPeak

peak_Type M_aPeak
private

Definition at line 2202 of file RegionMesh.hpp.


The documentation for this class was generated from the following file: