LifeV
|
specialization for 1D entities (edges) in a 2D geometry. Identities of the adjacent 2D elements and their relative position are stored. More...
#include <MeshElementMarked.hpp>
Private Attributes | |
ID | M_firstAdjacentElementIdentity |
ID | M_secondAdjacentElementIdentity |
ID | M_firstAdjacentElementPosition |
ID | M_secondAdjacentElementPosition |
Public Types::GeoBShape | |
typedef GeoShape::GeoBShape | geoShape_Type |
typedef MC::faceMarker_Type | marker_Type |
typedef geoShape_Type::GeoBShape | edgeShape_Type |
typedef MeshElementMarked< 1, 2, GeoShape, MC > | edge_Type |
typedef MeshElementMarked< 0, 2, GeoShape, MC > | point_Type |
typedef edge_Type | geoBElement_Type |
static const UInt | S_numLocalVertices = MeshElement<typename GeoShape::GeoBShape, MeshElementMarked<0, 2, GeoShape, MC> >::S_numVertices |
Number of element edges, for compatibility. More... | |
Constructor & Destructor | |
MeshElementMarked (ID identity=NotAnId) | |
Declares element identity. More... | |
MeshElementMarked (const MeshElementMarked< 1, 2, GeoShape, MC > &Element) | |
Copy constructor. More... | |
virtual | ~MeshElementMarked () |
Destructor. More... | |
Get Methods | |
ID | firstAdjacentElementIdentity () const |
Returns the identity of the first adjacent element. More... | |
ID | secondAdjacentElementIdentity () const |
Returns the identity of the second adjacent element. More... | |
ID & | firstAdjacentElementIdentity () |
Returns the identity of the first adjacent element. More... | |
ID & | secondAdjacentElementIdentity () |
Returns the identity of the second adjacent element. More... | |
ID | firstAdjacentElementPosition () const |
Returns the position of the first adjacent element. More... | |
ID | secondAdjacentElementPosition () const |
Returns the position of the second adjacent element. More... | |
ID & | firstAdjacentElementPosition () |
Returns the position of the first adjacent element. More... | |
ID & | secondAdjacentElementPosition () |
Returns the position of the second adjacent element. More... | |
Additional Inherited Members | |
Public Types inherited from MeshElement< GeoShape::GeoBShape, MeshElementMarked< 0, 2, GeoShape, MC > > | |
typedef GeoShape | geoShape_Type |
typedef MeshElementMarked< 0, 2, 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::GeoBShape, MeshElementMarked< 0, 2, GeoShape, MC > > | |
MeshElement () | |
Empty Constructor. More... | |
MeshElement (ID identity) | |
Declares item identity. More... | |
MeshElement (const MeshElement< GeoShape, MeshElementMarked< 0, 2, GeoShape, MC > > &element) | |
Copy constructor. More... | |
~MeshElement () | |
Destructor. More... | |
MeshElement & | operator= (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 ID & | id () const |
Method to get the global identifier. More... | |
const ID & | localId () 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_Type & | flag () const |
returns the entity flag More... | |
Static Public Attributes inherited from MeshElement< GeoShape::GeoBShape, MeshElementMarked< 0, 2, 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... | |
specialization for 1D entities (edges) in a 2D geometry. Identities of the adjacent 2D elements and their relative position are stored.
Definition at line 400 of file MeshElementMarked.hpp.
typedef GeoShape::GeoBShape geoShape_Type |
Definition at line 411 of file MeshElementMarked.hpp.
typedef MC::faceMarker_Type marker_Type |
Definition at line 412 of file MeshElementMarked.hpp.
typedef geoShape_Type::GeoBShape edgeShape_Type |
Definition at line 413 of file MeshElementMarked.hpp.
typedef MeshElementMarked<1, 2, GeoShape, MC> edge_Type |
Definition at line 414 of file MeshElementMarked.hpp.
typedef MeshElementMarked<0, 2, GeoShape, MC> point_Type |
Definition at line 415 of file MeshElementMarked.hpp.
typedef edge_Type geoBElement_Type |
Definition at line 416 of file MeshElementMarked.hpp.
|
explicit |
Declares element identity.
identity | Element identity |
Definition at line 988 of file MeshElementMarked.hpp.
MeshElementMarked | ( | const MeshElementMarked< 1, 2, GeoShape, MC > & | Element | ) |
Copy constructor.
Element | MeshElementMarked to be copied |
Definition at line 999 of file MeshElementMarked.hpp.
|
inlinevirtual |
Destructor.
Definition at line 436 of file MeshElementMarked.hpp.
|
inline |
Returns the identity of the first adjacent element.
Definition at line 450 of file MeshElementMarked.hpp.
|
inline |
Returns the identity of the second adjacent element.
Definition at line 460 of file MeshElementMarked.hpp.
|
inline |
Returns the identity of the first adjacent element.
Definition at line 469 of file MeshElementMarked.hpp.
|
inline |
Returns the identity of the second adjacent element.
Definition at line 478 of file MeshElementMarked.hpp.
|
inline |
Returns the position of the first adjacent element.
Definition at line 487 of file MeshElementMarked.hpp.
|
inline |
Returns the position of the second adjacent element.
Definition at line 496 of file MeshElementMarked.hpp.
|
inline |
Returns the position of the first adjacent element.
Definition at line 506 of file MeshElementMarked.hpp.
|
inline |
Returns the position of the second adjacent element.
Definition at line 515 of file MeshElementMarked.hpp.
|
static |
Number of element edges, for compatibility.
Definition at line 409 of file MeshElementMarked.hpp.
|
private |
Definition at line 523 of file MeshElementMarked.hpp.
|
private |
Definition at line 524 of file MeshElementMarked.hpp.
|
private |
Definition at line 525 of file MeshElementMarked.hpp.
|
private |
Definition at line 526 of file MeshElementMarked.hpp.