#include <formula.hh>
Public Types | |
typedef concepts::Realtype< H >::type | G |
typedef F | value_type |
Public Member Functions | |
PiecewiseFormulaVectorBase (const Space< G > &spc, const Vector< F > &coeff, const ElementFunction< I, G > &fun) | |
virtual PiecewiseFormulaBase< H > * | clone () const=0 |
Virtual copy constructor. | |
virtual H | operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const |
virtual H | operator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const |
virtual H | operator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const |
virtual H | operator() (const Connector &cntr, const Real p, const Real t=0.0) const=0 |
virtual H | operator() (const Connector &cntr, const Real2d &p, const Real t=0.0) const=0 |
virtual H | operator() (const Connector &cntr, const Real3d &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 |
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 Real3d &p, const Real t=0.0) const =0 |
virtual const H & | dflt_value () const |
Gives default value. | |
virtual H & | dflt_value () |
Gives default value. | |
Protected Member Functions | |
const ElementWithCell< G > * | element_ (const Connector &cell) const |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. | |
Protected Attributes | |
const Space< G > & | spc_ |
Space. | |
Array< F > | coeff_ |
Solution vector. | |
const ElementFunction< I, G > * | fun_ |
Function of the FE function. | |
std::map< uint, const ElementWithCell< G > * > | elm_ |
Mapping from cell key to the element. | |
Base class for piecewise defined formula, which are a function of a FE function.
F | type of the coefficients |
G | type of the space, i.e. that of the T matrices |
H | type of the formula, is determined by derived classes |
I | type of the element function |
Definition at line 33 of file formula.hh.
|
inherited |
Definition at line 45 of file piecewiseFormula.hh.
|
inherited |
Definition at line 37 of file elementFormula.hh.
concepts::PiecewiseFormulaVectorBase< F, G, H, I >::PiecewiseFormulaVectorBase | ( | const Space< G > & | spc, |
const Vector< F > & | coeff, | ||
const ElementFunction< I, G > & | fun | ||
) |
Constructor
Definition at line 56 of file formula.hh.
|
pure virtualinherited |
Virtual copy constructor.
Implements concepts::ElementFormula< F, G >.
Implemented in concepts::PiecewiseFormulaVector< 1, F, G, H >.
|
inlinevirtualinherited |
Gives default value.
Definition at line 83 of file piecewiseFormula.hh.
|
inlinevirtualinherited |
Gives default value.
Definition at line 81 of file piecewiseFormula.hh.
|
protected |
Returns pointer to the element to which the cell cell
or one of their children belongs. If not such a element exists, null pointer is returned.
Definition at line 79 of file formula.hh.
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Definition at line 85 of file piecewiseFormula.hh.
|
pure virtualinherited |
Gives the value in an particular cell on a particular point
cell | topological cell |
p | physical coordinates |
t | time |
Implemented in concepts::PiecewiseFormulaVector< 1, F, G, H >.
|
inlinevirtualinherited |
Definition at line 52 of file piecewiseFormula.hh.
|
pure virtualinherited |
Evaluates the formula.
Implemented in concepts::ComposeFormulaMatVec< F, DIM, G >, concepts::ComposeFormulaVecEntry< F, DIM, G >, concepts::ElementFormulaContainer< F, G >, concepts::ElementFormulaContainer< concepts::Point< F, 2 >, G >, concepts::FrmE_Component< F, G, H >, concepts::FrmE_Component_Matrix< F, G, H >, concepts::FrmE_Conjugate< F, G >, concepts::FrmE_Inverse< F, G >, concepts::FrmE_PointToMapping< dim, F, G >, concepts::FrmE_PointsToMapping< 2, F, G >, concepts::FrmE_Trace< dim, 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::VectorElementFormulaBase< F, 2, G >, concepts::VectorElementFormulaBase< F, 3, G >, concepts::PiecewiseElementFormula< F, G >, concepts::DirichletElementFormula< F, G >, concepts::ElementFormulaCompose< F, G, H >, concepts::ComposeFormulaMatVec< F, DIM, G >, and concepts::ComposeFormulaVecEntry< F, DIM, G >.
|
inlinevirtualinherited |
Definition at line 57 of file piecewiseFormula.hh.
|
pure virtualinherited |
Evaluates the formula.
Implemented in concepts::ComposeFormulaMatVec< F, DIM, G >, concepts::ComposeFormulaVecEntry< F, DIM, G >, concepts::ElementFormulaContainer< F, G >, concepts::ElementFormulaContainer< concepts::Point< F, 2 >, G >, concepts::FrmE_Component< F, G, H >, concepts::FrmE_Component_Matrix< F, G, H >, concepts::FrmE_Conjugate< F, G >, concepts::FrmE_Inverse< F, G >, concepts::FrmE_PointToMapping< dim, F, G >, concepts::FrmE_PointsToMapping< 2, F, G >, concepts::FrmE_Trace< dim, 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::VectorElementFormulaBase< F, 2, G >, concepts::VectorElementFormulaBase< F, 3, G >, concepts::PiecewiseElementFormula< F, G >, concepts::DirichletElementFormula< F, G >, concepts::ElementFormulaCompose< F, G, H >, concepts::ComposeFormulaMatVec< F, DIM, G >, and concepts::ComposeFormulaVecEntry< F, DIM, G >.
|
inlinevirtualinherited |
Definition at line 63 of file piecewiseFormula.hh.
|
pure virtualinherited |
Evaluates the formula.
Implemented in concepts::ComposeFormulaMatVec< F, DIM, G >, concepts::ComposeFormulaVecEntry< F, DIM, G >, concepts::ElementFormulaContainer< F, G >, concepts::ElementFormulaContainer< concepts::Point< F, 2 >, G >, concepts::FrmE_Component< F, G, H >, concepts::FrmE_Component_Matrix< F, G, H >, concepts::FrmE_Conjugate< F, G >, concepts::FrmE_Inverse< F, G >, concepts::FrmE_PointToMapping< dim, F, G >, concepts::FrmE_PointsToMapping< 2, F, G >, concepts::FrmE_Trace< dim, 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::VectorElementFormulaBase< F, 2, G >, concepts::VectorElementFormulaBase< F, 3, G >, concepts::PiecewiseElementFormula< F, G >, concepts::DirichletElementFormula< F, G >, concepts::ElementFormulaCompose< F, G, H >, concepts::ComposeFormulaMatVec< F, DIM, G >, and concepts::ComposeFormulaVecEntry< F, DIM, G >.
|
protected |
Solution vector.
Definition at line 43 of file formula.hh.
|
protected |
Mapping from cell key to the element.
Definition at line 47 of file formula.hh.
|
protected |
Function of the FE function.
Definition at line 45 of file formula.hh.
|
protected |
Definition at line 41 of file formula.hh.