LifeV
MeshElementMarked< 3, 3, GeoShape, MC > Class Template Reference

specialization for 3D entities (cells) in a 3D geometry. More...

#include <MeshElementMarked.hpp>

+ Inheritance diagram for MeshElementMarked< 3, 3, GeoShape, MC >:
+ Collaboration diagram for MeshElementMarked< 3, 3, GeoShape, MC >:

Public Types

typedef GeoShape geoShape_Type
 
typedef MC::volumeMarker_Type marker_Type
 
typedef GeoShape::GeoBShape faceShape_Type
 
typedef faceShape_Type::GeoBShape edgeShape_Type
 
typedef MeshElementMarked< 1, 3, GeoShape, MC > edge_Type
 
typedef MeshElementMarked< 2, 3, GeoShape, MC > face_Type
 
typedef MeshElementMarked< 0, 3, GeoShape, MC > point_Type
 
typedef face_Type geoBElement_Type
 
static const UInt S_numLocalVertices = MeshElement<GeoShape, MeshElementMarked<0, 3, GeoShape, MC> >::S_numVertices
 Number of local Vertices. More...
 
static const UInt S_numLocalFaces = MeshElement<GeoShape, MeshElementMarked<0, 3, GeoShape, MC> >::S_numFaces
 Number of local Faces. More...
 
static const UInt S_numLocalEdges = MeshElement<GeoShape, MeshElementMarked<0, 3, GeoShape, MC> >::S_numEdges
 Number of local Edges (using Euler Formula) More...
 
static const UInt S_numLocalFacets = S_numLocalFaces
 
static const UInt S_numLocalRidges = S_numLocalEdges
 

Constructor & Destructor

 MeshElementMarked (ID identity=NotAnId)
 Declares element identity. More...
 
 MeshElementMarked (const MeshElementMarked< 3, 3, GeoShape, MC > &Element)
 Copy constructor. More...
 
virtual ~MeshElementMarked ()
 Destructor. More...
 

Additional Inherited Members

- Public Types inherited from MeshElement< GeoShape, MeshElementMarked< 0, 3, GeoShape, MC > >
typedef GeoShape geoShape_Type
 
typedef MeshElementMarked< 0, 3, GeoShape, MC > point_Type
 
- Public Types inherited from MeshEntity
enum  SwitchId { LOCALID = 0, GLOBALID = 1 }
 Indicator for local or global id. More...
 
- Public Member Functions inherited from MeshElement< GeoShape, MeshElementMarked< 0, 3, GeoShape, MC > >
 MeshElement ()
 Empty Constructor. More...
 
 MeshElement (ID identity)
 Declares item identity. More...
 
 MeshElement (const MeshElement< GeoShape, MeshElementMarked< 0, 3, GeoShape, MC > > &element)
 Copy constructor. More...
 
 ~MeshElement ()
 Destructor. More...
 
MeshElementoperator= (MeshElement const &element)
 The equivalence operator. More...
 
std::ostream & showMe (bool verbose=false, std::ostream &c=std::cout) const
 Display general information about the content of the class. More...
 
void swapPoints (const ID &firstIdentity, const ID &secondIdentity)
 Swap Points. More...
 
void reversePoints ()
 Reverses the points of the element. More...
 
void exchangePoints (const ID oldToNew[GeoShape::S_numPoints])
 Exchange points. More...
 
point_Type const & point (ID const identity) const
 Returns the point of identity indicated in the argument. More...
 
point_Type const & reversepoint (ID const identity) const
 Returns the point of identity indicated in the argument. More...
 
void setPoint (ID const identity, point_Type const &point)
 Inserts a point using point references. More...
 
void setPoint (ID const identity, point_Type const *point)
 Inserts a point using pointers. More...
 
bool setPointWithBoundaryCheck (ID const identity, point_Type const &point)
 Inserts a point using point references with forced boundary check. More...
 
bool setPointWithBoundaryCheck (ID const identity, point_Type const *point)
 Inserts a point using pointers with forced boundary check. More...
 
markerID_Type setStrongerMarkerIDAtPoint (const ID &identity, markerID_Type const &flag) const
 Sets the Marker ID of a point. More...
 
point_Type const * points () const
 Returns the points vector. 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 inherited from MeshElement< GeoShape, MeshElementMarked< 0, 3, GeoShape, MC > >
static const UInt S_numLocalPoints
 Number of points associated to the entity. More...
 
static const UInt S_numLocalVertices
 Number of Vertices associated to the entity. More...
 

Detailed Description

template<typename GeoShape, typename MC>
class LifeV::MeshElementMarked< 3, 3, GeoShape, MC >

specialization for 3D entities (cells) in a 3D geometry.

Definition at line 723 of file MeshElementMarked.hpp.

Member Typedef Documentation

◆ geoShape_Type

typedef GeoShape geoShape_Type

Definition at line 742 of file MeshElementMarked.hpp.

◆ marker_Type

typedef MC::volumeMarker_Type marker_Type

Definition at line 743 of file MeshElementMarked.hpp.

◆ faceShape_Type

typedef GeoShape::GeoBShape faceShape_Type

Definition at line 744 of file MeshElementMarked.hpp.

◆ edgeShape_Type

typedef faceShape_Type::GeoBShape edgeShape_Type

Definition at line 745 of file MeshElementMarked.hpp.

◆ edge_Type

typedef MeshElementMarked<1, 3, GeoShape, MC> edge_Type

Definition at line 747 of file MeshElementMarked.hpp.

◆ face_Type

typedef MeshElementMarked<2, 3, GeoShape, MC> face_Type

Definition at line 748 of file MeshElementMarked.hpp.

◆ point_Type

typedef MeshElementMarked<0, 3, GeoShape, MC> point_Type

Definition at line 749 of file MeshElementMarked.hpp.

◆ geoBElement_Type

Definition at line 750 of file MeshElementMarked.hpp.

Constructor & Destructor Documentation

◆ MeshElementMarked() [1/2]

MeshElementMarked ( ID  identity = NotAnId)
explicit

Declares element identity.

Parameters
identityElement identity

Definition at line 1100 of file MeshElementMarked.hpp.

◆ MeshElementMarked() [2/2]

MeshElementMarked ( const MeshElementMarked< 3, 3, GeoShape, MC > &  Element)

Copy constructor.

Parameters
ElementMeshElementMarked to be copied

Definition at line 1107 of file MeshElementMarked.hpp.

+ Here is the caller graph for this function:

◆ ~MeshElementMarked()

virtual ~MeshElementMarked ( )
inlinevirtual

Destructor.

Definition at line 770 of file MeshElementMarked.hpp.

Field Documentation

◆ S_numLocalVertices

const UInt S_numLocalVertices = MeshElement<GeoShape, MeshElementMarked<0, 3, GeoShape, MC> >::S_numVertices
static

Number of local Vertices.

Definition at line 733 of file MeshElementMarked.hpp.

◆ S_numLocalFaces

const UInt S_numLocalFaces = MeshElement<GeoShape, MeshElementMarked<0, 3, GeoShape, MC> >::S_numFaces
static

Number of local Faces.

Definition at line 735 of file MeshElementMarked.hpp.

◆ S_numLocalEdges

const UInt S_numLocalEdges = MeshElement<GeoShape, MeshElementMarked<0, 3, GeoShape, MC> >::S_numEdges
static

Number of local Edges (using Euler Formula)

Definition at line 737 of file MeshElementMarked.hpp.

◆ S_numLocalFacets

const UInt S_numLocalFacets = S_numLocalFaces
static

Definition at line 739 of file MeshElementMarked.hpp.

◆ S_numLocalRidges

const UInt S_numLocalRidges = S_numLocalEdges
static

Definition at line 740 of file MeshElementMarked.hpp.


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