Element formula returning a vector. More...
#include <vectorFormula.hh>


Public Types | |
| typedef RCP< const concepts::Formula< F > > | EntryFormulaRCP |
| typedef Realtype< Point< F, dim > >::type | G |
| typedef Point< F, dim > | value_type |
Public Member Functions | |
| virtual VectorFormula< F, dim > * | clone () const |
| Virtual copy constructor. | |
| virtual const Point< F, dim > & | dflt_value () const |
| Gives default value. | |
| virtual Point< F, dim > & | dflt_value () |
| Gives default value. | |
| const std::vector < EntryFormulaRCP > & | getFormulas () |
| virtual Point< F, dim > | operator() (const ElementWithCell< concepts::Realtype< Point< F, dim > >::type > &elm, const Real3d &p, const Real t=0.0) const =0 |
| virtual Point< F, dim > | operator() (const ElementWithCell< concepts::Realtype< Point< F, dim > >::type > &elm, const Real p, const Real t=0.0) const =0 |
| Evaluates the formula. | |
| Point< F, dim > | operator() (const Real2d &p, const Real t=0.0) const |
| Application operator. | |
| virtual Point< F, dim > | operator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const |
| Point< F, dim > | operator() (const Real3d &p, const Real t=0.0) const |
| Application operator. | |
| virtual Point< F, dim > | operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const |
| Point< F, dim > | operator() (const Real p, const Real t=0.0) const |
| Evaluates the formula. | |
| virtual Point< F, dim > | operator() (const ElementWithCell< concepts::Realtype< Point< F, dim > >::type > &elm, const Real2d &p, const Real t=0.0) const =0 |
| virtual Point< F, dim > | operator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const |
| EntryFormulaRCP & | operator[] (int i) |
| VectorFormula (const std::vector< EntryFormulaRCP > &formulas) | |
Combines a vector of dim Formulas to a VectorFormula. | |
| VectorFormula () | |
| virtual | ~VectorFormula () |
| virtual Point< F, dim > | operator() (const Connector &cntr, const Real p, const Real t=0.0) const |
| Convenience implementation, that by default ignores its elm param. | |
| virtual Point< F, dim > | operator() (const Connector &cntr, const Real2d &p, const Real t=0.0) const |
| Convenience implementation, that by default ignores its elm param. | |
| virtual Point< F, dim > | 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. | |
Protected Attributes | |
| std::vector< EntryFormulaRCP > | formulas_ |
Element formula returning a vector.
Definition at line 21 of file vectorFormula.hh.
| typedef RCP<const concepts::Formula<F> > concepts::VectorFormula< F, dim >::EntryFormulaRCP |
Definition at line 25 of file vectorFormula.hh.
typedef Realtype<Point< F, dim > >::type concepts::Formula< Point< F, dim > >::G [inherited] |
Reimplemented from concepts::PiecewiseFormulaBase< Point< F, dim > >.
Definition at line 35 of file formula.hh.
| typedef Point<F, dim> concepts::VectorFormula< F, dim >::value_type |
Reimplemented from concepts::Formula< Point< F, dim > >.
Definition at line 24 of file vectorFormula.hh.
| concepts::VectorFormula< F, dim >::VectorFormula | ( | ) | [inline] |
Definition at line 27 of file vectorFormula.hh.
| concepts::VectorFormula< F, dim >::VectorFormula | ( | const std::vector< EntryFormulaRCP > & | formulas | ) | [inline] |
Combines a vector of dim Formulas to a VectorFormula.
Each Formula is given as a refence counting pointer (see RCP).
Definition at line 37 of file vectorFormula.hh.
| virtual concepts::VectorFormula< F, dim >::~VectorFormula | ( | ) | [inline, virtual] |
Definition at line 86 of file vectorFormula.hh.
| virtual VectorFormula<F,dim>* concepts::VectorFormula< F, dim >::clone | ( | ) | const [inline, virtual] |
Virtual copy constructor.
Implements concepts::Formula< Point< F, dim > >.
Definition at line 75 of file vectorFormula.hh.
| virtual const Point< F, dim > & concepts::PiecewiseFormulaBase< Point< F, dim > >::dflt_value | ( | ) | const [inline, virtual, inherited] |
Gives default value.
Definition at line 76 of file piecewiseFormula.hh.
| virtual Point< F, dim > & concepts::PiecewiseFormulaBase< Point< F, dim > >::dflt_value | ( | ) | [inline, virtual, inherited] |
Gives default value.
Definition at line 78 of file piecewiseFormula.hh.
| const std::vector< EntryFormulaRCP >& concepts::VectorFormula< F, dim >::getFormulas | ( | ) | [inline] |
Definition at line 88 of file vectorFormula.hh.
| virtual std::ostream& concepts::VectorFormula< F, dim >::info | ( | std::ostream & | os | ) | const [inline, protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::PiecewiseFormulaBase< Point< F, dim > >.
Definition at line 103 of file vectorFormula.hh.
| virtual Point< F, dim > concepts::ElementFormula< Point< F, dim > , concepts::Realtype< Point< F, dim > >::type >::operator() | ( | const ElementWithCell< concepts::Realtype< Point< F, dim > >::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 Point< F, dim > concepts::PiecewiseFormulaBase< Point< F, dim > >::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 Point< F, dim > concepts::ElementFormula< Point< F, dim > , concepts::Realtype< Point< F, dim > >::type >::operator() | ( | const ElementWithCell< concepts::Realtype< Point< F, dim > >::type > & | elm, |
| const Real3d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [pure virtual, inherited] |
| virtual Point< F, dim > concepts::PiecewiseFormulaBase< Point< F, dim > >::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 Point< F, dim > concepts::Formula< Point< F, dim > >::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< Point< F, dim > >.
Definition at line 57 of file formula.hh.
| virtual Point< F, dim > concepts::Formula< Point< F, dim > >::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< Point< F, dim > >.
Definition at line 54 of file formula.hh.
| virtual Point< F, dim > concepts::Formula< Point< F, dim > >::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< Point< F, dim > >.
Definition at line 51 of file formula.hh.
| Point<F, dim> concepts::VectorFormula< F, dim >::operator() | ( | const Real3d & | p, |
| const Real | t = 0.0 |
||
| ) | const [inline, virtual] |
Application operator.
Evaluates the formula.
Implements concepts::Formula< Point< F, dim > >.
Definition at line 65 of file vectorFormula.hh.
| virtual Point< F, dim > concepts::PiecewiseFormulaBase< Point< F, dim > >::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.
| Point<F, dim> concepts::VectorFormula< F, dim >::operator() | ( | const Real | p, |
| const Real | t = 0.0 |
||
| ) | const [inline, virtual] |
Evaluates the formula.
Implements concepts::Formula< Point< F, dim > >.
Definition at line 47 of file vectorFormula.hh.
| Point<F, dim> concepts::VectorFormula< F, dim >::operator() | ( | const Real2d & | p, |
| const Real | t = 0.0 |
||
| ) | const [inline, virtual] |
Application operator.
Evaluates the formula.
Implements concepts::Formula< Point< F, dim > >.
Definition at line 56 of file vectorFormula.hh.
| virtual Point< F, dim > concepts::ElementFormula< Point< F, dim > , concepts::Realtype< Point< F, dim > >::type >::operator() | ( | const ElementWithCell< concepts::Realtype< Point< F, dim > >::type > & | elm, |
| const Real2d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [pure virtual, inherited] |
| EntryFormulaRCP& concepts::VectorFormula< F, dim >::operator[] | ( | int | i | ) | [inline] |
Definition at line 93 of file vectorFormula.hh.
std::vector< EntryFormulaRCP > concepts::VectorFormula< F, dim >::formulas_ [protected] |
Definition at line 101 of file vectorFormula.hh.