Class documentation of Concepts

Loading...
Searching...
No Matches
hp2D::ApproxMoments< F > Class Template Reference
Inheritance diagram for hp2D::ApproxMoments< F >:
concepts::OutputOperator

Public Types

typedef concepts::ElementAndFacette< hp2D::Element< F > > UnderlyingElement
 

Public Member Functions

 ApproxMoments (const concepts::SpaceOnCells< F > &spc, const concepts::Vector< F > &sol)
 
void addNeumann (concepts::ParsedFormula< F > &frm, concepts::Set< uint > &set)
 
void addNeumann (concepts::ParsedFormula< F > &frm, uint attrib)
 
void addDirichlet (concepts::Set< uint > &set)
 
void addDirichlet (uint attrb)
 
void addComplete ()
 
const concepts::ElementMatrix< F > & operator() (uint edgeKey) const
 
Real getWeight (uint quadKey, uint edgeKey) const
 

Protected Member Functions

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

Friends

template<class >
class EquilibratedMomentsAO
 

Detailed Description

template<typename F = concepts::Real>
class hp2D::ApproxMoments< F >

Definition at line 48 of file moments.hh.

Member Typedef Documentation

◆ UnderlyingElement

template<typename F = concepts::Real>
typedef concepts::ElementAndFacette<hp2D::Element<F> > hp2D::ApproxMoments< F >::UnderlyingElement

Definition at line 54 of file moments.hh.

Member Function Documentation

◆ addComplete()

template<typename F = concepts::Real>
void hp2D::ApproxMoments< F >::addComplete ( )

Heart of this class. This does the computations for the approximated moments. Used after adding all Formulas with add routines.

◆ addDirichlet() [1/2]

template<typename F = concepts::Real>
void hp2D::ApproxMoments< F >::addDirichlet ( concepts::Set< uint > &  set)
inline

Add homogeneous dirichlet data since integration rountines later need that information.

Parameters
setA set holding all keys of edges on which the homogeneous dirichlet data is defined.

Definition at line 84 of file moments.hh.

◆ addDirichlet() [2/2]

template<typename F = concepts::Real>
void hp2D::ApproxMoments< F >::addDirichlet ( uint  attrb)
inline

Add homogeneous dirichlet data since integration rountines later need that information.

Parameters
attrbAttribute holding the key of edges on which the homogeneous dirichlet data is defined.

Definition at line 92 of file moments.hh.

◆ addNeumann() [1/2]

template<typename F = concepts::Real>
void hp2D::ApproxMoments< F >::addNeumann ( concepts::ParsedFormula< F > &  frm,
concepts::Set< uint > &  set 
)
inline

Add Neumann data since integration rountines later need that information.

Parameters
frmNeumann data.
setA set holding all keys of edges on which the neumann data is defined.

Definition at line 64 of file moments.hh.

◆ addNeumann() [2/2]

template<typename F = concepts::Real>
void hp2D::ApproxMoments< F >::addNeumann ( concepts::ParsedFormula< F > &  frm,
uint  attrib 
)
inline

Add Neumann data since integration rountines later need that information.

Parameters
frmNeumann data.
attribAttrib holding the key of edges on which the neumann data is defined.

Definition at line 75 of file moments.hh.

◆ getWeight()

template<typename F = concepts::Real>
Real hp2D::ApproxMoments< F >::getWeight ( uint  quadKey,
uint  edgeKey 
) const
inline

Definition at line 114 of file moments.hh.

◆ info()

template<typename F = concepts::Real>
virtual std::ostream & hp2D::ApproxMoments< F >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ operator()()

template<typename F = concepts::Real>
const concepts::ElementMatrix< F > & hp2D::ApproxMoments< F >::operator() ( uint  edgeKey) const
inline

Definition at line 105 of file moments.hh.

Friends And Related Symbol Documentation

◆ EquilibratedMomentsAO

template<typename F = concepts::Real>
template<class >
friend class EquilibratedMomentsAO
friend

Definition at line 51 of file moments.hh.


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