MFEM
v4.5.2
Finite element discretization library
|
Base class for all element based error estimators. More...
#include <estimators.hpp>
Public Member Functions | |
virtual double | GetTotalError () const |
Return the total error from the last error estimate. More... | |
virtual const Vector & | GetLocalErrors ()=0 |
Get a Vector with all element errors. More... | |
virtual void | Reset ()=0 |
Force recomputation of the estimates on the next call to GetLocalErrors. More... | |
virtual | ~ErrorEstimator () |
Destruct the error estimator. More... | |
Public Member Functions inherited from mfem::AbstractErrorEstimator | |
virtual | ~AbstractErrorEstimator () |
Base class for all element based error estimators.
At a minimum, an ErrorEstimator must be able compute one non-negative real (double) number for each element in the Mesh.
Definition at line 41 of file estimators.hpp.
|
inlinevirtual |
Destruct the error estimator.
Definition at line 56 of file estimators.hpp.
|
pure virtual |
Get a Vector with all element errors.
Implemented in mfem::KellyErrorEstimator, mfem::LpErrorEstimator, mfem::L2ZienkiewiczZhuEstimator, mfem::LSZienkiewiczZhuEstimator, mfem::ZienkiewiczZhuEstimator, mfem::TMOPDeRefinerEstimator, and mfem::TMOPRefinerEstimator.
|
inlinevirtual |
Return the total error from the last error estimate.
Reimplemented in mfem::KellyErrorEstimator, mfem::L2ZienkiewiczZhuEstimator, mfem::LSZienkiewiczZhuEstimator, and mfem::ZienkiewiczZhuEstimator.
Definition at line 47 of file estimators.hpp.
|
pure virtual |
Force recomputation of the estimates on the next call to GetLocalErrors.
Implemented in mfem::KellyErrorEstimator, mfem::LpErrorEstimator, mfem::L2ZienkiewiczZhuEstimator, mfem::LSZienkiewiczZhuEstimator, mfem::ZienkiewiczZhuEstimator, mfem::TMOPDeRefinerEstimator, and mfem::TMOPRefinerEstimator.