MFEM v4.7.0
Finite element discretization library
Loading...
Searching...
No Matches
mfem::AnisotropicErrorEstimator Class Referenceabstract

The AnisotropicErrorEstimator class is the base class for all error estimators that compute one non-negative real (double) number and an anisotropic flag for every element in the Mesh. More...

#include <estimators.hpp>

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

Public Member Functions

virtual const Array< int > & GetAnisotropicFlags ()=0
 Get an Array<int> with anisotropic flags for all mesh elements.
 
- Public Member Functions inherited from mfem::ErrorEstimator
virtual real_t GetTotalError () const
 Return the total error from the last error estimate.
 
virtual const VectorGetLocalErrors ()=0
 Get a Vector with all element errors.
 
virtual void Reset ()=0
 Force recomputation of the estimates on the next call to GetLocalErrors.
 
virtual ~ErrorEstimator ()
 Destruct the error estimator.
 
- Public Member Functions inherited from mfem::AbstractErrorEstimator
virtual ~AbstractErrorEstimator ()
 

Detailed Description

The AnisotropicErrorEstimator class is the base class for all error estimators that compute one non-negative real (double) number and an anisotropic flag for every element in the Mesh.

Definition at line 64 of file estimators.hpp.

Member Function Documentation

◆ GetAnisotropicFlags()

virtual const Array< int > & mfem::AnisotropicErrorEstimator::GetAnisotropicFlags ( )
pure virtual

Get an Array<int> with anisotropic flags for all mesh elements.

Returns
An empty array when anisotropic estimates are not available or enabled.

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


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