Geophysical Inversion and Modelling Library
v1.5.2-5-g042d7f36
|
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::addVTUPiece_(), GIMLI::ElectrodeShapeNode::assembleRHS(), GIMLI::ElectrodeShapeDomain::assembleRHS(), GIMLI::Mesh::boundaryDataToCellGradient(), GIMLI::calcGBounds(), GIMLI::calcGCells(), GIMLI::Mesh::cellDataToBoundaryGradient(), GIMLI::Mesh::cellToBoundaryInterpolation(), GIMLI::Mesh::copyBoundary(), GIMLI::createMesh2D(), GIMLI::createMesh3D(), GIMLI::Mesh::createMeshByBoundaries(), GIMLI::Mesh::createMeshByCells(), GIMLI::Mesh::createNeighborInfosCell_(), GIMLI::Mesh::createRefined_(), GIMLI::Mesh::divergence(), GIMLI::Mesh::findNearestNode(), GIMLI::ElectrodeShapeNode::geomMeanCellAttributes(), GIMLI::MeshEntity::ids(), GIMLI::PolygonFace::insertNode(), GIMLI::Mesh::nodeIDs(), GIMLI::ElectrodeShapeNode::pot(), GIMLI::Mesh::prolongateEmptyCellsValues(), GIMLI::Mesh::saveBinary(), GIMLI::Mesh::saveBinaryV2(), GIMLI::setComplexResistivities(), GIMLI::ElectrodeShapeEntity::setSingValue(), GIMLI::Edge::swap(), GIMLI::TriangleWrapper::transformMeshToTriangle_(), and GIMLI::TravelTimeDijkstraModelling::updateMeshDependency_().
|
inlinevirtual |
Return entity rtti value.
Reimplemented in GIMLI::Node, 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, and GIMLI::MeshEntity.
|
inline |
Set the entity id.
Referenced by GIMLI::Node::Node().
|
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.
Referenced by GIMLI::Electrode::Electrode().
|
inline |
Tag the cell
|
inline |
Return true if the cell is tagged
|
inline |
Untag the cell
Referenced by GIMLI::Mesh::findCell().
|
inlinevirtual |
Return entity valid status.