hp2D::ApproxMoments< F > Class Template Reference
#include <moments.hh>
Public Types | |
typedef concepts::ElementAndFacette< hp2D::Element< F > > | UnderlyingElement |
Public Member Functions | |
void | addComplete () |
Heart of this class. More... | |
void | addDirichlet (concepts::Set< uint > &set) |
Add homogeneous dirichlet data since integration rountines later need that information. More... | |
void | addDirichlet (uint attrb) |
Add homogeneous dirichlet data since integration rountines later need that information. More... | |
void | addNeumann (concepts::ParsedFormula< F > &frm, concepts::Set< uint > &set) |
Add Neumann data since integration rountines later need that information. More... | |
void | addNeumann (concepts::ParsedFormula< F > &frm, uint attrib) |
Add Neumann data since integration rountines later need that information. More... | |
ApproxMoments (const concepts::SpaceOnCells< F > &spc, const concepts::Vector< F > &sol) | |
Real | getWeight (uint quadKey, uint edgeKey) const |
const concepts::ElementMatrix< F > & | operator() (uint edgeKey) const |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Private Member Functions | |
void | computeID_ () |
void | computeN_ () |
Private Attributes | |
concepts::Set< uint > | dAttrbs_ |
concepts::Sequence< concepts::ParsedFormula< F > > | frms_ |
concepts::HashMap< concepts::ElementMatrix< F > > | hashM_ |
concepts::Sequence< concepts::Set< uint > > | nAttrbs_ |
const concepts::Vector< F > & | sol_ |
const concepts::SpaceOnCells< Real > & | spc_ |
concepts::HashMap< concepts::Sequence< UnderlyingElement > > | uelm_ |
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
typedef concepts::ElementAndFacette<hp2D::Element<F> > hp2D::ApproxMoments< F >::UnderlyingElement |
Definition at line 54 of file moments.hh.
Constructor & Destructor Documentation
◆ ApproxMoments()
hp2D::ApproxMoments< F >::ApproxMoments | ( | const concepts::SpaceOnCells< F > & | spc, |
const concepts::Vector< F > & | sol | ||
) |
Member Function Documentation
◆ addComplete()
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]
|
inline |
Add homogeneous dirichlet data since integration rountines later need that information.
- Parameters
-
set A 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]
|
inline |
Add homogeneous dirichlet data since integration rountines later need that information.
- Parameters
-
attrb Attribute holding the key of edges on which the homogeneous dirichlet data is defined.
Definition at line 92 of file moments.hh.
◆ addNeumann() [1/2]
|
inline |
Add Neumann data since integration rountines later need that information.
- Parameters
-
frm Neumann data. set A set holding all keys of edges on which the neumann data is defined.
Definition at line 64 of file moments.hh.
◆ addNeumann() [2/2]
|
inline |
Add Neumann data since integration rountines later need that information.
- Parameters
-
frm Neumann data. attrib Attrib holding the key of edges on which the neumann data is defined.
Definition at line 75 of file moments.hh.
◆ computeID_()
|
private |
◆ computeN_()
|
private |
◆ getWeight()
|
inline |
Definition at line 114 of file moments.hh.
◆ info()
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
◆ operator()()
|
inline |
Definition at line 105 of file moments.hh.
Friends And Related Function Documentation
◆ EquilibratedMomentsAO
Definition at line 51 of file moments.hh.
Member Data Documentation
◆ dAttrbs_
|
private |
Definition at line 164 of file moments.hh.
◆ frms_
|
private |
Definition at line 160 of file moments.hh.
◆ hashM_
|
private |
Definition at line 143 of file moments.hh.
◆ nAttrbs_
|
private |
Definition at line 162 of file moments.hh.
◆ sol_
|
private |
Definition at line 146 of file moments.hh.
◆ spc_
|
private |
Definition at line 140 of file moments.hh.
◆ uelm_
|
private |
Definition at line 151 of file moments.hh.
The documentation for this class was generated from the following file:
- estimator/moments.hh