Class for a sum of formula. More...
#include <frm_sum.hh>


Public Types | |
| typedef Realtype< F >::type | G |
| typedef F | value_type |
Public Member Functions | |
| virtual Frm_Sum< F, H, J > * | clone () const |
| Virtual copy constructor. | |
| virtual const F & | dflt_value () const |
| Gives default value. | |
| virtual F & | dflt_value () |
| Gives default value. | |
| Frm_Sum (const RCP< const Formula< H > > frm1, const RCP< const Formula< J > > frm2) | |
| virtual F | operator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real2d &p, const Real t=0.0) const =0 |
| virtual F | operator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real p, const Real t=0.0) const =0 |
| Evaluates the formula. | |
| virtual F | operator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const |
| virtual F | operator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const |
| virtual F | operator() (const Real2d &p, const Real t=0.0) const |
| Application operator. | |
| virtual F | operator() (const Real p, const Real t=0.0) const |
| Application operator. | |
| virtual F | operator() (const Real3d &p, const Real t=0.0) const |
| Application operator. | |
| virtual F | operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const |
| virtual F | operator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real3d &p, const Real t=0.0) const =0 |
| virtual F | operator() (const Connector &cntr, const Real p, const Real t=0.0) const |
| Convenience implementation, that by default ignores its elm param. | |
| virtual F | operator() (const Connector &cntr, const Real2d &p, const Real t=0.0) const |
| Convenience implementation, that by default ignores its elm param. | |
| virtual F | operator() (const Connector &cntr, const Real3d &p, const Real t=0.0) const |
| Convenience implementation, that by default ignores its elm param. | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Private Attributes | |
| RCP< const Formula< H > > | frm1_ |
| First Formula. | |
| RCP< const Formula< J > > | frm2_ |
| Second Formula. | |
Class for a sum of formula.
Result of formula is sum of the results of the formulas.
Generalisation of class ComposeFormula.
Definition at line 23 of file frm_sum.hh.
typedef Realtype<F>::type concepts::Formula< F >::G [inherited] |
Reimplemented from concepts::PiecewiseFormulaBase< F >.
Definition at line 35 of file formula.hh.
typedef F concepts::Formula< F >::value_type [inherited] |
Reimplemented from concepts::ElementFormula< F, concepts::Realtype< F >::type >.
Reimplemented in concepts::VectorFormula< F, dim >.
Definition at line 34 of file formula.hh.
| concepts::Frm_Sum< F, H, J >::Frm_Sum | ( | const RCP< const Formula< H > > | frm1, |
| const RCP< const Formula< J > > | frm2 | ||
| ) | [inline] |
Definition at line 25 of file frm_sum.hh.
| virtual Frm_Sum<F,H,J>* concepts::Frm_Sum< F, H, J >::clone | ( | ) | const [inline, virtual] |
Virtual copy constructor.
Implements concepts::Formula< F >.
Definition at line 41 of file frm_sum.hh.
| virtual F& concepts::PiecewiseFormulaBase< F >::dflt_value | ( | ) | [inline, virtual, inherited] |
Gives default value.
Definition at line 78 of file piecewiseFormula.hh.
| virtual const F& concepts::PiecewiseFormulaBase< F >::dflt_value | ( | ) | const [inline, virtual, inherited] |
Gives default value.
Definition at line 76 of file piecewiseFormula.hh.
| virtual std::ostream& concepts::Frm_Sum< F, H, J >::info | ( | std::ostream & | os | ) | const [inline, protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::PiecewiseFormulaBase< F >.
Definition at line 45 of file frm_sum.hh.
| virtual F concepts::ElementFormula< F, concepts::Realtype< F >::type >::operator() | ( | const ElementWithCell< concepts::Realtype< F >::type > & | elm, |
| const Real2d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [pure virtual, inherited] |
| virtual F concepts::ElementFormula< F, concepts::Realtype< F >::type >::operator() | ( | const ElementWithCell< concepts::Realtype< F >::type > & | elm, |
| const Real | p, | ||
| const Real | t = 0.0 |
||
| ) | const [pure virtual, inherited] |
Evaluates the formula.
| elm | Element |
| p | Point in space in local element coordinates |
| t | Point in time |
| virtual F concepts::PiecewiseFormulaBase< F >::operator() | ( | const ElementWithCell< G > & | elm, |
| const Real3d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [inline, virtual, inherited] |
Definition at line 58 of file piecewiseFormula.hh.
| virtual F concepts::PiecewiseFormulaBase< F >::operator() | ( | const ElementWithCell< G > & | elm, |
| const Real2d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [inline, virtual, inherited] |
Definition at line 52 of file piecewiseFormula.hh.
| virtual F concepts::PiecewiseFormulaBase< F >::operator() | ( | const ElementWithCell< G > & | elm, |
| const Real | p, | ||
| const Real | t = 0.0 |
||
| ) | const [inline, virtual, inherited] |
Definition at line 47 of file piecewiseFormula.hh.
| virtual F concepts::Frm_Sum< F, H, J >::operator() | ( | const Real2d & | p, |
| const Real | t = 0.0 |
||
| ) | const [inline, virtual] |
Application operator.
Evaluates the formula.
Implements concepts::Formula< F >.
Definition at line 35 of file frm_sum.hh.
| virtual F concepts::Frm_Sum< F, H, J >::operator() | ( | const Real3d & | p, |
| const Real | t = 0.0 |
||
| ) | const [inline, virtual] |
Application operator.
Evaluates the formula.
Implements concepts::Formula< F >.
Definition at line 38 of file frm_sum.hh.
| virtual F concepts::Formula< F >::operator() | ( | const Connector & | cntr, |
| const Real | p, | ||
| const Real | t = 0.0 |
||
| ) | const [inline, virtual, inherited] |
Convenience implementation, that by default ignores its elm param.
Implements concepts::PiecewiseFormulaBase< F >.
Definition at line 51 of file formula.hh.
| virtual F concepts::Frm_Sum< F, H, J >::operator() | ( | const Real | p, |
| const Real | t = 0.0 |
||
| ) | const [inline, virtual] |
Application operator.
Evaluates the formula.
Implements concepts::Formula< F >.
Definition at line 32 of file frm_sum.hh.
| virtual F concepts::Formula< F >::operator() | ( | const Connector & | cntr, |
| const Real3d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [inline, virtual, inherited] |
Convenience implementation, that by default ignores its elm param.
Implements concepts::PiecewiseFormulaBase< F >.
Definition at line 57 of file formula.hh.
| virtual F concepts::Formula< F >::operator() | ( | const Connector & | cntr, |
| const Real2d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [inline, virtual, inherited] |
Convenience implementation, that by default ignores its elm param.
Implements concepts::PiecewiseFormulaBase< F >.
Definition at line 54 of file formula.hh.
| virtual F concepts::ElementFormula< F, concepts::Realtype< F >::type >::operator() | ( | const ElementWithCell< concepts::Realtype< F >::type > & | elm, |
| const Real3d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [pure virtual, inherited] |
RCP<const Formula<H> > concepts::Frm_Sum< F, H, J >::frm1_ [private] |
First Formula.
Definition at line 50 of file frm_sum.hh.
RCP<const Formula<J> > concepts::Frm_Sum< F, H, J >::frm2_ [private] |
Second Formula.
Definition at line 52 of file frm_sum.hh.