Class xlifepp::subdivision::CartesianFig#

template<class T_>
class CartesianFig : public xlifepp::subdivision::GeomFigure#

Inheritence diagram for xlifepp::subdivision::CartesianFig:

digraph { graph [bgcolor="#00000000"] node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2] edge [color="#1414CE"] "3" [label="xlifepp::subdivision::CartesianFig< Hexahedron >" tooltip="xlifepp::subdivision::CartesianFig< Hexahedron >"] "5" [label="xlifepp::subdivision::CartesianFig< Quadrangle >" tooltip="xlifepp::subdivision::CartesianFig< Quadrangle >"] "1" [label="xlifepp::subdivision::CartesianFig< T_ >" tooltip="xlifepp::subdivision::CartesianFig< T_ >" fillcolor="#BFBFBF"] "2" [label="xlifepp::subdivision::GeomFigure" tooltip="xlifepp::subdivision::GeomFigure"] "4" [label="xlifepp::subdivision::Hexahedron" tooltip="xlifepp::subdivision::Hexahedron"] "6" [label="xlifepp::subdivision::Quadrangle" tooltip="xlifepp::subdivision::Quadrangle"] "3" -> "1" [dir=forward tooltip="template-instance"] "5" -> "1" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "4" -> "3" [dir=forward tooltip="public-inheritance"] "6" -> "5" [dir=forward tooltip="public-inheritance"] }

Collaboration diagram for xlifepp::subdivision::CartesianFig:

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 >"] "3" [label="std::vector< number_t >" tooltip="std::vector< number_t >"] "1" [label="xlifepp::subdivision::CartesianFig< T_ >" tooltip="xlifepp::subdivision::CartesianFig< T_ >" fillcolor="#BFBFBF"] "2" [label="xlifepp::subdivision::GeomFigure" tooltip="xlifepp::subdivision::GeomFigure"] "3" -> "4" [dir=forward tooltip="template-instance"] "1" -> "2" [dir=forward tooltip="public-inheritance"] "2" -> "3" [dir=forward tooltip="usage"] }

Public Functions

inline CartesianFig(const number_t num, const number_t bdSideNum)#

main constructor

inline virtual short faceOrientation(short indFace) const#

get back the orientation of a face. Returns 1 if positive, -1 if negative.

inline virtual number_t numberOfEdgesinFig() const#

returns the number of edges of the figure

inline virtual number_t numberOfO1Vertices() const#

returns the number of main vertices (of order 1) of the figure

inline virtual number_t numberOfVertByFace() const#

returns the number of vertices by face of the figure

virtual std::vector<number_t> rkOfHOVeOnFace(const number_t Order, const number_t i) const#

returns the high order vertices (given by their rank) of face number i >= 1

Access function returning the high order vertices (given by their rank) of face number i >= 1.

The order is not stored in this class, so it needs to be passed by argument ; it should be the correct one, otherwise the result is false. For the quadrangle, the face is the element itself and the input number i should be equal to 1. The vertices in the array vertices_ are grouped according to the following: nb_main_vertices_, (k-1)*nb_edges_, (k-1)^2*nb_faces_

Public Static Functions

static inline number_t numberOfEdges()#

returns the number of edges of the figure

static inline number_t numberOfFaces()#

returns the number of faces of the figure

static inline number_t numberOfMainVertices()#

returns the number of main vertices of the figure