Class documentation of Concepts

Loading...
Searching...
No Matches
concepts::FrmE_Sum< F, H, J, G > Class Template Reference

#include <frmE_sum.hh>

Inheritance diagram for concepts::FrmE_Sum< F, H, J, G >:
concepts::ElementFormula< F, G > concepts::Cloneable concepts::OutputOperator

Public Types

typedefvalue_type
 

Public Member Functions

 FrmE_Sum (const ElementFormulaContainer< H > frm1, const ElementFormulaContainer< J > frm2)
 
 FrmE_Sum (const ElementFormulaContainer< H > frm1, const F a)
 
virtualoperator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const
 
virtualoperator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const
 
virtualoperator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const
 
virtual FrmE_Sum< F, H, J, G > * clone () const
 Virtual copy constructor.
 

Protected Member Functions

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

Detailed Description

template<class F, class H = F, class J = F, class G = typename Realtype<F>::type>
class concepts::FrmE_Sum< F, H, J, G >

Class for a sum of element formulas.

Result of formula is sum of the results of the formulas.

Generalisation of class ComposeFormula.

Author
Kersten Schmidt, 2010

Definition at line 36 of file frmE_sum.hh.

Member Typedef Documentation

◆ value_type

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

Definition at line 37 of file elementFormula.hh.

Constructor & Destructor Documentation

◆ FrmE_Sum() [1/2]

template<class F , class H = F, class J = F, class G = typename Realtype<F>::type>
concepts::FrmE_Sum< F, H, J, G >::FrmE_Sum ( const ElementFormulaContainer< H >  frm1,
const ElementFormulaContainer< J >  frm2 
)
inline

Definition at line 38 of file frmE_sum.hh.

◆ FrmE_Sum() [2/2]

template<class F , class H = F, class J = F, class G = typename Realtype<F>::type>
concepts::FrmE_Sum< F, H, J, G >::FrmE_Sum ( const ElementFormulaContainer< H >  frm1,
const F  a 
)
inline

Definition at line 45 of file frmE_sum.hh.

◆ ~FrmE_Sum()

template<class F , class H = F, class J = F, class G = typename Realtype<F>::type>
virtual concepts::FrmE_Sum< F, H, J, G >::~FrmE_Sum ( )
inlinevirtual

Definition at line 52 of file frmE_sum.hh.

Member Function Documentation

◆ clone()

template<class F , class H = F, class J = F, class G = typename Realtype<F>::type>
virtual FrmE_Sum< F, H, J, G > * concepts::FrmE_Sum< F, H, J, G >::clone ( ) const
inlinevirtual

Virtual copy constructor.

Implements concepts::ElementFormula< F, G >.

Definition at line 85 of file frmE_sum.hh.

◆ info()

template<class F , class H = F, class J = F, class G = typename Realtype<F>::type>
virtual std::ostream & concepts::FrmE_Sum< F, H, J, G >::info ( std::ostream &  os) const
inlineprotectedvirtual

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 90 of file frmE_sum.hh.

◆ operator()() [1/3]

template<class F , class H = F, class J = F, class G = typename Realtype<F>::type>
virtual F concepts::FrmE_Sum< F, H, J, G >::operator() ( const ElementWithCell< G > &  elm,
const Real  p,
const Real  t = 0.0 
) const
inlinevirtual

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

Implements concepts::ElementFormula< F, G >.

Definition at line 57 of file frmE_sum.hh.

◆ operator()() [2/3]

template<class F , class H = F, class J = F, class G = typename Realtype<F>::type>
virtual F concepts::FrmE_Sum< F, H, J, G >::operator() ( const ElementWithCell< G > &  elm,
const Real2d p,
const Real  t = 0.0 
) const
inlinevirtual

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

Implements concepts::ElementFormula< F, G >.

Definition at line 66 of file frmE_sum.hh.

◆ operator()() [3/3]

template<class F , class H = F, class J = F, class G = typename Realtype<F>::type>
virtual F concepts::FrmE_Sum< F, H, J, G >::operator() ( const ElementWithCell< G > &  elm,
const Real3d p,
const Real  t = 0.0 
) const
inlinevirtual

Evaluates the formula.

Parameters
elmElement
pPoint in space in local element coordinates
tPoint in time

Implements concepts::ElementFormula< F, G >.

Definition at line 75 of file frmE_sum.hh.


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