element.hh
virtual Real solutionEdgeCenter(const concepts::Vector< Real > &sol, const uint edgeIdx) const =0
Returns the value of the solution sol at the center of edge edgeIdx of this tetrahedron.
const concepts::TMatrixBase< Real > & T() const
Returns the T matrix of this element.
Definition: element.hh:38
virtual std::ostream & info(std::ostream &os) const
Returns cell and T matrix of this element.
Real solutionEdgeCenter(const concepts::Vector< Real > &sol, const uint edgeIdx) const
Returns the value of the solution sol at the center of edge edgeIdx of this tetrahedron.
FvdgElement(const concepts::Tetrahedron3d &cell, uint idx[], uint m)
Constructor.
virtual const concepts::Tetrahedron3d & cell() const
Returns the geometrical cell of this element.
Definition: element.hh:44
const concepts::ElementGraphics< Real > * graphics() const
Returns the graphics object for the element.
Real shapeFct(const uint fctIdx, const concepts::Real3d xi) const
Shape function.
static Real shapeFctEdgeCenter_[6][4]
Values of shape functions at edge centers.
Definition: element.hh:236
#define conceptsAssert(cond, exc)
Assert that a certain condition is fulfilled.
Definition: exceptions.hh:394
virtual void operator()(const concepts::Element< Real > &elm, enum graphicsType type, concepts::CellPostprocess< Real > &post) const
Real shapeFct(const uint fctIdx, const concepts::Real3d xi) const
Shape function.
Definition: element.hh:122
virtual Real shapeFctVertex(const uint fctIdx, const uint vtxIdx) const =0
Shapefunction at vertex.
Real shapeFctVertex(const uint fctIdx, const uint vtxIdx) const
Shapefunction at vertex.
Definition: element.hh:138
concepts::Real3d shapeFctGradient(const uint fctIdx) const
Gradient of shape function.
Definition: element.hh:145
Real shapeFctEdgeCenter(const uint fctIdx, const uint edgeIdx) const
Shapefunction at edge center.
Definition: element.hh:196
virtual const concepts::ElementGraphics< Real > * graphics() const =0
Returns the graphics object for the element.
virtual std::ostream & info(std::ostream &os) const
Returns cell and T matrix of this element.
Real solutionVertex(const concepts::Vector< Real > &sol, const uint vertexIdx) const
Returns the value of the solution sol at vertex vertexIdx of this tetrahedron.
const concepts::Tetrahedron & support() const
Returns the topological support of this element.
Definition: element.hh:36
virtual Real solutionVertex(const concepts::Vector< Real > &sol, const uint vertexIdx) const =0
Returns the value of the solution sol at vertex vertexIdx of this tetrahedron.
concepts::Real3d edgeCenter(uint edgeIdx) const
Returns the real world coordinates of the center of the edge with index edgeIdx.
Real solutionEdgeCenter(const concepts::Vector< Real > &sol, const uint edgeIdx) const
Returns the value of the solution sol at the center of edge edgeIdx of this tetrahedron.
Definition: element.hh:153
static uint nonVanishingNbr_[6]
Number of non vanishing shape function at edge centers.
Definition: element.hh:240
FvdgP1TetElem(const concepts::Tetrahedron3d &cell, uint idx[])
Constructor.
static std::unique_ptr< FvdgP0TetGraphics > graphics_
Graphics object of the element.
Definition: element.hh:172
const concepts::ElementGraphics< Real > * graphics() const
Returns the graphics object for the element.
static Real nonVanishingSign_[6]
Value of non vanishing shape function at edge centers.
Definition: element.hh:242
virtual std::ostream & info(std::ostream &os) const
Returns cell and T matrix of this element.
Real3d vertex(uint i) const
Returns the coordinates of the ith vertex.
static std::unique_ptr< FvdgP1TetGraphics > graphics_
Graphics object of the element.
Definition: element.hh:246
std::unique_ptr< concepts::TMatrixBase< Real > > T_
Definition: element.hh:102
virtual std::ostream & info(std::ostream &os) const
virtual Real shapeFct(const uint fctIdx, const concepts::Real3d xi) const =0
Shape function.
Real solutionVertex(const concepts::Vector< Real > &sol, const uint vertexIdx) const
Returns the value of the solution sol at vertex vertexIdx of this tetrahedron.
Definition: element.hh:162
const concepts::Real3d vertex(const uint i) const
Returns the vertex with local index i in this element.
Definition: element.hh:40
virtual void operator()(const concepts::Element< Real > &elm, enum graphicsType type, concepts::CellPostprocess< Real > &post) const
Real shapeFctEdgeCenter(const uint fctIdx, const uint edgeIdx) const
Shapefunction at edge center.
Definition: element.hh:130
concepts::Real3d shapeFctGradient(const uint fctIdx) const
Gradient of shape function.
Real shapeFctVertex(const uint fctIdx, const uint vtxIdx) const
Shapefunction at vertex.
Definition: element.hh:206
virtual std::ostream & info(std::ostream &os) const
FvdgP0TetElem(const concepts::Tetrahedron3d &cell, uint idx[])
Constructor.
virtual Real shapeFctEdgeCenter(const uint fctIdx, const uint edgeIdx) const =0
Shapefunction at edge center.
virtual concepts::Real3d shapeFctGradient(const uint fctIdx) const =0
Gradient of shape function.
Real solution(const concepts::Vector< Real > &sol, const concepts::Real3d xi) const
Returns the value of the solution sol at the reference element coordinate xi.