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

Quadrangle8 for serendipity type. More...

+ Inheritance diagram for GIMLI::Quadrangle8:
+ Collaboration diagram for GIMLI::Quadrangle8:

Public Member Functions

 Quadrangle8 (const std::vector< Node * > &nodes)
 
virtual uint rtti () const
 
virtual std::vector< PolynomialFunction< double > > createShapeFunctions () const
 
- Public Member Functions inherited from GIMLI::Quadrangle
 Quadrangle (Node &n1, Node &n2, Node &n3, Node &n4)
 
 Quadrangle (const std::vector< Node * > &nodes)
 
virtual uint dim () const
 
void setNodes (Node &n1, Node &n2, Node &n3, Node &n4)
 
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

Quadrangle8 for serendipity type.

Quadrangle serendipity type with 8 nodes for quadratic shape functions

Node direction:
3—6—2
/ /
7 5
/ /
0—4—1
count: 0-1-2-3, 4(0-1), 5(1-2), 6(2-3), 7(3-0)

Member Function Documentation

◆ rtti()

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

Return the runtime identification for this MeshEntity.

Reimplemented from GIMLI::Quadrangle.