hp2D::ElementFormulaEdgeMean< F > Class Template Referenceabstract

Element formula for a mean value on edges of elements of an other element formula. More...

#include <formula.hh>

Inheritance diagram for hp2D::ElementFormulaEdgeMean< F >:
concepts::ElementFormula< F > concepts::Cloneable concepts::OutputOperator

Public Types

typedef F value_type
 

Public Member Functions

virtual ElementFormulaEdgeMean< F > * clone () const
 Virtual copy constructor. More...
 
virtual ElementFormula< F, typename Realtype< F >::type > * clone () const=0
 Virtual copy constructor. More...
 
 ElementFormulaEdgeMean (const hp2D::TraceSpace &spc, const concepts::Vector< F > &v, const concepts::ElementFunction< F > &f)
 
virtual F operator() (const concepts::ElementWithCell< Real > &elm, const concepts::Real2d &p, const Real t=0.0) const
 
virtual F operator() (const concepts::ElementWithCell< Real > &elm, const concepts::Real3d &p, const Real t=0.0) const
 
virtual F operator() (const concepts::ElementWithCell< Real > &elm, const Real p, const Real t=0.0) const
 
virtual F operator() (const ElementWithCell< typename Realtype< F >::type > &elm, const Real p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual F operator() (const ElementWithCell< typename Realtype< F >::type > &elm, const Real2d &p, const Real t=0.0) const=0
 Evaluates the formula. More...
 
virtual F operator() (const ElementWithCell< typename Realtype< F >::type > &elm, const Real3d &p, const Real t=0.0) const=0
 Evaluates the formula. More...
 

Protected Member Functions

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

Private Attributes

std::unique_ptr< const concepts::ElementFunction< F > > f_
 Element function. More...
 
const hp2D::TraceSpacespc_
 Trace space. More...
 
const concepts::Vector< F > & v_
 Coefficient vector. More...
 

Detailed Description

template<typename F>
class hp2D::ElementFormulaEdgeMean< F >

Element formula for a mean value on edges of elements of an other element formula.

Author
Kersten Schmidt, 2007

Definition at line 236 of file formula.hh.

Member Typedef Documentation

◆ value_type

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

Definition at line 37 of file elementFormula.hh.

Constructor & Destructor Documentation

◆ ElementFormulaEdgeMean()

template<typename F >
hp2D::ElementFormulaEdgeMean< F >::ElementFormulaEdgeMean ( const hp2D::TraceSpace spc,
const concepts::Vector< F > &  v,
const concepts::ElementFunction< F > &  f 
)

Member Function Documentation

◆ clone() [1/2]

template<typename F >
virtual ElementFormulaEdgeMean<F>* hp2D::ElementFormulaEdgeMean< F >::clone ( ) const
inlinevirtual

Virtual copy constructor.

Implements concepts::Cloneable.

Definition at line 256 of file formula.hh.

◆ clone() [2/2]

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

Virtual copy constructor.

◆ info()

template<typename F >
virtual std::ostream& hp2D::ElementFormulaEdgeMean< F >::info ( std::ostream &  os) const
protectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

◆ operator()() [1/6]

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

Definition at line 244 of file formula.hh.

◆ operator()() [2/6]

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

Definition at line 249 of file formula.hh.

◆ operator()() [3/6]

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

◆ operator()() [4/6]

virtual F concepts::ElementFormula< F, typename Realtype<F>::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 F concepts::ElementFormula< F, typename Realtype<F>::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 F concepts::ElementFormula< F, typename Realtype<F>::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

◆ f_

template<typename F >
std::unique_ptr<const concepts::ElementFunction<F> > hp2D::ElementFormulaEdgeMean< F >::f_
private

Element function.

Definition at line 267 of file formula.hh.

◆ spc_

template<typename F >
const hp2D::TraceSpace& hp2D::ElementFormulaEdgeMean< F >::spc_
private

Trace space.

Definition at line 263 of file formula.hh.

◆ v_

template<typename F >
const concepts::Vector<F>& hp2D::ElementFormulaEdgeMean< F >::v_
private

Coefficient vector.

Definition at line 265 of file formula.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