Class documentation of Concepts

Loading...
Searching...
No Matches

#include <edge.hh>

Inheritance diagram for hp2Dedge::QuadEdgeJump:
hp2Dedge::QuadEdgeBase concepts::OutputOperator

Public Member Functions

 QuadEdgeJump (const concepts::EdgeNormalVectorRule &normalVectorRule=concepts::EdgeNormalVectorRule())
 
template<class F >
std::pair< hp1D::LegendreElement< F > *, concepts::Edge2d * > edge (const Quad< F > &elm, const ushort k, bool emptyElm=true, hp1D::LegendreElement< F > *edge=0)
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Protected Attributes

std::unique_ptr< const concepts::EdgeNormalVectorRulenormalVectorRule_
 Rule for defining the direction of the normal vector for new edges.
 

Detailed Description

Take the jump between the trace from side in which the normal vector points and the other side.

Definition at line 150 of file edge.hh.

Constructor & Destructor Documentation

◆ QuadEdgeJump()

hp2Dedge::QuadEdgeJump::QuadEdgeJump ( const concepts::EdgeNormalVectorRule normalVectorRule = concepts::EdgeNormalVectorRule())
inline

Definition at line 152 of file edge.hh.

Member Function Documentation

◆ edge()

template<class F >
std::pair< hp1D::LegendreElement< F > *, concepts::Edge2d * > hp2Dedge::QuadEdgeBase::edge ( const Quad< F > &  elm,
const ushort  k,
bool  emptyElm = true,
hp1D::LegendreElement< F > *  edge = 0 
)
inherited

Returns the element and the geometrical cell as pair belonging to the k th edge in the quadrilateral element elm. The polynomial degree and the T matrix are set properly.

The geometrical cell is included in the element as reference, so it has to be deleted after deletion of the element.

If edge is given than degrees of freedom are added by adapting the T-matrix. This is the case when taking trace from both sides of an edge (e.g., mean or jump). In that case the cell is not returned in the pair, i.e., the returned pointer to the cell (Edge2d) is 0.

Parameters
emptyElmIncorporate also empty elements (no dof).
edgeElement to which dof are added (adaptation of T-matrix)

◆ info()

virtual std::ostream & hp2Dedge::QuadEdgeJump::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from hp2Dedge::QuadEdgeBase.

Member Data Documentation

◆ normalVectorRule_

std::unique_ptr<const concepts::EdgeNormalVectorRule> hp2Dedge::QuadEdgeBase::normalVectorRule_
protectedinherited

Rule for defining the direction of the normal vector for new edges.

Definition at line 86 of file edge.hh.


The documentation for this class was generated from the following file: