MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
DummySF Class Reference
Inheritance diagram for DummySF:
Collaboration diagram for DummySF:

Public Member Functions

 DummySF (const doublereal d)
 
virtual ~DummySF (void)
 
virtual doublereal operator() (const doublereal x) const
 
virtual doublereal ComputeDiff (const doublereal t, const integer order=1) const
 
- Public Member Functions inherited from DifferentiableScalarFunction
virtual ~DifferentiableScalarFunction ()
 
- Public Member Functions inherited from BasicScalarFunction
virtual ~BasicScalarFunction ()
 

Private Attributes

doublereal dConst
 

Detailed Description

Definition at line 40 of file module-scalarfunc.cc.

Constructor & Destructor Documentation

DummySF::DummySF ( const doublereal  d)
inline

Definition at line 45 of file module-scalarfunc.cc.

References NO_OP.

45 : dConst(d) { NO_OP; };
#define NO_OP
Definition: myassert.h:74
doublereal dConst
virtual DummySF::~DummySF ( void  )
inlinevirtual

Definition at line 46 of file module-scalarfunc.cc.

References NO_OP.

46 { NO_OP; };
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

virtual doublereal DummySF::ComputeDiff ( const doublereal  t,
const integer  order = 1 
) const
inlinevirtual

Implements DifferentiableScalarFunction.

Definition at line 48 of file module-scalarfunc.cc.

48 { return 0; };
virtual doublereal DummySF::operator() ( const doublereal  x) const
inlinevirtual

Implements DifferentiableScalarFunction.

Definition at line 47 of file module-scalarfunc.cc.

References dConst.

47 { return dConst; };
doublereal dConst

Member Data Documentation

doublereal DummySF::dConst
private

Definition at line 42 of file module-scalarfunc.cc.

Referenced by operator()().


The documentation for this class was generated from the following file: