Geophysical Inversion and Modelling Library  v1.5.0
GIMLI::TriangleFace Class Reference
+ Inheritance diagram for GIMLI::TriangleFace:
+ Collaboration diagram for GIMLI::TriangleFace:

Public Member Functions

 TriangleFace (Node &n1, Node &n2, Node &n3)
 
 TriangleFace (const std::vector< Node * > &nodes)
 
virtual uint dim () const
 
virtual uint rtti () const
 
void setNodes (Node &n1, Node &n2, Node &n3)
 
virtual std::vector< PolynomialFunction< double > > createShapeFunctions () const
 
- Public Member Functions inherited from GIMLI::Boundary
 Boundary (const std::vector< Node * > &nodes)
 
virtual uint parentType () const
 
virtual RVector3 rst (uint i) const
 
const CellleftCell () const
 
CellleftCell ()
 
const CellrightCell () const
 
CellrightCell ()
 
void setLeftCell (Cell *cell)
 
void setRightCell (Cell *cell)
 
virtual RVector3 norm () const
 
virtual RVector3 norm (const Cell &cell) const
 
bool normShowsOutside (const Cell &cell) const
 
void swapNorm (bool withNeighbours=true)
 
bool outside () const
 
- Public Member Functions inherited from GIMLI::MeshEntity
 MeshEntity ()
 
virtual ~MeshEntity ()
 
virtual void setNodes (const std::vector< Node * > &nodes)
 
const std::vector< Node * > & nodes () const
 
Nodenode (uint i)
 
Nodenode (uint i) const
 
uint nodeCount () const
 
Shapeshape ()
 
Shapeshape () const
 
ShapepShape ()
 
RVector3 rst (uint i) const
 
RVector3 center () const
 
double size () const
 
virtual double attribute () const
 
IndexArray ids () const
 
virtual RVector N (const RVector3 &rst) const
 
virtual void N (const RVector3 &rst, RVector &n) const
 
virtual RVector dNdL (const RVector3 &rst, uint i) const
 
virtual RMatrix dNdL (const RVector3 &rst) const
 
double pot (const RVector3 &p, const RVector &u) const
 
RVector3 vec (const RVector3 &p, const R3Vector &v) const
 
RVector3 grad (const RVector3 &p, const RVector &u) const
 
void setUxCache (const RMatrix &mat) const
 
const RMatrixuxCache () const
 
ElementMatrix< double > & uCache ()
 
ElementMatrix< double > & gradUCache ()
 
void changed ()
 
void addSecondaryNode (Node *n)
 
void delSecondaryNode (Node *n)
 
const std::vector< Node * > & secondaryNodes () const
 
const std::vector< Node * > allNodes () const
 
Index allNodeCount () const
 
virtual bool enforcePositiveDirection ()
 
- Public Member Functions inherited from GIMLI::BaseEntity
 BaseEntity (const BaseEntity &ent)
 
BaseEntityoperator= (const BaseEntity &ent)
 
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
 

Friends

std::ostream & operator<< (std::ostream &str, const TriangleFace &e)
 

Additional Inherited Members

- Protected Member Functions inherited from GIMLI::Boundary
virtual void registerNodes_ ()
 
virtual void deRegisterNodes_ ()
 
virtual void registerSecNode_ (Node *n)
 
virtual void deRegisterSecNode_ (Node *n)
 
 Boundary (const Boundary &bound)
 
Boundaryoperator= (const Boundary &boundary)
 
- Protected Member Functions inherited from GIMLI::MeshEntity
void fillShape_ ()
 
 MeshEntity (const MeshEntity &ent)
 
MeshEntityoperator= (const MeshEntity &ent)
 
- Protected Attributes inherited from GIMLI::Boundary
CellleftCell_
 
CellrightCell_
 
- Protected Attributes inherited from GIMLI::MeshEntity
Shapeshape_
 
std::vector< Node * > nodeVector_
 
std::vector< Node * > secondaryNodes_
 
ElementMatrix< double > uCache_
 
ElementMatrix< double > gradUCache_
 
RMatrix uxCache_
 
- Protected Attributes inherited from GIMLI::BaseEntity
int id_
 
bool valid_
 
int marker_
 
bool tagged_
 

Member Function Documentation

◆ createShapeFunctions()

std::vector< PolynomialFunction< double > > GIMLI::TriangleFace::createShapeFunctions ( ) const
virtual

this method need refactoring

Reimplemented from GIMLI::MeshEntity.

Reimplemented in GIMLI::Triangle6Face.

◆ dim()

virtual uint GIMLI::TriangleFace::dim ( ) const
inlinevirtual

Return the dimension for this MeshEntity.

Reimplemented from GIMLI::MeshEntity.

◆ rtti()

virtual uint GIMLI::TriangleFace::rtti ( ) const
inlinevirtual

Return the runtime identification for this MeshEntity.

Reimplemented from GIMLI::Boundary.

Reimplemented in GIMLI::Triangle6Face.