Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Types | Public Member Functions | Protected Member Functions | Private Attributes
hp2D::ElementFormulaEdgeMean< F > Class Template Reference

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 >:
Inheritance graph
[legend]
Collaboration diagram for hp2D::ElementFormulaEdgeMean< F >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef F value_type

Public Member Functions

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

Private Attributes

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

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 233 of file formula.hh.


Member Typedef Documentation

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

Definition at line 31 of file elementFormula.hh.


Constructor & Destructor Documentation

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

Member Function Documentation

template<typename F>
virtual ElementFormulaEdgeMean<F>* hp2D::ElementFormulaEdgeMean< F >::clone ( ) const [inline, virtual]

Virtual copy constructor.

Implements concepts::ElementFormula< F >.

Definition at line 253 of file formula.hh.

template<typename F>
virtual std::ostream& hp2D::ElementFormulaEdgeMean< F >::info ( std::ostream &  os) const [protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

virtual F concepts::ElementFormula< F, typename Realtype<F>::type >::operator() ( const ElementWithCell< typename Realtype<F>::type > &  elm,
const Real2d p,
const Real  t = 0.0 
) const [pure virtual, inherited]
virtual F concepts::ElementFormula< F, typename Realtype<F>::type >::operator() ( const ElementWithCell< typename Realtype<F>::type > &  elm,
const Real  p,
const Real  t = 0.0 
) const [pure virtual, inherited]

Evaluates the formula.

Parameters:
elmElement
pPoint in space in local element coordinates
tPoint in time
template<typename F>
virtual F hp2D::ElementFormulaEdgeMean< F >::operator() ( const concepts::ElementWithCell< Real > &  elm,
const Real  p,
const Real  t = 0.0 
) const [virtual]
template<typename F>
virtual F hp2D::ElementFormulaEdgeMean< F >::operator() ( const concepts::ElementWithCell< Real > &  elm,
const concepts::Real2d p,
const Real  t = 0.0 
) const [inline, virtual]

Definition at line 241 of file formula.hh.

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

Definition at line 246 of file formula.hh.

virtual F concepts::ElementFormula< F, typename Realtype<F>::type >::operator() ( const ElementWithCell< typename Realtype<F>::type > &  elm,
const Real3d p,
const Real  t = 0.0 
) const [pure virtual, inherited]

Member Data Documentation

template<typename F>
std::auto_ptr<const concepts::ElementFunction<F> > hp2D::ElementFormulaEdgeMean< F >::f_ [private]

Element function.

Definition at line 264 of file formula.hh.

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

Trace space.

Definition at line 260 of file formula.hh.

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

Coefficient vector.

Definition at line 262 of file formula.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)