Geophysical Inversion and Modelling Library v1.5.4
|
Base Entity. More...
#include <baseentity.h>
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::ElectrodeShapeDomain::assembleRHS(), GIMLI::ElectrodeShapeNode::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::ElectrodeShapeNode::geomMeanCellAttributes(), GIMLI::PolygonFace::insertNode(), GIMLI::Mesh::nodeIDs(), GIMLI::Edge::operator<<, GIMLI::Mesh::prolongateEmptyCellsValues(), GIMLI::Mesh::saveBinaryV2(), GIMLI::setComplexResistivities(), setId(), GIMLI::ElectrodeShape::setMID(), GIMLI::ElectrodeShapeEntity::setSingValue(), GIMLI::Edge::swap(), and GIMLI::TriangleWrapper::transformMeshToTriangle_().
|
inlinevirtual |
Return entity rtti value.
Reimplemented in GIMLI::Boundary, GIMLI::Cell, GIMLI::Edge3, GIMLI::Edge3Cell, GIMLI::Edge, GIMLI::EdgeCell, GIMLI::Hexahedron20, GIMLI::Hexahedron, GIMLI::MeshEntity, GIMLI::Node, GIMLI::NodeBoundary, GIMLI::PolygonFace, GIMLI::Pyramid13, GIMLI::Pyramid, GIMLI::Quadrangle8, GIMLI::Quadrangle8Face, GIMLI::Quadrangle, GIMLI::QuadrangleFace, GIMLI::Tetrahedron10, GIMLI::Tetrahedron, GIMLI::Triangle6, GIMLI::Triangle6Face, GIMLI::Triangle, GIMLI::TriangleFace, GIMLI::TriPrism15, and GIMLI::TriPrism.
|
inline |
Set the entity id.
References id().
Referenced by GIMLI::Node::Node(), and GIMLI::DCMultiElectrodeModelling::searchElectrodes_().
|
inline |
|
inlinevirtual |
|
inline |
Tag the cell
References setTagged().
|
inline |
Return true if the cell is tagged
Referenced by setTagged().
|
inline |
|
inlinevirtual |
Return entity valid status.
Referenced by setValid().