Geophysical Inversion and Modelling Library
v1.4.3
|
Base Entity. More...
Public Member Functions | |
BaseEntity (const BaseEntity &ent) | |
BaseEntity & | operator= (const BaseEntity &ent) |
virtual uint | rtti () const |
virtual bool | valid () const |
virtual void | setValid (bool valid) |
int | id () const |
void | setId (int id) |
void | setMarker (int marker) |
int | marker () const |
void | setTagged (bool tagged) |
void | untag () |
void | tag () |
bool | tagged () const |
Protected Attributes | |
int | id_ |
bool | valid_ |
int | marker_ |
bool | tagged_ |
Base Entity.
The is a base entity which holds some basic informations. An identification number for the object, a validation status flag and a runtime type information (RTTI). This information will be inherited in many objects i.e. the mesh and data entitys.
|
inline |
Returns the entity id.
Referenced by GIMLI::Mesh::cellToBoundaryInterpolation(), GIMLI::Mesh::createP2(), GIMLI::dcfemDomainAssembleStiffnessMatrix(), GIMLI::ElectrodeShapeNodesWithBypass::ElectrodeShapeNodesWithBypass(), GIMLI::Mesh::exportMidCellValue(), GIMLI::TriangleWrapper::transformMeshToTriangle_(), and GIMLI::TravelTimeDijkstraModelling::updateMeshDependency_().
|
inlinevirtual |
Return entity rtti value.
Reimplemented in GIMLI::Pyramid13, GIMLI::Pyramid, GIMLI::TriPrism15, GIMLI::TriPrism, GIMLI::Hexahedron20, GIMLI::Hexahedron, GIMLI::Tetrahedron10, GIMLI::Tetrahedron, GIMLI::Quadrangle8, GIMLI::Quadrangle, GIMLI::Triangle6, GIMLI::Triangle, GIMLI::Edge3Cell, GIMLI::EdgeCell, GIMLI::PolygonFace, GIMLI::Quadrangle8Face, GIMLI::QuadrangleFace, GIMLI::Triangle6Face, GIMLI::TriangleFace, GIMLI::Edge3, GIMLI::Edge, GIMLI::NodeBoundary, GIMLI::Boundary, GIMLI::Cell, GIMLI::MeshEntity, and GIMLI::Node.
|
inline |
Set the entity id.
|
inline |
Userflag to mark the entity for something you want. This will be used internal while cell search so be carefully.
|
inlinevirtual |
Set entity valid status.
|
inline |
Tag the cell
|
inline |
Return true if the cell is tagged
|
inline |
Untag the cell
|
inlinevirtual |
Return entity valid status.