Geophysical Inversion and Modelling Library  jenkins-pyGIMLi_release-295-SUCCESS-1-geb9a2204
GIMLI::Quadrangle Class Reference

Quadrangle. More...

+ Inheritance diagram for GIMLI::Quadrangle:
+ Collaboration diagram for GIMLI::Quadrangle:

Public Member Functions

 Quadrangle (Node &n1, Node &n2, Node &n3, Node &n4)
 
 Quadrangle (const std::vector< Node * > &nodes)
 
virtual uint dim () const
 
virtual uint rtti () const
 
void setNodes (Node &n1, Node &n2, Node &n3, Node &n4)
 
virtual uint neighborCellCount () const
 
virtual std::vector< PolynomialFunction< double > > createShapeFunctions () 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 std::vector< RVector3 > &v) const
 
RVector3 grad (const RVector3 &p, const RVector &u) const
 
void setUxCache (const RMatrix &mat) const
 
const RMatrixuxCache () const
 
void addSecondaryNode (Node *n)
 
void delSecondaryNode (Node *n)
 
const std::vector< Node *> & secondaryNodes () const
 
const std::vector< Node *> allNodes () const
 
Index allNodeCount () const
 
- 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 Quadrangle &t)
 

Additional Inherited Members

- Protected Member Functions inherited from GIMLI::Cell
virtual void registerNodes_ ()
 
virtual void deRegisterNodes_ ()
 
 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_
 
RMatrix uxCache_
 
- Protected Attributes inherited from GIMLI::BaseEntity
int id_
 
bool valid_
 
int marker_
 
bool tagged_
 

Detailed Description

Quadrangle.

Quadrangle

Node direction: 3--—2 / / / / 0--—1

Neighborship relations:

Neighbor Nr, on Boundary a->b 0 2->3 1 3->0 2 0->1 3 1->2

Member Function Documentation

◆ boundaryNodes()

std::vector< Node *> GIMLI::Quadrangle::boundaryNodes ( Index  i) const
virtual

Experimental

Reimplemented from GIMLI::Cell.

References GIMLI::Cell::Cell().

◆ dim()

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

Return the dimension for this MeshEntity.

Reimplemented from GIMLI::MeshEntity.

◆ rtti()

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

Return the runtime identification for this MeshEntity.

Reimplemented from GIMLI::Cell.

Reimplemented in GIMLI::Quadrangle8.