#include <elementFormulaContainer.hh>


Public Types | |
| typedef F | value_type |
Public Member Functions | |
| virtual ElementFormulaContainer< F, G > * | clone () const |
| Virtual copy constructor. | |
| ElementFormulaContainer (const F x) | |
| Special constructor for a constant. | |
| ElementFormulaContainer (const RCP< const ElementFormula< F, G > > frm) | |
| Constructor for an RCP to an element formula, replaces the own RCP. | |
| ElementFormulaContainer () | |
| Constructor with no argument. | |
| ElementFormulaContainer (const ElementFormula< F, G > *frm) | |
| Constructor for a pointer to an element formula in dynamic memory which will be deleted by this class. | |
| ElementFormulaContainer (const ElementFormula< F, G > &frm) | |
| Constructor for an element formula, takes a clone. | |
| ElementFormulaContainer (const ElementFormulaContainer< F, G > &frm) | |
| Copy constructor. | |
| bool | empty () const |
| Returns true if no formula is stored. | |
| const ElementFormula< F, G > & | frm () const |
| virtual F | operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const |
| Evaluates the formula. | |
| 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 | ~ElementFormulaContainer () |
Protected Member Functions | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Private Attributes | |
| RCP< const ElementFormula< F, G > > | frm_ |
| Element formula is stored as a RCP. | |
Definition at line 22 of file elementFormulaContainer.hh.
typedef F concepts::ElementFormula< F, G >::value_type [inherited] |
Reimplemented in concepts::Formula< F >, concepts::MatrixElementFormula< F, dim, G >, concepts::VectorFormula< F, dim >, concepts::Formula< concepts::Point< Cmplx, 2 > >, concepts::Formula< Point< F, dim > >, concepts::Formula< Cmplx >, concepts::Formula< Real >, and concepts::Formula< Real2d >.
Definition at line 31 of file elementFormula.hh.
| concepts::ElementFormulaContainer< F, G >::ElementFormulaContainer | ( | const F | x | ) |
Special constructor for a constant.
So, a constant can simply given to functions where a ElementFormulaContainer<F,G> is expected.
| concepts::ElementFormulaContainer< F, G >::ElementFormulaContainer | ( | ) | [inline] |
Constructor with no argument.
Definition at line 35 of file elementFormulaContainer.hh.
| concepts::ElementFormulaContainer< F, G >::ElementFormulaContainer | ( | const ElementFormula< F, G > & | frm | ) |
Constructor for an element formula, takes a clone.
| concepts::ElementFormulaContainer< F, G >::ElementFormulaContainer | ( | const RCP< const ElementFormula< F, G > > | frm | ) |
| concepts::ElementFormulaContainer< F, G >::ElementFormulaContainer | ( | const ElementFormula< F, G > * | frm | ) | [explicit] |
Constructor for a pointer to an element formula in dynamic memory which will be deleted by this class.
| concepts::ElementFormulaContainer< F, G >::ElementFormulaContainer | ( | const ElementFormulaContainer< F, G > & | frm | ) |
Copy constructor.
| virtual concepts::ElementFormulaContainer< F, G >::~ElementFormulaContainer | ( | ) | [virtual] |
| virtual ElementFormulaContainer<F,G>* concepts::ElementFormulaContainer< F, G >::clone | ( | ) | const [inline, virtual] |
Virtual copy constructor.
Implements concepts::ElementFormula< F, G >.
Definition at line 62 of file elementFormulaContainer.hh.
| bool concepts::ElementFormulaContainer< F, G >::empty | ( | ) | const [inline] |
Returns true if no formula is stored.
Definition at line 69 of file elementFormulaContainer.hh.
| const ElementFormula<F,G>& concepts::ElementFormulaContainer< F, G >::frm | ( | ) | const [inline] |
Definition at line 66 of file elementFormulaContainer.hh.
| virtual std::ostream& concepts::ElementFormulaContainer< F, G >::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
| virtual F concepts::ElementFormulaContainer< F, G >::operator() | ( | const ElementWithCell< G > & | elm, |
| const Real2d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [virtual] |
Implements concepts::ElementFormula< F, G >.
| virtual F concepts::ElementFormulaContainer< F, G >::operator() | ( | const ElementWithCell< G > & | elm, |
| const Real | p, | ||
| const Real | t = 0.0 |
||
| ) | const [virtual] |
Evaluates the formula.
Implements concepts::ElementFormula< F, G >.
| virtual F concepts::ElementFormulaContainer< F, G >::operator() | ( | const ElementWithCell< G > & | elm, |
| const Real3d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [virtual] |
Implements concepts::ElementFormula< F, G >.
RCP<const ElementFormula<F,G> > concepts::ElementFormulaContainer< F, G >::frm_ [private] |
Element formula is stored as a RCP.
Definition at line 76 of file elementFormulaContainer.hh.