Geophysical Inversion and Modeling Library  jenkins-pyGIMLi-211-SUCCESS-2-g7e1ba6f0
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, bool changed=true)
 
virtual uint neighbourCellCount () 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)
 
 ~Cell ()
 
bool operator== (const Cell &cell)
 
virtual uint parentType () const
 
uint boundaryCount () const
 
void cleanNeighbourInfos ()
 
CellneighbourCell (const RVector &sf)
 
CellneighbourCell (uint i)
 
virtual void findNeighbourCell (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 ()
 
 MeshEntity (const std::vector< Node * > &nodes)
 
virtual ~MeshEntity ()
 
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
 
const std::vector< Node *> & nodes () const
 
void setUxCache (const RMatrix &mat) const
 
const RMatrixuxCache () const
 
void addSecondaryNode (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
void registerNodes_ ()
 
void deRegisterNodes_ ()
 
 Cell (const Cell &cell)
 
Celloperator= (const Cell &cell)
 
- Protected Member Functions inherited from GIMLI::MeshEntity
void fillShape_ ()
 
void setNodes_ (const std::vector< Node * > &nodes)
 
void deRegisterNodes_ ()
 
 MeshEntity (const MeshEntity &ent)
 
MeshEntityoperator= (const MeshEntity &ent)
 
- Protected Attributes inherited from GIMLI::Cell
std::vector< Cell *> neighbourCells_
 
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

Neighbourship relations:

Neighbour 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.

References GIMLI::str().