LifeV
|
specialization for 0D entities (points) in 1D Geometry. More...
#include <MeshElementMarked.hpp>
Public Member Functions | |
void | setPoint (ID const identity, MeshElementMarked< 0, 1, GeoShape, MC > const *point) |
void | setPoint (ID const, MeshElementMarked< 0, 1, GeoShape, MC > const &point) |
MeshElementMarked< 0, 1, GeoShape, MC > const & | point (ID const identity) const |
Public Member Functions inherited from MeshVertex | |
MeshVertex () | |
Empty Constructor. More... | |
MeshVertex (ID identity, bool boundary=false) | |
Declares item identity and states if it is on boundary. More... | |
MeshVertex (ID identity, Real x, Real y, Real z, bool boundary=false) | |
Declares item identity, provides coordinate and states if it is on boundary. More... | |
virtual | ~MeshVertex () |
Destructor. More... | |
std::ostream & | showMe (bool Verbose=false, std::ostream &coordinateVector=std::cout) const |
Display general information about the content of the class. More... | |
Real const * | coordinatesArray () const |
Returns the pointer to the coordinates vector. More... | |
Real & | x () |
Returns the reference to the x-coordinate. More... | |
Real & | y () |
Returns the reference to the y-coordinate. More... | |
Real & | z () |
Returns the reference to the z-coordinate and checks if working in two dimensions. More... | |
Real | x () const |
Returns the x-coordinate. More... | |
Real | y () const |
Returns the y-coordinate. More... | |
Real | z () const |
Returns the z-coordinate and checks if working in two dimensions. More... | |
Real | coordinate (ID const coordinate) const |
Returns the coordinate specified in the argument. More... | |
Real & | coordinate (ID const coordinate) |
Returns the reference to the coordinate specified in the argument. More... | |
Vector3D const & | coordinates () const |
Returns the coordinates 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... | |
Private Attributes | |
ID | M_firstAdjacentElementIdentity |
ID | M_secondAdjacentElementIdentity |
ID | M_firstAdjacentElementPosition |
ID | M_secondAdjacentElementPosition |
Public Types | |
typedef MC::pointMarker_Type | marker_Type |
static const UInt | S_numPoints = 1 |
Constructor & Destructor | |
MeshElementMarked () | |
Empty Constructor. More... | |
MeshElementMarked (ID identity, bool boundary=false) | |
Declares item identity and states if it is on boundary. More... | |
MeshElementMarked (ID identity, Real x, Real y, Real z, bool boundary=false) | |
Declares item identity, provides coordinate and states if it is on boundary. More... | |
MeshElementMarked (MeshElementMarked< 0, 1, GeoShape, MC > const &Element) | |
Copy constructor. More... | |
MeshElementMarked (MeshVertex const &Element, MC const &Marker) | |
Copy constructor. More... | |
virtual | ~MeshElementMarked () |
Destructor. More... | |
Operators | |
MeshElementMarked & | operator= (const MeshElementMarked< 0, 1, GeoShape, MC > &Element) |
The equivalence operator. 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 MeshVertex | |
typedef GeoPoint | geoShape_Type |
Public Types inherited from MeshEntity | |
enum | SwitchId { LOCALID = 0, GLOBALID = 1 } |
Indicator for local or global id. More... | |
specialization for 0D entities (points) in 1D Geometry.
Definition at line 149 of file MeshElementMarked.hpp.
typedef MC::pointMarker_Type marker_Type |
Definition at line 155 of file MeshElementMarked.hpp.
Empty Constructor.
Definition at line 860 of file MeshElementMarked.hpp.
|
explicit |
Declares item identity and states if it is on boundary.
identity | Element identity |
boundary | True if the element is on boundary |
Definition at line 865 of file MeshElementMarked.hpp.
MeshElementMarked | ( | ID | identity, |
Real | x, | ||
Real | y, | ||
Real | z, | ||
bool | boundary = false |
||
) |
Declares item identity, provides coordinate and states if it is on boundary.
identity | Element identity |
x | Element x coordinate |
y | Element y coordinate |
z | Element z coordinate |
boundary | True if the element is on boundary |
Definition at line 870 of file MeshElementMarked.hpp.
MeshElementMarked | ( | MeshElementMarked< 0, 1, GeoShape, MC > const & | Element | ) |
Copy constructor.
Element | MeshElementMarked0D to be copied |
Definition at line 875 of file MeshElementMarked.hpp.
MeshElementMarked | ( | MeshVertex const & | Element, |
MC const & | Marker | ||
) |
Copy constructor.
Element | MeshElementMarked0D to be copied |
Marker | Markercommon |
|
inlinevirtual |
Destructor.
Definition at line 197 of file MeshElementMarked.hpp.
MeshElementMarked< 0, 1, GeoShape, MC > & operator= | ( | const MeshElementMarked< 0, 1, GeoShape, MC > & | Element | ) |
The equivalence operator.
It calls operator= of base classes, just to be sure to do the right thing.
Element | Equivalent MeshElementMarked |
Definition at line 885 of file MeshElementMarked.hpp.
void setPoint | ( | ID const | identity, |
MeshElementMarked< 0, 1, GeoShape, MC > const * | point | ||
) |
Definition at line 908 of file MeshElementMarked.hpp.
void setPoint | ( | ID const | , |
MeshElementMarked< 0, 1, GeoShape, MC > const & | point | ||
) |
Definition at line 918 of file MeshElementMarked.hpp.
MeshElementMarked< 0, 1, GeoShape, MC > const & point | ( | ID const | identity | ) | const |
Definition at line 901 of file MeshElementMarked.hpp.
|
inline |
Returns the identity of the first adjacent element.
Definition at line 229 of file MeshElementMarked.hpp.
|
inline |
Returns the identity of the second adjacent element.
Definition at line 239 of file MeshElementMarked.hpp.
|
inline |
Returns the identity of the first adjacent element.
Definition at line 248 of file MeshElementMarked.hpp.
|
inline |
Returns the identity of the second adjacent element.
Definition at line 257 of file MeshElementMarked.hpp.
|
inline |
Returns the position of the first adjacent element.
Definition at line 266 of file MeshElementMarked.hpp.
|
inline |
Returns the position of the second adjacent element.
Definition at line 275 of file MeshElementMarked.hpp.
|
inline |
Returns the position of the first adjacent element.
Definition at line 285 of file MeshElementMarked.hpp.
|
inline |
Returns the position of the second adjacent element.
Definition at line 294 of file MeshElementMarked.hpp.
|
static |
Definition at line 156 of file MeshElementMarked.hpp.
|
private |
Definition at line 302 of file MeshElementMarked.hpp.
|
private |
Definition at line 303 of file MeshElementMarked.hpp.
|
private |
Definition at line 304 of file MeshElementMarked.hpp.
|
private |
Definition at line 305 of file MeshElementMarked.hpp.