estimator::ExactEstimator< F > Class Template Reference
Abstract class representing the explicit residual a posteriori error estimator. More...
#include <exactEstimator.hh>
Public Member Functions | |
template<class G , class H > | |
void | addErrorContr (const concepts::ElementFormula< G > *efrm, const concepts::ElementFormula< H > *afrm, Real s=1.0, const concepts::ElementFormula< F > *w=0) |
Sets individual norm contributions up to now everything in L2 norm. More... | |
virtual ExactEstimator< F > * | clone () const |
void | compute () |
ExactEstimator (const concepts::SpaceOnCells< F > &spc, const concepts::Vector< F > &sol) | |
Constructur of the exact error estimator. More... | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Private Attributes | |
concepts::Sequence< const concepts::ElementFormula< F > * > | norm_apprx_fs_ |
concepts::Sequence< const concepts::ElementFormula< F > * > | norm_exact_fs_ |
concepts::Sequence< Real > | norm_s_ |
concepts::Sequence< const concepts::ElementFormula< F > * > | norm_ws_ |
Detailed Description
template<class F = Real>
class estimator::ExactEstimator< F >
Abstract class representing the explicit residual a posteriori error estimator.
At the moment just one underlying space is supported, i.e. with that robin conditions cannot be handeled for the residuals, atm
Definition at line 30 of file exactEstimator.hh.
Constructor & Destructor Documentation
◆ ExactEstimator()
|
inline |
Constructur of the exact error estimator.
- Parameters
-
spc Underlying 2d Space, i.e. a AdaptiveSpace sol solution vector of the approximated FEM solution
Definition at line 41 of file exactEstimator.hh.
Member Function Documentation
◆ addErrorContr()
|
inline |
Sets individual norm contributions up to now everything in L2 norm.
example 1) efrm = Grad(u), afrm = Grad(u_{hp}), w = 0 , s = 1.0 implies norm contribution || Grad(u) - Grad[u_{hp}] ||_{L^2(K)} on each element K.
example 2) efrm = u, afrm = u_{hp} w = ParsedFormula("(1/sqrt(x^2+y^2))") s = lambda implies the contribution lambda * || w * (u_{hp}-u) ||_{L^2(K)} on each element K where u_{hp} is the approximate solution
Definition at line 64 of file exactEstimator.hh.
◆ clone()
|
inlinevirtual |
Definition at line 105 of file exactEstimator.hh.
◆ compute()
|
inline |
Definition at line 92 of file exactEstimator.hh.
◆ info()
|
inlineprotectedvirtual |
Definition at line 109 of file exactEstimator.hh.
Member Data Documentation
◆ norm_apprx_fs_
|
private |
Definition at line 119 of file exactEstimator.hh.
◆ norm_exact_fs_
|
private |
Definition at line 118 of file exactEstimator.hh.
◆ norm_s_
|
private |
Definition at line 121 of file exactEstimator.hh.
◆ norm_ws_
|
private |
Definition at line 120 of file exactEstimator.hh.
The documentation for this class was generated from the following file:
- estimator/exactEstimator.hh