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

Public Types | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
concepts::FrmE_Sum< F, H, J, G > Class Template Reference

Class for a sum of element formulas. More...

#include <frmE_sum.hh>

Inheritance diagram for concepts::FrmE_Sum< F, H, J, G >:
Inheritance graph
[legend]
Collaboration diagram for concepts::FrmE_Sum< F, H, J, G >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef F value_type

Public Member Functions

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

Protected Member Functions

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

Private Member Functions

 FrmE_Sum (const ElementFormulaContainer< H > frm1, const ElementFormulaContainer< J > frm2, const F a)
 Private constructor.

Private Attributes

a_
 Summand.
ElementFormulaContainer< H > frm1_
 First element formula.
ElementFormulaContainer< J > frm2_
 Second element formula.

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 31 of file frmE_sum.hh.


Member Typedef Documentation

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

Constructor & Destructor Documentation

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 33 of file frmE_sum.hh.

Here is the call graph for this function:

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 40 of file frmE_sum.hh.

Here is the call graph for this function:

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 ( ) [inline, virtual]

Definition at line 47 of file frmE_sum.hh.

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,
const F  a 
) [inline, private]

Private constructor.

Definition at line 102 of file frmE_sum.hh.

Here is the call graph for this function:


Member Function Documentation

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 [inline, virtual]

Virtual copy constructor.

Implements concepts::ElementFormula< F, G >.

Definition at line 80 of file frmE_sum.hh.

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 [inline, protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 85 of file frmE_sum.hh.

Here is the call graph for this function:

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 [inline, virtual]

Implements concepts::ElementFormula< F, G >.

Definition at line 61 of file frmE_sum.hh.

Here is the call graph for this function:

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 [inline, virtual]

Implements concepts::ElementFormula< F, G >.

Definition at line 70 of file frmE_sum.hh.

Here is the call graph for this function:

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 [inline, virtual]

Evaluates the formula.

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

Implements concepts::ElementFormula< F, G >.

Definition at line 52 of file frmE_sum.hh.

Here is the call graph for this function:


Member Data Documentation

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

Summand.

Definition at line 99 of file frmE_sum.hh.

template<class F, class H = F, class J = F, class G = typename Realtype<F>::type>
ElementFormulaContainer<H> concepts::FrmE_Sum< F, H, J, G >::frm1_ [private]

First element formula.

Definition at line 95 of file frmE_sum.hh.

template<class F, class H = F, class J = F, class G = typename Realtype<F>::type>
ElementFormulaContainer<J> concepts::FrmE_Sum< F, H, J, G >::frm2_ [private]

Second element formula.

Definition at line 97 of file frmE_sum.hh.


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

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