Estimator Class Reference
To calculate an a posteriori estimator of the solution. More...
Public Types |
Public Member Functions | |
Estimator () | |
Default Constructor. | |
Estimator (Mesh &m, Vect< real_t > &e) | |
Constructor using finite element mesh and elementwise estimator. More... | |
~Estimator () | |
Destructor. | |
void | setType (EstimatorType t=ESTIM_ZZ) |
Select type of a posteriori estimator. More... | |
void | setError (const Vect< real_t > &u) |
Calculate error using Vect solution vector u. | |
real_t | getAverage () const |
Return averaged error. | |
Mesh & | getMesh () const |
Return a reference to the finite element mesh. | |
Detailed Description
To calculate an a posteriori estimator of the solution.
This class enables calculating an estimator of a solution in order to evaluate reliability. Estimation uses the so-called Zienkiewicz-Zhu estimator.
Member Enumeration Documentation
enum EstimatorType |
Constructor & Destructor Documentation
Constructor using finite element mesh and elementwise estimator.
- Parameters
-
[in] m Mesh instance [in,out] e Vector that contains once the member function setError is invoked a posteriori estimator at each element
Member Function Documentation
void setType | ( | EstimatorType | t = ESTIM_ZZ | ) |
Select type of a posteriori estimator.
- Parameters
-
[in] t Type of estimator. It has to be chosen among the enumerated values: -
ESTIM_ZZ
: The Zhu-Zienckiewicz estimator (Default value) -
ESTIM_ND_JUMP
: An estimator based on the jump of normal derivatives of the solution across mesh sides
-