Class for a constant formula. More...
#include <constFormula.hh>


Public Types | |
| typedef Realtype< F >::type | G |
| typedef F | value_type |
Public Member Functions | |
| virtual ConstFormula< F > * | clone () const |
| Virtual copy constructor. | |
| ConstFormula (const F a=F(1.0)) | |
| virtual F & | dflt_value () |
| Gives default value. | |
| virtual const F & | dflt_value () const |
| Gives default value. | |
| 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 Real p, const Real t=0.0) const |
| Application operator. | |
| virtual F | operator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const |
| 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 Real2d &p, const Real t=0.0) const |
| Application operator. | |
| virtual F | operator() (const ElementWithCell< G > &elm, const Real3d &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 |
| ConstFormula< F > & | operator= (const F a) |
| virtual | ~ConstFormula () |
| 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 | |
| F | a_ |
Class for a constant formula.
BGT_0.cc, and exactDtN.cc.
Definition at line 24 of file constFormula.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::ConstFormula< F >::ConstFormula | ( | const F | a = F(1.0) | ) | [inline] |
Definition at line 26 of file constFormula.hh.
| virtual concepts::ConstFormula< F >::~ConstFormula | ( | ) | [inline, virtual] |
Definition at line 38 of file constFormula.hh.
| virtual ConstFormula<F>* concepts::ConstFormula< F >::clone | ( | ) | const [inline, virtual] |
Virtual copy constructor.
Implements concepts::Formula< F >.
Definition at line 41 of file constFormula.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 F& concepts::PiecewiseFormulaBase< F >::dflt_value | ( | ) | [inline, virtual, inherited] |
Gives default value.
Definition at line 78 of file piecewiseFormula.hh.
| virtual std::ostream& concepts::ConstFormula< F >::info | ( | std::ostream & | os | ) | const [inline, protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::PiecewiseFormulaBase< F >.
Definition at line 49 of file constFormula.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::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::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::ConstFormula< F >::operator() | ( | const Real2d & | p, |
| const Real | t = 0.0 |
||
| ) | const [inline, virtual] |
Application operator.
Evaluates the formula.
Implements concepts::Formula< F >.
Definition at line 32 of file constFormula.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::ConstFormula< F >::operator() | ( | const Real3d & | p, |
| const Real | t = 0.0 |
||
| ) | const [inline, virtual] |
Application operator.
Evaluates the formula.
Implements concepts::Formula< F >.
Definition at line 35 of file constFormula.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::ConstFormula< F >::operator() | ( | const Real | p, |
| const Real | t = 0.0 |
||
| ) | const [inline, virtual] |
Application operator.
Evaluates the formula.
Implements concepts::Formula< F >.
Definition at line 29 of file constFormula.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] |
| ConstFormula<F>& concepts::ConstFormula< F >::operator= | ( | const F | a | ) | [inline] |
Definition at line 44 of file constFormula.hh.
F concepts::ConstFormula< F >::a_ [private] |
Definition at line 53 of file constFormula.hh.