Class xlifepp::GeomRefPrism#

class GeomRefPrism : public xlifepp::GeomRefElement#

Inheritence diagram for xlifepp::GeomRefPrism:

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::GeomRefPrism" tooltip="xlifepp::GeomRefPrism" fillcolor="#BFBFBF"] "1" -> "2" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for xlifepp::GeomRefPrism:

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::GeomRefPrism" tooltip="xlifepp::GeomRefPrism" 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 class to GeomRefElement

Public Functions

GeomRefPrism()#

default constructor

inline ~GeomRefPrism()#

destructor

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

test if a point belongs to current element

inline number_t edgeOppositeEdge(const number_t) const#

returns edge opposite to edge number e

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

returns edge length or face area

Returns edge length, face area or element volume.

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

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, v3

returns local number of face bearing vertices with local numbers v1, v2, v3 and v4 if not null 1: 1 2 3 100v1+10v2+v3 123 2: 1 2 5 4 124 125 145 245 3: 2 3 6 5 235 236 256 356 4: 1 3 6 4 134 136 146 346 5: 4 5 6 456

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) const#

returns tangent vector on an edge or a face

returns tangent vector(s) on edge sideNum (=1,2,…,9) or face sideNum (=1,2,3,4,5)

inline virtual number_t vertexOppositeSide(const number_t s) const#

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