MFEM  v3.3.2
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 ()
 
- 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

Definition at line 48 of file estimators.hpp.

Member Function Documentation

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

Get a Vector with all element errors.

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

virtual void mfem::ErrorEstimator::Reset ( )
pure virtual

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

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


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