Class xlifepp::GeomRefQuadrangle#

class GeomRefQuadrangle : public xlifepp::GeomRefElement#

Inheritence diagram for xlifepp::GeomRefQuadrangle:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "2" [label="xlifepp::GeomRefElement" tooltip="xlifepp::GeomRefElement"] "1" [label="xlifepp::GeomRefQuadrangle" tooltip="xlifepp::GeomRefQuadrangle" fillcolor="#BFBFBF"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for xlifepp::GeomRefQuadrangle:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "4" [label="std::vector< T >" tooltip="std::vector< T >"] "5" [label="std::vector< ShapeType >" tooltip="std::vector< ShapeType >"] "3" [label="std::vector< real_t >" tooltip="std::vector< real_t >"] "7" [label="std::vector< std::vector< int_t > >" tooltip="std::vector< std::vector< int_t > >"] "6" [label="std::vector< std::vector< number_t > >" tooltip="std::vector< std::vector< number_t > >"] "8" [label="std::vector< xlifepp::GeomRefElement * >" tooltip="std::vector< xlifepp::GeomRefElement * >"] "2" [label="xlifepp::GeomRefElement" tooltip="xlifepp::GeomRefElement"] "1" [label="xlifepp::GeomRefQuadrangle" tooltip="xlifepp::GeomRefQuadrangle" fillcolor="#BFBFBF"] "5" -> "4" [dir=forward tooltip="template-instance"] "3" -> "4" [dir=forward tooltip="template-instance"] "7" -> "4" [dir=forward tooltip="template-instance"] "6" -> "4" [dir=forward tooltip="template-instance"] "8" -> "4" [dir=forward tooltip="template-instance"] "2" -> "3" [dir=forward tooltip="usage"] "2" -> "5" [dir=forward tooltip="usage"] "2" -> "6" [dir=forward tooltip="usage"] "2" -> "7" [dir=forward tooltip="usage"] "2" -> "8" [dir=forward tooltip="usage"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

child to class GeomRefElement

Public Functions

GeomRefQuadrangle()#

default constructor

GeomRefQuadrangle constructor for Geometric Reference Element using 2d base constructor with shape, surface , centroid coords, number of vertices.

~GeomRefQuadrangle()#

destructor

virtual bool contains(std::vector<real_t> &p, real_t tol = theTolerance) const#

test if a point belongs to current element

number_t edgeOppositeEdge(const number_t) const#

returns local number of edge opposite to edge given by its local number

virtual real_t measure(const dimen_t dim, const number_t sideNum = 0) const#

returns edge length or element area

Returns edge length or element area.

virtual std::vector<real_t> projection(const std::vector<real_t> &p, real_t &h) const#

return projection on ref quadrangle node numbers defining first simplex of ref element

return projection on ref hexahedron

inline number_t sideOppositeVertex(const number_t) const#

returns edge or face opposite to vertex number v

virtual number_t sideWithVertices(const number_t, const number_t) const#

returns local number of edge bearing vertices with local numbers v1 and v2 returns local number of edge bearing vertices with local numbers v1 and v2

Returns the local number of an edge bearing 2 vertices given by their local numbers (>=1)

inline virtual number_t sideWithVertices(const number_t, const number_t, const number_t, const number_t = 0) const#

returns local number of face bearing vertices with local numbers v1, v2 and v3

inline virtual std::vector<number_t> simplexNodes() const#

node numbers defining first simplex of ref element

void tangentVector(const std::vector<real_t> &jacobianMatrix, std::vector<std::vector<real_t>> &tgv, const number_t, const dimen_t = 1) const#

returns tangent std::vector on edge sideNum (=1,2,3,4)

Returns a quadrature rule build on an edge form a 1d quadrature formula.

returns tangent std::vector on a edge number sideNum

inline virtual number_t vertexOppositeSide(const number_t s) const#

returns a vertex opposite to edge number sideNum (=1,2, …)