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

Weight class for 1d Elements. More...

#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

virtual EdgeWeightclone () const
 Virtual constructor. More...
 
virtual ElementFormula< Real, typename Realtype< Real >::type > * clone () const=0
 Virtual copy constructor. More...
 
 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 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 ~EdgeWeight ()
 

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

template<class F >
virtual EdgeWeight* hp2D::ExplicitResidual2D< F >::EdgeWeight::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 316 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 >::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< 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 >::EdgeWeight::alpha_
private

Definition at line 327 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