hp2D::ExplicitResidual2D< F >::Distance Class Referenceabstract

Weight class for 2d Elements. More...

#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

virtual Distanceclone () const
 Virtual constructor. More...
 
virtual ElementFormula< Real, typename Realtype< Real >::type > * clone () const=0
 Virtual copy constructor. More...
 
 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 Real operator() (const ElementWithCell< typename Realtype< Real >::type > &elm, const Real p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual Real operator() (const ElementWithCell< typename Realtype< Real >::type > &elm, const Real2d &p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual Real operator() (const ElementWithCell< typename Realtype< Real >::type > &elm, const Real3d &p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual ~Distance ()
 

Protected Member Functions

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

Private Attributes

Real alpha_
 

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() [1/2]

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

Virtual constructor.

Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.

Implements concepts::Cloneable.

Definition at line 264 of file explicitResidual.hh.

◆ clone() [2/2]

virtual ElementFormula<Real ,typename Realtype<Real >::type >* concepts::ElementFormula< Real , typename Realtype<Real >::type >::clone ( ) const
pure virtualinherited

Virtual copy constructor.

◆ 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< G > &  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< G > &  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< G > &  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

Member Data Documentation

◆ alpha_

template<class F >
Real hp2D::ExplicitResidual2D< F >::Distance::alpha_
private

Definition at line 275 of file explicitResidual.hh.


The documentation for this class was generated from the following file:
Page URL: http://wiki.math.ethz.ch/bin/view/Concepts/WebHome
21 August 2020
© 2020 Eidgenössische Technische Hochschule Zürich