Class xlifepp::GeomRefSegment#

class GeomRefSegment : public xlifepp::GeomRefElement#

Inheritence diagram for xlifepp::GeomRefSegment:

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

Collaboration diagram for xlifepp::GeomRefSegment:

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::GeomRefSegment" tooltip="xlifepp::GeomRefSegment" 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"] }

Public Functions

GeomRefSegment()#

default constructor

GeomRefSegment constructor for 1D Geometric Reference Element.

inline ~GeomRefSegment()#

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#

return edge oppsite to edge e

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

returns 1.

Returns element length (1.)

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

projection of a point onto ref element node numbers defining first simplex of ref element

projection of a point onto ref element [0,1]

inline number_t sideOppositeVertex(const number_t vNum) const#

returns vertex to vertex number vNum (=1,2)

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

returns side with vertices v1 and v2

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

returns side with vertices v1 and v2

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

node numbers defining first simplex of ref element

inline 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 a side

inline virtual number_t vertexOppositeSide(const number_t sideNum) const#

returns vertex opposite to vertex number vNum (=1,2)