#include <formula.hh>


Public Types | |
| typedef concepts::Realtype < Point< H, dim > >::type | G |
| typedef Point< H, dim > | value_type |
Public Member Functions | |
| virtual PiecewiseFormulaVector < dim, F, G, H > * | clone () const |
| Virtual copy constructor. | |
| virtual const Point< H, dim > & | dflt_value () const |
| Gives default value. | |
| virtual Point< H, dim > & | dflt_value () |
| Gives default value. | |
| virtual Point< H, dim > | operator() (const ElementWithCell< concepts::Realtype< Point< H, dim > >::type > &elm, const Real3d &p, const Real t=0.0) const =0 |
| virtual Point< H, dim > | operator() (const ElementWithCell< concepts::Realtype< Point< H, dim > >::type > &elm, const Real2d &p, const Real t=0.0) const =0 |
| virtual Point< H, dim > | operator() (const ElementWithCell< concepts::Realtype< Point< H, dim > >::type > &elm, const Real p, const Real t=0.0) const =0 |
| Evaluates the formula. | |
| virtual Point< H, dim > | operator() (const Connector &cell, const Real2d &p, const Real t=0.0) const |
| virtual Point< H, dim > | operator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const |
| virtual Point< H, dim > | operator() (const Connector &cell, const Real p, const Real t=0.0) const |
| Gives the value in an particular cell on a particular point. | |
| virtual Point< H, dim > | operator() (const Connector &cell, const Real3d &p, const Real t=0.0) const |
| virtual Point< H, dim > | operator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const |
| virtual Point< H, dim > | operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const |
| PiecewiseFormulaVector (const Space< G > &spc, const Vector< F > &coeff, const ElementFunction< H, G > &fun) | |
Protected Member Functions | |
| const ElementWithCell< G > * | element_ (const Connector &cell) const |
Returns pointer to the element to which the cell cell or one of their children belongs. | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Protected Attributes | |
| Array< F > | coeff_ |
| Solution vector. | |
| std::map< uint, const ElementWithCell< G > * > | elm_ |
| Mapping from cell key to the element. | |
| const ElementFunction< H, G > * | fun_ |
| Function of the FE function. | |
| const Space< G > & | spc_ |
| Space. | |
Definition at line 97 of file formula.hh.
typedef concepts::Realtype<Point< H, dim > >::type concepts::PiecewiseFormulaBase< Point< H, dim > >::G [inherited] |
Definition at line 40 of file piecewiseFormula.hh.
typedef Point< H, dim > concepts::ElementFormula< Point< H, dim > , concepts::Realtype< Point< H, dim > >::type >::value_type [inherited] |
Definition at line 31 of file elementFormula.hh.
| concepts::PiecewiseFormulaVector< dim, F, G, H >::PiecewiseFormulaVector | ( | const Space< G > & | spc, |
| const Vector< F > & | coeff, | ||
| const ElementFunction< H, G > & | fun | ||
| ) |
Definition at line 117 of file formula.hh.
| virtual PiecewiseFormulaVector<dim,F,G,H>* concepts::PiecewiseFormulaVector< dim, F, G, H >::clone | ( | ) | const [inline, virtual] |
Virtual copy constructor.
Implements concepts::PiecewiseFormulaBase< Point< H, dim > >.
Definition at line 102 of file formula.hh.

| virtual const Point< H, dim > & concepts::PiecewiseFormulaBase< Point< H, dim > >::dflt_value | ( | ) | const [inline, virtual, inherited] |
Gives default value.
Definition at line 76 of file piecewiseFormula.hh.
| virtual Point< H, dim > & concepts::PiecewiseFormulaBase< Point< H, dim > >::dflt_value | ( | ) | [inline, virtual, inherited] |
Gives default value.
Definition at line 78 of file piecewiseFormula.hh.
| const ElementWithCell<G>* concepts::PiecewiseFormulaVectorBase< F, G, Point< H, dim > , H >::element_ | ( | const Connector & | cell | ) | const [protected, inherited] |
Returns pointer to the element to which the cell cell or one of their children belongs.
If not such a element exists, null pointer is returned.
| virtual std::ostream& concepts::PiecewiseFormulaBase< Point< H, dim > >::info | ( | std::ostream & | os | ) | const [protected, virtual, inherited] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
| virtual Point< H, dim > concepts::ElementFormula< Point< H, dim > , concepts::Realtype< Point< H, dim > >::type >::operator() | ( | const ElementWithCell< concepts::Realtype< Point< H, dim > >::type > & | elm, |
| const Real2d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [pure virtual, inherited] |
| virtual Point< H, dim > concepts::ElementFormula< Point< H, dim > , concepts::Realtype< Point< H, dim > >::type >::operator() | ( | const ElementWithCell< concepts::Realtype< Point< H, 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< H, dim > concepts::PiecewiseFormulaBase< Point< H, 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.
| Point< H, dim > concepts::PiecewiseFormulaVector< dim, F, G, H >::operator() | ( | const Connector & | cell, |
| const Real2d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [virtual] |
Implements concepts::PiecewiseFormulaBase< Point< H, dim > >.
Definition at line 140 of file formula.hh.

| virtual Point< H, dim > concepts::PiecewiseFormulaBase< Point< H, 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< H, dim > concepts::PiecewiseFormulaVector< dim, F, G, H >::operator() | ( | const Connector & | cntr, |
| const Real | p, | ||
| const Real | t = 0.0 |
||
| ) | const [virtual] |
Gives the value in an particular cell on a particular point.
| cell | topological cell |
| p | physical coordinates |
| t | time |
Implements concepts::PiecewiseFormulaBase< Point< H, dim > >.
Definition at line 123 of file formula.hh.

| Point< H, dim > concepts::PiecewiseFormulaVector< dim, F, G, H >::operator() | ( | const Connector & | cell, |
| const Real3d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [virtual] |
Implements concepts::PiecewiseFormulaBase< Point< H, dim > >.
Definition at line 157 of file formula.hh.

| virtual Point< H, dim > concepts::ElementFormula< Point< H, dim > , concepts::Realtype< Point< H, dim > >::type >::operator() | ( | const ElementWithCell< concepts::Realtype< Point< H, dim > >::type > & | elm, |
| const Real3d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [pure virtual, inherited] |
| virtual Point< H, dim > concepts::PiecewiseFormulaBase< Point< H, 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.
Array<F> concepts::PiecewiseFormulaVectorBase< F, G, Point< H, dim > , H >::coeff_ [protected, inherited] |
Solution vector.
Definition at line 41 of file formula.hh.
std::map<uint, const ElementWithCell<G>*> concepts::PiecewiseFormulaVectorBase< F, G, Point< H, dim > , H >::elm_ [protected, inherited] |
Mapping from cell key to the element.
Definition at line 45 of file formula.hh.
const ElementFunction<H ,G>* concepts::PiecewiseFormulaVectorBase< F, G, Point< H, dim > , H >::fun_ [protected, inherited] |
Function of the FE function.
Definition at line 43 of file formula.hh.
const Space<G>& concepts::PiecewiseFormulaVectorBase< F, G, Point< H, dim > , H >::spc_ [protected, inherited] |
Space.
Definition at line 39 of file formula.hh.