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 &)
 Broken copy constructor. More...
 
void operator= (const ErrorEstimator &)
 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 43 of file error_estimator.h.

Constructor & Destructor Documentation

oomph::ErrorEstimator::ErrorEstimator ( )
inline

Default empty constructor.

Definition at line 49 of file error_estimator.h.

oomph::ErrorEstimator::ErrorEstimator ( const ErrorEstimator )
inline

Broken copy constructor.

Definition at line 52 of file error_estimator.h.

References oomph::BrokenCopy::broken_copy().

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

Empty virtual destructor.

Definition at line 64 of file error_estimator.h.

Member Function Documentation

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 68 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(), and oomph::Problem::p_adapt().

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.

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

Broken assignment operator.

Definition at line 58 of file error_estimator.h.

References oomph::BrokenCopy::broken_assign().


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