piecewiseFormula.hh
Piecewise defined function on a number of cells.
Definition: piecewiseFormula.hh:43
Real3d elemMap(const Real coord_local) const
Definition: element.hh:86
virtual F operator()(const Connector &cntr, const Real3d &p, const Real t=0.0) const =0
Interface for a formula defined element by element.
Definition: elementFormula.hh:35
virtual ~PiecewiseFormulaBase()
Definition: piecewiseFormula.hh:97
virtual F operator()(const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const
Definition: piecewiseFormula.hh:63
virtual F operator()(const Connector &cntr, const Real2d &p, const Real t=0.0) const =0
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Definition: piecewiseFormula.hh:100
virtual const Cell & cell() const =0
Returns the cell on which the element is built.
PiecewiseFormulaBase(const F dflt_value=(F) 0)
Constructor with default value.
Definition: piecewiseFormula.hh:92
virtual PiecewiseFormulaBase< F > * clone() const =0
Virtual constructor.
virtual F operator()(const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const
Definition: piecewiseFormula.hh:52
virtual F operator()(const Connector &cntr, const Real p, const Real t=0.0) const =0
Gives the value in an particular cell on a particular point.
virtual F operator()(const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const
Definition: piecewiseFormula.hh:57