MFEM  v4.2.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | List of all members
mfem::ErrorEstimator Class Referenceabstract

Base class for all element based error estimators. More...

#include <estimators.hpp>

Inheritance diagram for mfem::ErrorEstimator:
[legend]
Collaboration diagram for mfem::ErrorEstimator:
[legend]

Public Member Functions

virtual const VectorGetLocalErrors ()=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 ()
 

Detailed Description

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 39 of file estimators.hpp.

Constructor & Destructor Documentation

virtual mfem::ErrorEstimator::~ErrorEstimator ( )
inlinevirtual

Destruct the error estimator.

Definition at line 49 of file estimators.hpp.

Member Function Documentation

virtual const Vector& mfem::ErrorEstimator::GetLocalErrors ( )
pure virtual
virtual void mfem::ErrorEstimator::Reset ( )
pure virtual

Force recomputation of the estimates on the next call to GetLocalErrors.

Implemented in mfem::LpErrorEstimator, mfem::L2ZienkiewiczZhuEstimator, and mfem::ZienkiewiczZhuEstimator.


The documentation for this class was generated from the following file: