#include <formula.hh>
Classes | |
| class | FormulaFactor |
Public Types | |
| typedef concepts::Realtype< F >::type | G |
| typedef F | value_type |
Public Member Functions | |
| PiecewiseFormula (const F dflt_value=0) | |
| virtual PiecewiseFormula< F > * | clone () const |
| Virtual copy constructor. | |
| virtual F | operator() (const Connector &cell, const Real p, const Real t=0.0) const |
| Gives the value in an particular cell. | |
| virtual F | operator() (const Connector &cell, const Real2d &p, const Real t=0.0) const |
| virtual F | operator() (const Connector &cell, const Real3d &p, const Real t=0.0) const |
| void | set (const uint attrib, const Formula< F > &formula) |
| void | set (const uint attrib, const F a) |
| template<class H > | |
| void | multiply (const H &factor) |
| Multiplies all values with this factor. | |
| template<class H > | |
| void | multiply (const uint attrib, const H &factor) |
Multiply the formula with attribute attrib with this factor. | |
| virtual F | operator() (const ElementWithCell< G > &elm, const Real 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 ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const |
| virtual F | operator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real p, const Real t=0.0) const=0 |
| 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 Real3d &p, const Real t=0.0) const=0 |
| virtual const F & | dflt_value () const |
| Gives default value. | |
| virtual F & | dflt_value () |
| Gives default value. | |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Protected Attributes | |
| HashMap< FormulaFactor > | formula_ |
| Mapping from the elements on to the formula. | |
Piecewise defined function defined by attributes.
For an attribute and so an area a formula is given.
Definition at line 218 of file formula.hh.
|
inherited |
Definition at line 45 of file piecewiseFormula.hh.
|
inherited |
Definition at line 37 of file elementFormula.hh.
|
virtual |
Virtual copy constructor.
Implements concepts::PiecewiseFormulaBase< F >.
|
inlinevirtualinherited |
Gives default value.
Definition at line 83 of file piecewiseFormula.hh.
|
inlinevirtualinherited |
Gives default value.
Definition at line 81 of file piecewiseFormula.hh.
|
protectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::PiecewiseFormulaBase< F >.
| void concepts::PiecewiseFormula< F >::multiply | ( | const H & | factor | ) |
Multiplies all values with this factor.
Definition at line 263 of file formula.hh.
| void concepts::PiecewiseFormula< F >::multiply | ( | const uint | attrib, |
| const H & | factor | ||
| ) |
Multiply the formula with attribute attrib with this factor.
Definition at line 271 of file formula.hh.
|
virtual |
Gives the value in an particular cell.
Implements concepts::PiecewiseFormulaBase< F >.
|
virtual |
Implements concepts::PiecewiseFormulaBase< F >.
|
virtual |
Implements concepts::PiecewiseFormulaBase< F >.
|
pure virtualinherited |
|
pure virtualinherited |
|
pure virtualinherited |
|
inlinevirtualinherited |
Definition at line 52 of file piecewiseFormula.hh.
|
inlinevirtualinherited |
Definition at line 57 of file piecewiseFormula.hh.
|
inlinevirtualinherited |
Definition at line 63 of file piecewiseFormula.hh.
| void concepts::PiecewiseFormula< F >::set | ( | const uint | attrib, |
| const Formula< F > & | formula | ||
| ) |
|
protected |
Mapping from the elements on to the formula.
Definition at line 258 of file formula.hh.