Geophysical Inversion and Modelling Library  v1.5.2-5-g042d7f36
GIMLI::Pyramid13 Class Reference

A Pyramid. More...

+ Inheritance diagram for GIMLI::Pyramid13:
+ Collaboration diagram for GIMLI::Pyramid13:

Public Member Functions

 Pyramid13 (const std::vector< Node * > &nodes)
 
virtual uint rtti () const
 
virtual std::vector< PolynomialFunction< double > > createShapeFunctions () const
 
- Public Member Functions inherited from GIMLI::Pyramid
 Pyramid (const std::vector< Node * > &nodes)
 
virtual uint dim () const
 
virtual uint neighborCellCount () const
 
virtual std::vector< Node * > boundaryNodes (Index i) const
 
- Public Member Functions inherited from GIMLI::Cell
 Cell ()
 
 Cell (const std::vector< Node * > &nodes)
 
virtual ~Cell ()
 
bool operator== (const Cell &cell)
 
virtual uint parentType () const
 
uint boundaryCount () const
 
void cleanNeighborInfos ()
 
CellneighborCell (const RVector &sf)
 
CellneighborCell (uint i)
 
virtual void findNeighborCell (uint i)
 
double attribute () const
 
void setAttribute (double attr)
 
NodeoppositeTo (const Boundary &bound)
 
BoundaryboundaryTo (const RVector &sf)
 
Boundaryboundary (Index i)
 
- 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
 
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
 

Additional Inherited Members

- Protected Member Functions inherited from GIMLI::Cell
virtual void registerNodes_ ()
 
virtual void deRegisterNodes_ ()
 
virtual void registerSecNode_ (Node *n)
 
virtual void deRegisterSecNode_ (Node *n)
 
 Cell (const Cell &cell)
 
Celloperator= (const Cell &cell)
 
- Protected Member Functions inherited from GIMLI::MeshEntity
void fillShape_ ()
 
 MeshEntity (const MeshEntity &ent)
 
MeshEntityoperator= (const MeshEntity &ent)
 
- Protected Attributes inherited from GIMLI::Cell
std::vector< Cell * > neighborCells_
 
double attribute_
 
- 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_
 

Detailed Description

A Pyramid.

A Pyramid cell with 13 nodes for quadratic base functions

Node direction:

t       3-----7------2  \n
|      /            /    \n
|     /  12    11  /     \n
|    /            /      \n
|   8     4      6       \n
|  /            /        \n
| /  9      10 /         \n
|/            /          \n
0------5-----1-------r   \n

Member Function Documentation

◆ rtti()

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

Return the runtime identification for this MeshEntity.

Reimplemented from GIMLI::Pyramid.