Class documentation of Concepts

Loading...
Searching...
No Matches
hp2D::ExplicitResidual2D< F >::Distance Class Referenceabstract

#include <explicitResidual.hh>

Inheritance diagram for hp2D::ExplicitResidual2D< F >::Distance:
concepts::ElementFormula< Real > concepts::Cloneable concepts::OutputOperator

Public Types

typedef Real value_type
 

Public Member Functions

 Distance (Real alpha=0)
 
virtual F operator() (const concepts::ElementWithCell< typename concepts::Realtype< F >::type > &elm, const concepts::Real p, const concepts::Real t=0.0) const
 
virtual F operator() (const concepts::ElementWithCell< typename concepts::Realtype< F >::type > &elm, const concepts::Real2d &p, const concepts::Real t=0.0) const
 
virtual F operator() (const concepts::ElementWithCell< typename concepts::Realtype< F >::type > &elm, const concepts::Real3d &p, const concepts::Real t=0.0) const
 
virtual Distanceclone () const
 Virtual copy constructor.
 
virtual Real operator() (const ElementWithCell< typename Realtype< Real >::type > &elm, const Real p, const Real t=0.0) const=0
 
virtual Real operator() (const ElementWithCell< typename Realtype< Real >::type > &elm, const Real2d &p, const Real t=0.0) const=0
 
virtual Real operator() (const ElementWithCell< typename Realtype< Real >::type > &elm, const Real3d &p, const Real t=0.0) const=0
 

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.
 

Detailed Description

template<class F>
class hp2D::ExplicitResidual2D< F >::Distance

Weight class for 2d Elements.

It holds Distance(refelm, p2d) = dist(p2d, \partial refelm)^(alpha)

For detailed documentation check the paper " On residual-based a posteriori error estimation in hp-FEM " by J.M. Melenk and B.I. Wohlmuth.

This is used for local residual weight L2products

Definition at line 235 of file explicitResidual.hh.

Member Typedef Documentation

◆ value_type

typedef Real concepts::ElementFormula< Real , typename Realtype<Real >::type >::value_type
inherited

Definition at line 37 of file elementFormula.hh.

Constructor & Destructor Documentation

◆ Distance()

template<class F >
hp2D::ExplicitResidual2D< F >::Distance::Distance ( Real  alpha = 0)
inline

Definition at line 239 of file explicitResidual.hh.

◆ ~Distance()

template<class F >
virtual hp2D::ExplicitResidual2D< F >::Distance::~Distance ( )
inlinevirtual

Definition at line 266 of file explicitResidual.hh.

Member Function Documentation

◆ clone()

template<class F >
virtual Distance * hp2D::ExplicitResidual2D< F >::Distance::clone ( ) const
inlinevirtual

Virtual copy constructor.

Implements concepts::ElementFormula< Real >.

Definition at line 264 of file explicitResidual.hh.

◆ info()

template<class F >
virtual std::ostream & hp2D::ExplicitResidual2D< F >::Distance::info ( std::ostream &  os) const
inlineprotectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 269 of file explicitResidual.hh.

◆ operator()() [1/6]

template<class F >
virtual F hp2D::ExplicitResidual2D< F >::Distance::operator() ( const concepts::ElementWithCell< typename concepts::Realtype< F >::type > &  elm,
const concepts::Real  p,
const concepts::Real  t = 0.0 
) const
inlinevirtual

Definition at line 241 of file explicitResidual.hh.

◆ operator()() [2/6]

template<class F >
virtual F hp2D::ExplicitResidual2D< F >::Distance::operator() ( const concepts::ElementWithCell< typename concepts::Realtype< F >::type > &  elm,
const concepts::Real2d p,
const concepts::Real  t = 0.0 
) const
inlinevirtual

Definition at line 246 of file explicitResidual.hh.

◆ operator()() [3/6]

template<class F >
virtual F hp2D::ExplicitResidual2D< F >::Distance::operator() ( const concepts::ElementWithCell< typename concepts::Realtype< F >::type > &  elm,
const concepts::Real3d p,
const concepts::Real  t = 0.0 
) const
inlinevirtual

Definition at line 258 of file explicitResidual.hh.

◆ operator()() [4/6]

virtual Real concepts::ElementFormula< Real , typename Realtype<Real >::type >::operator() ( const ElementWithCell< typename Realtype<Real >::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/6]

virtual Real concepts::ElementFormula< Real , typename Realtype<Real >::type >::operator() ( const ElementWithCell< typename Realtype<Real >::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/6]

virtual Real concepts::ElementFormula< Real , typename Realtype<Real >::type >::operator() ( const ElementWithCell< typename Realtype<Real >::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

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