Public Member Functions | List of all members
oomph::ErrorEstimator Class Referenceabstract

Base class for spatial error estimators. More...

#include <error_estimator.h>

+ Inheritance diagram for oomph::ErrorEstimator:

Public Member Functions

 ErrorEstimator ()
 Default empty constructor. More...
 
 ErrorEstimator (const ErrorEstimator &)=delete
 Broken copy constructor. More...
 
void operator= (const ErrorEstimator &)=delete
 Broken assignment operator. More...
 
virtual ~ErrorEstimator ()
 Empty virtual destructor. More...
 
void get_element_errors (Mesh *&mesh_pt, Vector< double > &elemental_error)
 Compute the elemental error-measures for a given mesh and store them in a vector. More...
 
virtual void get_element_errors (Mesh *&mesh_pt, Vector< double > &elemental_error, DocInfo &doc_info)=0
 Compute the elemental error measures for a given mesh and store them in a vector. Doc errors etc. More...
 

Detailed Description

Base class for spatial error estimators.

Definition at line 39 of file error_estimator.h.

Constructor & Destructor Documentation

◆ ErrorEstimator() [1/2]

oomph::ErrorEstimator::ErrorEstimator ( )
inline

Default empty constructor.

Definition at line 43 of file error_estimator.h.

◆ ErrorEstimator() [2/2]

oomph::ErrorEstimator::ErrorEstimator ( const ErrorEstimator )
delete

Broken copy constructor.

◆ ~ErrorEstimator()

virtual oomph::ErrorEstimator::~ErrorEstimator ( )
inlinevirtual

Empty virtual destructor.

Definition at line 52 of file error_estimator.h.

Member Function Documentation

◆ get_element_errors() [1/2]

void oomph::ErrorEstimator::get_element_errors ( Mesh *&  mesh_pt,
Vector< double > &  elemental_error 
)
inline

Compute the elemental error-measures for a given mesh and store them in a vector.

Definition at line 56 of file error_estimator.h.

References oomph::DocInfo::disable_doc().

Referenced by oomph::Problem::adapt(), oomph::Problem::doc_errors(), oomph::Problem::get_all_error_estimates(), oomph::Problem::p_adapt(), and oomph::METIS::partition_mesh().

◆ get_element_errors() [2/2]

virtual void oomph::ErrorEstimator::get_element_errors ( Mesh *&  mesh_pt,
Vector< double > &  elemental_error,
DocInfo doc_info 
)
pure virtual

Compute the elemental error measures for a given mesh and store them in a vector. Doc errors etc.

Implemented in oomph::DummyErrorEstimator, and oomph::Z2ErrorEstimator.

◆ operator=()

void oomph::ErrorEstimator::operator= ( const ErrorEstimator )
delete

Broken assignment operator.


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