ug4
ug::IDomainErrorIndicator< TAlgebra > Class Template Referenceabstract

Interface for an object that can estimate the (global) error. More...

#include <domain_disc_interface.h>

+ Inheritance diagram for ug::IDomainErrorIndicator< TAlgebra >:

Public Types

typedef CPUAlgebra::vector_type error_vector_type
 Type of error vector. More...
 
typedef TAlgebra::vector_type vector_type
 Type of algebra vector. More...
 

Public Member Functions

virtual void calc_error (const vector_type &u, const GridLevel &gl, error_vector_type *u_vtk=NULL)=0
 
virtual void calc_error (const vector_type &u, ConstSmartPtr< DoFDistribution > dd, error_vector_type *u_vtk=NULL)=0
 
virtual void calc_error (ConstSmartPtr< VectorTimeSeries< vector_type > > vSol, const std::vector< number > &vScaleMass, const std::vector< number > &vScaleStiff, const GridLevel &gl, error_vector_type *u_vtk)=0
 Transient version. More...
 
virtual void calc_error (ConstSmartPtr< VectorTimeSeries< vector_type > > vSol, ConstSmartPtr< DoFDistribution > dd, const std::vector< number > &vScaleMass, const std::vector< number > &vScaleStiff, error_vector_type *u_vtk)=0
 Transient version. More...
 
virtual void invalidate_error ()=0
 marks error indicators as invalid More...
 
virtual bool is_error_valid ()=0
 returns whether current error values are valid More...
 
virtual ~IDomainErrorIndicator ()
 

Detailed Description

template<typename TAlgebra>
class ug::IDomainErrorIndicator< TAlgebra >

Interface for an object that can estimate the (global) error.

Member Typedef Documentation

◆ error_vector_type

template<typename TAlgebra >
typedef CPUAlgebra::vector_type ug::IDomainErrorIndicator< TAlgebra >::error_vector_type

Type of error vector.

◆ vector_type

template<typename TAlgebra >
typedef TAlgebra::vector_type ug::IDomainErrorIndicator< TAlgebra >::vector_type

Type of algebra vector.

Constructor & Destructor Documentation

◆ ~IDomainErrorIndicator()

template<typename TAlgebra >
virtual ug::IDomainErrorIndicator< TAlgebra >::~IDomainErrorIndicator ( )
inlinevirtual

Member Function Documentation

◆ calc_error() [1/4]

template<typename TAlgebra >
virtual void ug::IDomainErrorIndicator< TAlgebra >::calc_error ( const vector_type u,
const GridLevel gl,
error_vector_type u_vtk = NULL 
)
pure virtual

◆ calc_error() [2/4]

◆ calc_error() [3/4]

template<typename TAlgebra >
virtual void ug::IDomainErrorIndicator< TAlgebra >::calc_error ( ConstSmartPtr< VectorTimeSeries< vector_type > >  vSol,
const std::vector< number > &  vScaleMass,
const std::vector< number > &  vScaleStiff,
const GridLevel gl,
error_vector_type u_vtk 
)
pure virtual

◆ calc_error() [4/4]

◆ invalidate_error()

◆ is_error_valid()


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