Class for a sum of element formulas. More...
#include <frmE_sum.hh>


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 | |
| F | a_ |
| Summand. | |
| ElementFormulaContainer< H > | frm1_ |
| First element formula. | |
| ElementFormulaContainer< J > | frm2_ |
| Second element formula. | |
Class for a sum of element formulas.
Result of formula is sum of the results of the formulas.
Generalisation of class ComposeFormula.
Definition at line 31 of file frmE_sum.hh.
typedef F concepts::ElementFormula< F, G >::value_type [inherited] |
Reimplemented in concepts::Formula< F >, concepts::MatrixElementFormula< F, dim, G >, concepts::VectorFormula< F, dim >, concepts::Formula< concepts::Point< Cmplx, 2 > >, concepts::Formula< Point< F, dim > >, concepts::Formula< Cmplx >, concepts::Formula< Real >, and concepts::Formula< Real2d >.
Definition at line 31 of file elementFormula.hh.
| concepts::FrmE_Sum< F, H, J, G >::FrmE_Sum | ( | const ElementFormulaContainer< H > | frm1, |
| const ElementFormulaContainer< J > | frm2 | ||
| ) | [inline] |
| concepts::FrmE_Sum< F, H, J, G >::FrmE_Sum | ( | const ElementFormulaContainer< H > | frm1, |
| const F | a | ||
| ) | [inline] |
| virtual concepts::FrmE_Sum< F, H, J, G >::~FrmE_Sum | ( | ) | [inline, virtual] |
Definition at line 47 of file frmE_sum.hh.
| 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.

| 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.
| 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.

| 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.

| 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.

| 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.
Implements concepts::ElementFormula< F, G >.
Definition at line 52 of file frmE_sum.hh.

F concepts::FrmE_Sum< F, H, J, G >::a_ [private] |
Summand.
Definition at line 99 of file frmE_sum.hh.
ElementFormulaContainer<H> concepts::FrmE_Sum< F, H, J, G >::frm1_ [private] |
First element formula.
Definition at line 95 of file frmE_sum.hh.
ElementFormulaContainer<J> concepts::FrmE_Sum< F, H, J, G >::frm2_ [private] |
Second element formula.
Definition at line 97 of file frmE_sum.hh.