#include <formula.hh>
Public Types | |
typedef HashMap< ElementFormulaContainer< F, G > > | ElemFormulaMap |
Mapping from the elements on to the formula. | |
typedef F | value_type |
Public Member Functions | |
PiecewiseElementFormula (const F defaultV=0) | |
virtual PiecewiseElementFormula< F, G > * | clone () const |
Virtual copy constructor. | |
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 ElementWithCell< G > &elm, const Real p, const Real t=0.0) const |
void | set (const uint attrib, const ElementFormulaContainer< F, G > formula) |
void | set (concepts::Set< uint > attribs, const ElementFormulaContainer< F, G > formula) |
Public Attributes | |
ElemFormulaMap | formulas_ |
F | defaultV_ |
Default value. | |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Piecewise defined function defined by attributes.
For an attribute and so an area a formula is given.
Definition at line 287 of file formula.hh.
typedef HashMap< ElementFormulaContainer<F, G> > concepts::PiecewiseElementFormula< F, G >::ElemFormulaMap |
Mapping from the elements on to the formula.
Definition at line 358 of file formula.hh.
|
inherited |
Definition at line 37 of file elementFormula.hh.
|
inline |
Definition at line 289 of file formula.hh.
|
inlinevirtual |
Definition at line 294 of file formula.hh.
|
inlinevirtual |
Virtual copy constructor.
Implements concepts::ElementFormula< F, G >.
Definition at line 296 of file formula.hh.
|
inlineprotectedvirtual |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Definition at line 351 of file formula.hh.
|
inlinevirtual |
Evaluates the formula.
Implements concepts::ElementFormula< F, G >.
Definition at line 322 of file formula.hh.
|
inlinevirtual |
Evaluates the formula.
Implements concepts::ElementFormula< F, G >.
Definition at line 311 of file formula.hh.
|
inlinevirtual |
Evaluates the formula.
Implements concepts::ElementFormula< F, G >.
Definition at line 300 of file formula.hh.
|
inline |
Definition at line 341 of file formula.hh.
|
inline |
Set the ElementFormula for all cells with attribute attrib
Definition at line 335 of file formula.hh.
F concepts::PiecewiseElementFormula< F, G >::defaultV_ |
Default value.
Definition at line 361 of file formula.hh.
ElemFormulaMap concepts::PiecewiseElementFormula< F, G >::formulas_ |
Definition at line 359 of file formula.hh.