concepts::PiecewiseFormulaVector< dim, F, G, H > Class Template Referenceabstract
#include <formula.hh>
Public Types | |
typedef concepts::Realtype< Point< H, dim > >::type | G |
typedef Point< H, dim > | value_type |
Public Member Functions | |
virtual PiecewiseFormulaVector< dim, F, G, H > * | clone () const |
Virtual constructor. More... | |
virtual PiecewiseFormulaBase< Point< H, dim > > * | clone () const=0 |
Virtual constructor. More... | |
virtual Point< H, dim > & | dflt_value () |
Gives default value. More... | |
virtual const Point< H, dim > & | dflt_value () const |
Gives default value. More... | |
virtual Point< H, dim > | operator() (const Connector &cell, const Real p, const Real t=0.0) const |
Gives the value in an particular cell on a particular point. More... | |
virtual Point< H, dim > | operator() (const Connector &cell, const Real2d &p, const Real t=0.0) const |
virtual Point< H, dim > | operator() (const Connector &cell, const Real3d &p, const Real t=0.0) const |
virtual Point< H, dim > | operator() (const ElementWithCell< concepts::Realtype< Point< H, dim > >::type > &elm, const Real p, const Real t=0.0) const=0 |
Evaluates the formula. More... | |
virtual Point< H, dim > | operator() (const ElementWithCell< concepts::Realtype< Point< H, dim > >::type > &elm, const Real2d &p, const Real t=0.0) const=0 |
Evaluates the formula. More... | |
virtual Point< H, dim > | operator() (const ElementWithCell< concepts::Realtype< Point< H, dim > >::type > &elm, const Real3d &p, const Real t=0.0) const=0 |
Evaluates the formula. More... | |
virtual Point< H, dim > | operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const |
virtual Point< H, dim > | operator() (const ElementWithCell< G > &elm, const Real2d &p, const Real t=0.0) const |
virtual Point< H, dim > | operator() (const ElementWithCell< G > &elm, const Real3d &p, const Real t=0.0) const |
PiecewiseFormulaVector (const Space< G > &spc, const Vector< F > &coeff, const ElementFunction< H, G > &fun) | |
Protected Member Functions | |
const ElementWithCell< G > * | element_ (const Connector &cell) const |
Returns pointer to the element to which the cell cell or one of their children belongs. More... | |
virtual std::ostream & | info (std::ostream &os) const |
Returns information in an output stream. More... | |
Protected Attributes | |
Array< F > | coeff_ |
Solution vector. More... | |
std::map< uint, const ElementWithCell< G > * > | elm_ |
Mapping from cell key to the element. More... | |
const ElementFunction< H, G > * | fun_ |
Function of the FE function. More... | |
const Space< G > & | spc_ |
Space. More... | |
Private Attributes | |
Point< H, dim > | dflt_value_ |
default value More... | |
Detailed Description
template<uint dim, class F, class G, class H>
class concepts::PiecewiseFormulaVector< dim, F, G, H >
Definition at line 99 of file formula.hh.
Member Typedef Documentation
◆ G
|
inherited |
Definition at line 45 of file piecewiseFormula.hh.
◆ value_type
|
inherited |
Definition at line 37 of file elementFormula.hh.
Constructor & Destructor Documentation
◆ PiecewiseFormulaVector()
concepts::PiecewiseFormulaVector< dim, F, G, H >::PiecewiseFormulaVector | ( | const Space< G > & | spc, |
const Vector< F > & | coeff, | ||
const ElementFunction< H, G > & | fun | ||
) |
Definition at line 118 of file formula.hh.
Member Function Documentation
◆ clone() [1/2]
|
inlinevirtual |
Virtual constructor.
Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.
Implements concepts::Cloneable.
Definition at line 104 of file formula.hh.
◆ clone() [2/2]
|
pure virtualinherited |
Virtual constructor.
Returns a pointer to a copy of itself. The caller is responsible to destroy this copy.
Implements concepts::ElementFormula< Point< H, dim >, concepts::Realtype< Point< H, dim > >::type >.
◆ dflt_value() [1/2]
|
inlinevirtualinherited |
Gives default value.
Definition at line 83 of file piecewiseFormula.hh.
◆ dflt_value() [2/2]
|
inlinevirtualinherited |
Gives default value.
Definition at line 81 of file piecewiseFormula.hh.
◆ element_()
|
protectedinherited |
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 52 of file formula.hh.
◆ info()
|
protectedvirtualinherited |
Returns information in an output stream.
Reimplemented from concepts::OutputOperator.
Definition at line 85 of file piecewiseFormula.hh.
◆ operator()() [1/9]
|
virtual |
Gives the value in an particular cell on a particular point.
- Parameters
-
cell topological cell p physical coordinates t time
Implements concepts::PiecewiseFormulaBase< Point< H, dim > >.
Definition at line 124 of file formula.hh.
◆ operator()() [2/9]
|
virtual |
Implements concepts::PiecewiseFormulaBase< Point< H, dim > >.
Definition at line 141 of file formula.hh.
◆ operator()() [3/9]
|
virtual |
Implements concepts::PiecewiseFormulaBase< Point< H, dim > >.
Definition at line 158 of file formula.hh.
◆ operator()() [4/9]
|
pure virtualinherited |
◆ operator()() [5/9]
|
pure virtualinherited |
◆ operator()() [6/9]
|
pure virtualinherited |
◆ operator()() [7/9]
|
inlinevirtualinherited |
Definition at line 52 of file piecewiseFormula.hh.
◆ operator()() [8/9]
|
inlinevirtualinherited |
Definition at line 57 of file piecewiseFormula.hh.
◆ operator()() [9/9]
|
inlinevirtualinherited |
Definition at line 63 of file piecewiseFormula.hh.
Member Data Documentation
◆ coeff_
|
protectedinherited |
Solution vector.
Definition at line 43 of file formula.hh.
◆ dflt_value_
|
privateinherited |
default value
Definition at line 88 of file piecewiseFormula.hh.
◆ elm_
|
protectedinherited |
Mapping from cell key to the element.
Definition at line 47 of file formula.hh.
◆ fun_
|
protectedinherited |
Function of the FE function.
Definition at line 45 of file formula.hh.
◆ spc_
|
protectedinherited |
Definition at line 41 of file formula.hh.
The documentation for this class was generated from the following file:
- function/formula.hh