MFEM  v4.5.2
Finite element discretization library
Public Member Functions | List of all members
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. More...
 
- Public Member Functions inherited from mfem::ErrorEstimator
virtual double GetTotalError () const
 Return the total error from the last error estimate. More...
 
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

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::ZienkiewiczZhuEstimator, and mfem::TMOPRefinerEstimator.


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