Vectorial formula created from a FE function. More...
#include <elementFormula.hh>


Public Types | |
| typedef F | value_type |
Public Member Functions | |
| virtual ElementFormulaVector < dim, F, G, H > * | clone () const |
| Virtual copy constructor. | |
| ElementFormulaVector (const Space< H > &spc, const Vector< F > &v, const ElementFunction< G, H > &f) | |
| Constructor. | |
| virtual F | operator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const =0 |
| virtual F | operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const =0 |
| Evaluates the formula. | |
| virtual Point< G, dim > | operator() (const ElementWithCell< H > &elm, const Real p, const Real t=0.0) const |
| virtual Point< G, dim > | operator() (const ElementWithCell< H > &elm, const Real3d &p, const Real t=0.0) const |
| virtual Point< G, dim > | operator() (const ElementWithCell< H > &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 =0 |
Protected Member Functions | |
| void | compute_ (const Element< H > &elm, Array< J > &val, const P &p, const Real t=0.0) const |
| Performs the computations. | |
| virtual std::ostream & | info (std::ostream &os) const |
| Returns information in an output stream. | |
Protected Attributes | |
| Array< F > | coeff_ |
| std::auto_ptr< const ElementFunction< G, H > > | f_ |
| Element function. | |
| const Element< H > * | lastElm_ |
| const Element< H > * | lastElmOur_ |
| const Space< H > & | spc_ |
| const Vector< F > & | v_ |
Vectorial formula created from a FE function.
The FE function is described by a vector of coefficients.
| dim | Dimension of output vector (e.g. gradient has two components) |
| F | type of the coefficients |
| G | data type of the element function |
| H | type of the space, i.e. that of the T matrices |
Definition at line 129 of file elementFormula.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::ElementFormulaVector< dim, F, G, H >::ElementFormulaVector | ( | const Space< H > & | spc, |
| const Vector< F > & | v, | ||
| const ElementFunction< G, H > & | f | ||
| ) |
Constructor.
| v | Vector of coefficients of the FE function |
| f | Function to be evaluated on the FE function, eg. hp2D::Value |
Definition at line 154 of file elementFormula.hh.
| virtual ElementFormulaVector<dim,F,G,H>* concepts::ElementFormulaVector< dim, F, G, H >::clone | ( | ) | const [inline, virtual] |
Virtual copy constructor.
Implements concepts::ElementFormula< F, G >.
Definition at line 145 of file elementFormula.hh.

| void concepts::ElementFormulaVectorBase< F, H , Point< G, dim > , G >::compute_ | ( | const Element< H > & | elm, |
| Array< J > & | val, | ||
| const P & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [protected, inherited] |
Performs the computations.
| std::ostream & concepts::ElementFormulaVector< dim, F, G, H >::info | ( | std::ostream & | os | ) | const [protected, virtual] |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Definition at line 201 of file elementFormula.hh.
| virtual F concepts::ElementFormula< F, G >::operator() | ( | const ElementWithCell< G > & | elm, |
| const Real | p, | ||
| const Real | t = 0.0 |
||
| ) | const [pure virtual, inherited] |
Evaluates the formula.
Implemented in concepts::ComposeFormulaMatVec< F, DIM, G >, concepts::ComposeFormulaVecEntry< F, DIM, G >, concepts::ElementFormulaContainer< F, G >, concepts::FrmE_Inverse< F, G >, concepts::FrmE_Product< F, H, J, G >, concepts::FrmE_Sum< F, H, J, G >, concepts::MatrixElementFormula< F, dim, G >, concepts::VectorElementFormulaBase< F, dim, G >, concepts::PiecewiseElementFormula< F, G >, concepts::DirichletElementFormula< F, G >, concepts::ElementFormulaLiCo< F, G, H, J >, concepts::ElementFormulaCompose< F, G, H >, concepts::ComposeFormulaMatVec< F, DIM, G >, concepts::ComposeFormulaVecEntry< F, DIM, G >, concepts::ElementFormulaContainer< F >, concepts::PiecewiseFormulaBase< G >, concepts::VectorElementFormulaBase< F, 2, G >, and concepts::VectorElementFormulaBase< F, 3, G >.
| Point< G, dim > concepts::ElementFormulaVector< dim, F, G, H >::operator() | ( | const ElementWithCell< H > & | elm, |
| const Real3d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [virtual] |
| Point< G, dim > concepts::ElementFormulaVector< dim, F, G, H >::operator() | ( | const ElementWithCell< H > & | elm, |
| const Real | p, | ||
| const Real | t = 0.0 |
||
| ) | const [virtual] |
| Point< G, dim > concepts::ElementFormulaVector< dim, F, G, H >::operator() | ( | const ElementWithCell< H > & | elm, |
| const Real2d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [virtual] |
| virtual F concepts::ElementFormula< F, G >::operator() | ( | const ElementWithCell< G > & | elm, |
| const Real3d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [pure virtual, inherited] |
Implemented in concepts::ComposeFormulaMatVec< F, DIM, G >, concepts::ComposeFormulaVecEntry< F, DIM, G >, concepts::ElementFormulaContainer< F, G >, concepts::FrmE_Inverse< F, G >, concepts::FrmE_Product< F, H, J, G >, concepts::FrmE_Sum< F, H, J, G >, concepts::MatrixElementFormula< F, dim, G >, concepts::VectorElementFormulaBase< F, dim, G >, concepts::PiecewiseElementFormula< F, G >, concepts::DirichletElementFormula< F, G >, concepts::ElementFormulaLiCo< F, G, H, J >, concepts::ElementFormulaCompose< F, G, H >, concepts::ComposeFormulaMatVec< F, DIM, G >, concepts::ComposeFormulaVecEntry< F, DIM, G >, concepts::ElementFormulaContainer< F >, concepts::PiecewiseFormulaBase< G >, concepts::VectorElementFormulaBase< F, 2, G >, and concepts::VectorElementFormulaBase< F, 3, G >.
| virtual F concepts::ElementFormula< F, G >::operator() | ( | const ElementWithCell< G > & | elm, |
| const Real2d & | p, | ||
| const Real | t = 0.0 |
||
| ) | const [pure virtual, inherited] |
Implemented in concepts::ComposeFormulaMatVec< F, DIM, G >, concepts::ComposeFormulaVecEntry< F, DIM, G >, concepts::ElementFormulaContainer< F, G >, concepts::FrmE_Inverse< F, G >, concepts::FrmE_Product< F, H, J, G >, concepts::FrmE_Sum< F, H, J, G >, concepts::MatrixElementFormula< F, dim, G >, concepts::VectorElementFormulaBase< F, dim, G >, concepts::PiecewiseElementFormula< F, G >, concepts::DirichletElementFormula< F, G >, concepts::ElementFormulaLiCo< F, G, H, J >, concepts::ElementFormulaCompose< F, G, H >, concepts::ComposeFormulaMatVec< F, DIM, G >, concepts::ComposeFormulaVecEntry< F, DIM, G >, concepts::ElementFormulaContainer< F >, concepts::PiecewiseFormulaBase< G >, concepts::VectorElementFormulaBase< F, 2, G >, and concepts::VectorElementFormulaBase< F, 3, G >.
Array<F> concepts::ElementFormulaVectorBase< F, H , Point< G, dim > , G >::coeff_ [mutable, protected, inherited] |
Definition at line 51 of file elementFormula.hh.
std::auto_ptr<const ElementFunction<G ,H > > concepts::ElementFormulaVectorBase< F, H , Point< G, dim > , G >::f_ [protected, inherited] |
Element function.
Definition at line 47 of file elementFormula.hh.
const Element<H >* concepts::ElementFormulaVectorBase< F, H , Point< G, dim > , G >::lastElm_ [mutable, protected, inherited] |
Definition at line 49 of file elementFormula.hh.
const Element<H > * concepts::ElementFormulaVectorBase< F, H , Point< G, dim > , G >::lastElmOur_ [mutable, protected, inherited] |
Definition at line 49 of file elementFormula.hh.
const Space<H >& concepts::ElementFormulaVectorBase< F, H , Point< G, dim > , G >::spc_ [protected, inherited] |
Definition at line 44 of file elementFormula.hh.
const Vector<F>& concepts::ElementFormulaVectorBase< F, H , Point< G, dim > , G >::v_ [protected, inherited] |
Definition at line 45 of file elementFormula.hh.