Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::LocalEstimator< F > Class Template Referenceabstract

‍** More...

#include <estimator.hh>

Inheritance diagram for concepts::LocalEstimator< F >:
concepts::Estimator< F > concepts::PiecewiseFormulaBase< F > concepts::OutputOperator concepts::ElementFormula< F, concepts::Realtype< F >::type > concepts::Cloneable concepts::OutputOperator concepts::ExplicitResidual< F >

Public Types

typedef HashMap< Real >::iterator iterator
 
typedef HashMap< Real >::const_iterator const_iterator
 
typedef concepts::Realtype< F >::type G
 
typedefvalue_type
 

Public Member Functions

iterator begin ()
 
const_iterator begin () const
 
iterator end ()
 
const_iterator end () const
 
uint nelm () const
 
const Real operator() (uint key) const
 
virtual LocalEstimator< F > * clone () const =0
 Virtual copy constructor.
 
virtualoperator() (const Connector &cntr, const Real p, const Real t=0.0) const
 
virtualoperator() (const Connector &cntr, const Real2d &p, const Real t=0.0) const
 
virtualoperator() (const Connector &cntr, const Real3d &p, const Real t=0.0) const
 
const Real getGlobal () const
 
virtualoperator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const
 
virtualoperator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const
 
virtualoperator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const
 
virtualoperator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real p, const Real t=0.0) const=0
 
virtualoperator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real2d &p, const Real t=0.0) const=0
 
virtualoperator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real3d &p, const Real t=0.0) const=0
 
virtual const F & dflt_value () const
 Gives default value.
 
virtual F & dflt_value ()
 Gives default value.
 

Protected Member Functions

 LocalEstimator (const concepts::SpaceOnCells< F > &spc, const concepts::Vector< F > &sol)
 
virtual std::ostream & info (std::ostream &os) const =0
 Returns information in an output stream.
 

Protected Attributes

concepts::HashMap< ReallocError_
 
const concepts::SpaceOnCells< F > & spc_
 
const concepts::Vector< F > & sol_
 
Real globError_
 

Detailed Description

template<class F>
class concepts::LocalEstimator< F >

‍**

‍** ‍** Abstract Class representing Error Estimators of local kind. As local kind one means element wise error indicators.

Definition at line 91 of file estimator.hh.

Member Typedef Documentation

◆ const_iterator

template<class F >
typedef HashMap<Real>::const_iterator concepts::LocalEstimator< F >::const_iterator

Definition at line 96 of file estimator.hh.

◆ G

template<typename F >
typedef concepts::Realtype<F>::type concepts::PiecewiseFormulaBase< F >::G
inherited

Definition at line 45 of file piecewiseFormula.hh.

◆ iterator

template<class F >
typedef HashMap<Real>::iterator concepts::LocalEstimator< F >::iterator

Definition at line 95 of file estimator.hh.

◆ value_type

typedef F concepts::ElementFormula< F, concepts::Realtype< F >::type >::value_type
inherited

Definition at line 37 of file elementFormula.hh.

Constructor & Destructor Documentation

◆ LocalEstimator()

template<class F >
concepts::LocalEstimator< F >::LocalEstimator ( const concepts::SpaceOnCells< F > &  spc,
const concepts::Vector< F > &  sol 
)
inlineprotected

Definition at line 145 of file estimator.hh.

Member Function Documentation

◆ begin() [1/2]

template<class F >
iterator concepts::LocalEstimator< F >::begin ( )
inline

Definition at line 100 of file estimator.hh.

◆ begin() [2/2]

template<class F >
const_iterator concepts::LocalEstimator< F >::begin ( ) const
inline

Definition at line 104 of file estimator.hh.

◆ clone()

template<class F >
virtual LocalEstimator< F > * concepts::LocalEstimator< F >::clone ( ) const
pure virtual

Virtual copy constructor.

Implements concepts::PiecewiseFormulaBase< F >.

Implemented in concepts::ExplicitResidual< F >.

◆ dflt_value() [1/2]

template<typename F >
virtual F & concepts::PiecewiseFormulaBase< F >::dflt_value ( )
inlinevirtualinherited

Gives default value.

Definition at line 83 of file piecewiseFormula.hh.

◆ dflt_value() [2/2]

template<typename F >
virtual const F & concepts::PiecewiseFormulaBase< F >::dflt_value ( ) const
inlinevirtualinherited

Gives default value.

Definition at line 81 of file piecewiseFormula.hh.

◆ end() [1/2]

template<class F >
iterator concepts::LocalEstimator< F >::end ( )
inline

Definition at line 108 of file estimator.hh.

◆ end() [2/2]

template<class F >
const_iterator concepts::LocalEstimator< F >::end ( ) const
inline

Definition at line 112 of file estimator.hh.

◆ getGlobal()

template<typename F >
const Real concepts::Estimator< F >::getGlobal ( ) const
inlineinherited

Definition at line 22 of file estimator.hh.

◆ info()

template<class F >
virtual std::ostream & concepts::LocalEstimator< F >::info ( std::ostream &  os) const
protectedpure virtual

Returns information in an output stream.

Implements concepts::Estimator< F >.

Implemented in concepts::ExplicitResidual< F >.

◆ nelm()

template<class F >
uint concepts::LocalEstimator< F >::nelm ( ) const
inline

Definition at line 116 of file estimator.hh.

◆ operator()() [1/10]

template<class F >
virtual F concepts::LocalEstimator< F >::operator() ( const Connector cntr,
const Real  p,
const Real  t = 0.0 
) const
inlinevirtual

Gives the value in an particular cell on a particular point

Parameters
celltopological cell
pphysical coordinates
ttime

Implements concepts::PiecewiseFormulaBase< F >.

Definition at line 132 of file estimator.hh.

◆ operator()() [2/10]

template<class F >
virtual F concepts::LocalEstimator< F >::operator() ( const Connector cntr,
const Real2d p,
const Real  t = 0.0 
) const
inlinevirtual

Implements concepts::PiecewiseFormulaBase< F >.

Definition at line 135 of file estimator.hh.

◆ operator()() [3/10]

template<class F >
virtual F concepts::LocalEstimator< F >::operator() ( const Connector cntr,
const Real3d p,
const Real  t = 0.0 
) const
inlinevirtual

Implements concepts::PiecewiseFormulaBase< F >.

Definition at line 138 of file estimator.hh.

◆ operator()() [4/10]

virtual F concepts::ElementFormula< F, concepts::Realtype< F >::type >::operator() ( const ElementWithCell< concepts::Realtype< F >::type > &  elm,
const Real  p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [5/10]

virtual F concepts::ElementFormula< F, concepts::Realtype< F >::type >::operator() ( const ElementWithCell< concepts::Realtype< F >::type > &  elm,
const Real2d p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [6/10]

virtual F concepts::ElementFormula< F, concepts::Realtype< F >::type >::operator() ( const ElementWithCell< concepts::Realtype< F >::type > &  elm,
const Real3d p,
const Real  t = 0.0 
) const
pure virtualinherited

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

◆ operator()() [7/10]

template<typename F >
virtual F concepts::PiecewiseFormulaBase< F >::operator() ( const ElementWithCell< G > &  elm,
const Real  p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Definition at line 52 of file piecewiseFormula.hh.

◆ operator()() [8/10]

template<typename F >
virtual F concepts::PiecewiseFormulaBase< F >::operator() ( const ElementWithCell< G > &  elm,
const Real2d p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Definition at line 57 of file piecewiseFormula.hh.

◆ operator()() [9/10]

template<typename F >
virtual F concepts::PiecewiseFormulaBase< F >::operator() ( const ElementWithCell< G > &  elm,
const Real3d p,
const Real  t = 0.0 
) const
inlinevirtualinherited

Definition at line 63 of file piecewiseFormula.hh.

◆ operator()() [10/10]

template<class F >
const Real concepts::LocalEstimator< F >::operator() ( uint  key) const
inline

Return the error on given local element, that belongs to the input key.

Definition at line 123 of file estimator.hh.

Member Data Documentation

◆ globError_

template<typename F >
Real concepts::Estimator< F >::globError_
protectedinherited

Definition at line 37 of file estimator.hh.

◆ locError_

template<class F >
concepts::HashMap<Real> concepts::LocalEstimator< F >::locError_
protected

Definition at line 151 of file estimator.hh.

◆ sol_

template<typename F >
const concepts::Vector<F>& concepts::Estimator< F >::sol_
protectedinherited

Definition at line 35 of file estimator.hh.

◆ spc_

template<typename F >
const concepts::SpaceOnCells<F>& concepts::Estimator< F >::spc_
protectedinherited

Definition at line 33 of file estimator.hh.


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