concepts::ConstFormula< F > Class Template Referenceabstract
Class for a constant formula. More...
#include <constFormula.hh>
Public Types | |
typedef Realtype< Real >::type | G |
typedef Real | value_type |
Public Member Functions | |
virtual ConstFormula< F > * | clone () const |
virtual Formula * | clone () const=0 |
ConstFormula (const F a=F(1.0)) | |
virtual F | operator() (const Real p, const Real t=0.0) const |
Application operator. More... | |
virtual F | operator() (const Real2d &p, const Real t=0.0) const |
Application operator. More... | |
virtual F | operator() (const Real3d &p, const Real t=0.0) const |
Application operator. More... | |
ConstFormula< F > & | operator= (const F a) |
virtual | ~ConstFormula () |
Protected Member Functions | |
virtual std::ostream & | info (std::ostream &os) const |
Private Attributes | |
F | a_ |
Detailed Description
template<typename F = Real>
class concepts::ConstFormula< F >
Class for a constant formula.
- Examples
- BGT_0.cc.
Definition at line 26 of file constFormula.hh.
Member Typedef Documentation
◆ G
|
inherited |
Definition at line 37 of file formula.hh.
◆ value_type
|
inherited |
Definition at line 36 of file formula.hh.
Constructor & Destructor Documentation
◆ ConstFormula()
|
inline |
Definition at line 28 of file constFormula.hh.
◆ ~ConstFormula()
|
inlinevirtual |
Definition at line 40 of file constFormula.hh.
Member Function Documentation
◆ clone() [1/2]
|
inlinevirtual |
Definition at line 43 of file constFormula.hh.
◆ clone() [2/2]
|
pure virtualinherited |
◆ info()
|
inlineprotectedvirtual |
Definition at line 51 of file constFormula.hh.
◆ operator()() [1/6]
|
inlinevirtualinherited |
Convenience implementation, that by default ignores its elm param.
Definition at line 53 of file formula.hh.
◆ operator()() [2/6]
|
inlinevirtualinherited |
Convenience implementation, that by default ignores its elm param.
Definition at line 56 of file formula.hh.
◆ operator()() [3/6]
|
inlinevirtualinherited |
Convenience implementation, that by default ignores its elm param.
Definition at line 59 of file formula.hh.
◆ operator()() [4/6]
|
inlinevirtual |
Application operator.
Evaluates the formula.
Implements concepts::Formula< Real >.
Definition at line 31 of file constFormula.hh.
◆ operator()() [5/6]
|
inlinevirtual |
Application operator.
Evaluates the formula.
Implements concepts::Formula< Real >.
Definition at line 34 of file constFormula.hh.
◆ operator()() [6/6]
|
inlinevirtual |
Application operator.
Evaluates the formula.
Implements concepts::Formula< Real >.
Definition at line 37 of file constFormula.hh.
◆ operator=()
|
inline |
Definition at line 46 of file constFormula.hh.
Member Data Documentation
◆ a_
|
private |
Definition at line 55 of file constFormula.hh.
The documentation for this class was generated from the following file:
- formula/constFormula.hh