KASKADE 7 development version
Public Member Functions | Protected Attributes | List of all members
Kaskade::ErrorEstimatorBase< VariableSetDescription, ErrorRepresentation, ExtensionSpace, RefinementStrategy > Class Template Referenceabstract

#include <errorEstimationTraits.hh>

Detailed Description

template<class VariableSetDescription, class ErrorRepresentation, class ExtensionSpace, template< class > class RefinementStrategy>
class Kaskade::ErrorEstimatorBase< VariableSetDescription, ErrorRepresentation, ExtensionSpace, RefinementStrategy >

Definition at line 134 of file errorEstimationTraits.hh.

Inheritance diagram for Kaskade::ErrorEstimatorBase< VariableSetDescription, ErrorRepresentation, ExtensionSpace, RefinementStrategy >:
Kaskade::AbstractHierarchicalErrorEstimator

Public Member Functions

 ErrorEstimatorBase (ExtensionSpace &extensionSpace_, double fraction, bool verbose=false)
 
double estimatedAbsoluteError () const final
 
size_t gridSize () const final
 
void refineGrid () final
 
virtual void operator() (AbstractLinearization const &lin, AbstractFunctionSpaceElement const &x, AbstractFunctionSpaceElement const &dx, int, AbstractFunctionSpaceElement const &rhs)=0
 

Protected Attributes

ExtensionSpace & extensionSpace
 
std::vector< std::pair< double, int > > errorDistribution = {}
 
std::unique_ptr< ErrorRepresentation > mde
 
double squaredError = 0
 

Constructor & Destructor Documentation

◆ ErrorEstimatorBase()

template<class VariableSetDescription , class ErrorRepresentation , class ExtensionSpace , template< class > class RefinementStrategy>
Kaskade::ErrorEstimatorBase< VariableSetDescription, ErrorRepresentation, ExtensionSpace, RefinementStrategy >::ErrorEstimatorBase ( ExtensionSpace &  extensionSpace_,
double  fraction,
bool  verbose = false 
)
inline

Definition at line 137 of file errorEstimationTraits.hh.

Member Function Documentation

◆ estimatedAbsoluteError()

template<class VariableSetDescription , class ErrorRepresentation , class ExtensionSpace , template< class > class RefinementStrategy>
double Kaskade::ErrorEstimatorBase< VariableSetDescription, ErrorRepresentation, ExtensionSpace, RefinementStrategy >::estimatedAbsoluteError ( ) const
inlinefinalvirtual

◆ gridSize()

template<class VariableSetDescription , class ErrorRepresentation , class ExtensionSpace , template< class > class RefinementStrategy>
size_t Kaskade::ErrorEstimatorBase< VariableSetDescription, ErrorRepresentation, ExtensionSpace, RefinementStrategy >::gridSize ( ) const
inlinefinalvirtual

◆ operator()()

virtual void Kaskade::AbstractHierarchicalErrorEstimator::operator() ( AbstractLinearization const &  lin,
AbstractFunctionSpaceElement const &  x,
AbstractFunctionSpaceElement const &  dx,
int  ,
AbstractFunctionSpaceElement const &  rhs 
)
pure virtualinherited

◆ refineGrid()

template<class VariableSetDescription , class ErrorRepresentation , class ExtensionSpace , template< class > class RefinementStrategy>
void Kaskade::ErrorEstimatorBase< VariableSetDescription, ErrorRepresentation, ExtensionSpace, RefinementStrategy >::refineGrid ( )
inlinefinalvirtual

Member Data Documentation

◆ errorDistribution

template<class VariableSetDescription , class ErrorRepresentation , class ExtensionSpace , template< class > class RefinementStrategy>
std::vector<std::pair<double,int> > Kaskade::ErrorEstimatorBase< VariableSetDescription, ErrorRepresentation, ExtensionSpace, RefinementStrategy >::errorDistribution = {}
protected

◆ extensionSpace

template<class VariableSetDescription , class ErrorRepresentation , class ExtensionSpace , template< class > class RefinementStrategy>
ExtensionSpace& Kaskade::ErrorEstimatorBase< VariableSetDescription, ErrorRepresentation, ExtensionSpace, RefinementStrategy >::extensionSpace
protected

◆ mde

template<class VariableSetDescription , class ErrorRepresentation , class ExtensionSpace , template< class > class RefinementStrategy>
std::unique_ptr<ErrorRepresentation> Kaskade::ErrorEstimatorBase< VariableSetDescription, ErrorRepresentation, ExtensionSpace, RefinementStrategy >::mde
protected

◆ squaredError

template<class VariableSetDescription , class ErrorRepresentation , class ExtensionSpace , template< class > class RefinementStrategy>
double Kaskade::ErrorEstimatorBase< VariableSetDescription, ErrorRepresentation, ExtensionSpace, RefinementStrategy >::squaredError = 0
protected

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