concepts::LocalEstimator< F > Class Template Referenceabstract
** More...
#include <estimator.hh>
Public Types | |
typedef HashMap< Real >::const_iterator | const_iterator |
typedef concepts::Realtype< F >::type | G |
typedef HashMap< Real >::iterator | iterator |
typedef F | value_type |
Public Member Functions | |
iterator | begin () |
const_iterator | begin () const |
virtual LocalEstimator< F > * | clone () const =0 |
Virtual constructor. More... | |
virtual ElementFormula< F, concepts::Realtype< F >::type > * | clone () const=0 |
Virtual copy constructor. More... | |
virtual F & | dflt_value () |
Gives default value. More... | |
virtual const F & | dflt_value () const |
Gives default value. More... | |
iterator | end () |
const_iterator | end () const |
const Real | getGlobal () const |
uint | nelm () const |
virtual F | operator() (const Connector &cntr, const Real p, const Real t=0.0) const |
Gives the value in an particular cell on a particular point. More... | |
virtual F | operator() (const Connector &cntr, const Real2d &p, const Real t=0.0) const |
virtual F | operator() (const Connector &cntr, const Real3d &p, const Real t=0.0) const |
virtual F | operator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real p, const Real t=0.0) const=0 |
Evaluates the formula. More... | |
virtual F | operator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real2d &p, const Real t=0.0) const=0 |
Evaluates the formula. More... | |
virtual F | operator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real3d &p, const Real t=0.0) const=0 |
Evaluates the formula. More... | |
virtual F | operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const |
virtual F | operator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const |
virtual F | operator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const |
const Real | operator() (uint key) const |
Return the error on given local element, that belongs to the input key. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const =0 |
Returns information in an output stream. More... | |
LocalEstimator (const concepts::SpaceOnCells< F > &spc, const concepts::Vector< F > &sol) | |
Protected Attributes | |
Real | globError_ |
concepts::HashMap< Real > | locError_ |
const concepts::Vector< F > & | sol_ |
const concepts::SpaceOnCells< F > & | spc_ |
Private Attributes | |
F | dflt_value_ |
default value More... | |
Detailed Description
template<class F>
class concepts::LocalEstimator< F >
**
** ** Abstract Class representing Error Estimators of local kind. As local kind one means element wise error indicators.
Definition at line 91 of file estimator.hh.
Member Typedef Documentation
◆ const_iterator
typedef HashMap<Real>::const_iterator concepts::LocalEstimator< F >::const_iterator |
Definition at line 96 of file estimator.hh.
◆ G
|
inherited |
Definition at line 45 of file piecewiseFormula.hh.
◆ iterator
typedef HashMap<Real>::iterator concepts::LocalEstimator< F >::iterator |
Definition at line 95 of file estimator.hh.
◆ value_type
|
inherited |
Definition at line 37 of file elementFormula.hh.
Constructor & Destructor Documentation
◆ LocalEstimator()
|
inlineprotected |
Definition at line 145 of file estimator.hh.
Member Function Documentation
◆ begin() [1/2]
|
inline |
Definition at line 100 of file estimator.hh.
◆ begin() [2/2]
|
inline |
Definition at line 104 of file estimator.hh.
◆ clone() [1/2]
|
pure virtual |
Virtual constructor.
Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.
Implements concepts::PiecewiseFormulaBase< F >.
Implemented in concepts::ExplicitResidual< F >, hp2D::ImplicitEquilibratedA0< F >, and hp2D::ExplicitResidual2D< F >.
◆ clone() [2/2]
|
pure virtualinherited |
Virtual copy constructor.
◆ dflt_value() [1/2]
|
inlinevirtualinherited |
Gives default value.
Definition at line 83 of file piecewiseFormula.hh.
◆ dflt_value() [2/2]
|
inlinevirtualinherited |
Gives default value.
Definition at line 81 of file piecewiseFormula.hh.
◆ end() [1/2]
|
inline |
Definition at line 108 of file estimator.hh.
◆ end() [2/2]
|
inline |
Definition at line 112 of file estimator.hh.
◆ getGlobal()
|
inlineinherited |
Definition at line 22 of file estimator.hh.
◆ info()
|
protectedpure virtual |
Returns information in an output stream.
Implements concepts::Estimator< F >.
Implemented in hp2D::ImplicitEquilibratedA0< F >, hp2D::ExplicitResidual2D< F >, hp1D::ExplicitResidual1D< F >, and concepts::ExplicitResidual< F >.
◆ nelm()
|
inline |
Definition at line 116 of file estimator.hh.
◆ operator()() [1/10]
|
inlinevirtual |
Gives the value in an particular cell on a particular point.
- Parameters
-
cell topological cell p physical coordinates t time
Implements concepts::PiecewiseFormulaBase< F >.
Definition at line 132 of file estimator.hh.
◆ operator()() [2/10]
|
inlinevirtual |
Implements concepts::PiecewiseFormulaBase< F >.
Definition at line 135 of file estimator.hh.
◆ operator()() [3/10]
|
inlinevirtual |
Implements concepts::PiecewiseFormulaBase< F >.
Definition at line 138 of file estimator.hh.
◆ operator()() [4/10]
|
pure virtualinherited |
◆ operator()() [5/10]
|
pure virtualinherited |
◆ operator()() [6/10]
|
pure virtualinherited |
◆ operator()() [7/10]
|
inlinevirtualinherited |
Definition at line 52 of file piecewiseFormula.hh.
◆ operator()() [8/10]
|
inlinevirtualinherited |
Definition at line 57 of file piecewiseFormula.hh.
◆ operator()() [9/10]
|
inlinevirtualinherited |
Definition at line 63 of file piecewiseFormula.hh.
◆ operator()() [10/10]
|
inline |
Return the error on given local element, that belongs to the input key.
Definition at line 123 of file estimator.hh.
Member Data Documentation
◆ dflt_value_
|
privateinherited |
default value
Definition at line 88 of file piecewiseFormula.hh.
◆ globError_
|
protectedinherited |
Definition at line 37 of file estimator.hh.
◆ locError_
|
protected |
Definition at line 151 of file estimator.hh.
◆ sol_
|
protectedinherited |
Definition at line 35 of file estimator.hh.
◆ spc_
|
protectedinherited |
Definition at line 33 of file estimator.hh.
The documentation for this class was generated from the following file:
- estimator/estimator.hh