Class documentation of Concepts

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

#include <explicitResidual.hh>

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

Public Types

typedef Real value_type
 

Public Member Functions

 EdgeWeight (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 EdgeWeightclone () 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 >::EdgeWeight

Weight class for 1d Elements.

It holds EdgeWeight(refelm, p2d) = (x(1-x))^(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 292 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

◆ EdgeWeight()

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

Definition at line 296 of file explicitResidual.hh.

◆ ~EdgeWeight()

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

Definition at line 318 of file explicitResidual.hh.

Member Function Documentation

◆ clone()

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

Virtual copy constructor.

Implements concepts::ElementFormula< Real >.

Definition at line 316 of file explicitResidual.hh.

◆ info()

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

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 321 of file explicitResidual.hh.

◆ operator()() [1/6]

template<class F >
virtual F hp2D::ExplicitResidual2D< F >::EdgeWeight::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 298 of file explicitResidual.hh.

◆ operator()() [2/6]

template<class F >
virtual F hp2D::ExplicitResidual2D< F >::EdgeWeight::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 304 of file explicitResidual.hh.

◆ operator()() [3/6]

template<class F >
virtual F hp2D::ExplicitResidual2D< F >::EdgeWeight::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 310 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: