|
|
| PiecewiseConstImportFormula (const std::string material, const uint idxStart=1, const F dflt_value=0) |
| |
| virtual PiecewiseConstFormula< F > * | clone () const |
| | Virtual copy constructor.
|
| |
| virtual F | operator() (const Connector &cell, const Real p, const Real t=0.0) const |
| | Gives the constant in an particular cell.
|
| |
| virtual F | operator() (const Connector &cell, const Real2d &p, const Real t=0.0) const |
| |
| virtual F | operator() (const Connector &cell, const Real3d &p, const Real t=0.0) const |
| |
| virtual F | operator() (const ElementWithCell< G > &elm, const Real p, const Real t=0.0) const |
| |
| 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 F | operator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real p, const Real t=0.0) const=0 |
| |
| virtual F | operator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real2d &p, const Real t=0.0) const=0 |
| |
| virtual F | operator() (const ElementWithCell< concepts::Realtype< F >::type > &elm, const Real3d &p, const Real t=0.0) const=0 |
| |
|
virtual const F & | operator[] (const uint attrib) const |
| |
| virtual F & | operator[] (const uint attrib) |
| |
| template<class H > |
| PiecewiseConstFormula< F > & | operator*= (const H &factor) |
| |
| virtual const F & | dflt_value () const |
| | Gives default value.
|
| |
| virtual F & | dflt_value () |
| | Gives default value.
|
| |
template<
typename F = Real>
class concepts::PiecewiseConstImportFormula< F >
Piecewise constant function defined by attributes, imported from a file.
Format is
1 3 1.4
2 4 1.5
3 5 1.6
, where in the first column is the consecutive numbering, in the second the attribute, and in the following the contribution to the constants.
Format for the constants:
bool: 0 = false, else true
Real: 1.4 or 1.4e7
Cmplx: (1.0,0.0)- Author
- Kersten Schmidt, 2004
Definition at line 166 of file formula.hh.