elementFormulaContainer.hh
virtual F operator()(const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const
Evaluates the formula.
ElementFormulaContainer(const ElementFormula< F, G > &frm)
Constructor for an element formula, takes a clone.
ElementFormulaContainer(const F x)
Special constructor for a constant.
ElementFormulaContainer(const ElementFormula< F, G > *frm)
Constructor for a pointer to an element formula in dynamic memory which will be deleted by this class...
const ElementFormula< F, G > & frm() const
Definition: elementFormulaContainer.hh:69
ElementFormulaContainer(const ElementFormulaContainer< F, G > &frm)
Copy constructor.
virtual ~ElementFormulaContainer()
virtual ElementFormulaContainer< F, G > * clone() const
Virtual copy constructor.
Definition: elementFormulaContainer.hh:65
Interface for a formula defined element by element.
Definition: elementFormula.hh:35
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
ElementFormulaContainer(const RCP< const ElementFormula< F, G > > frm)
Constructor for an RCP to an element formula, replaces the own RCP.
RCP< const ElementFormula< F, G > > frm_
Element formula is stored as a RCP.
Definition: elementFormulaContainer.hh:79