All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
LinearSFR Struct Reference
Inheritance diagram for LinearSFR:
Collaboration diagram for LinearSFR:

Public Member Functions

virtual const BasicScalarFunctionRead (DataManager *const pDM, MBDynParser &HP) const
- Public Member Functions inherited from ScalarFunctionRead
virtual ~ScalarFunctionRead (void)

Detailed Description

Definition at line 224 of file ScalarFunctionsImpl.cc.

Member Function Documentation

virtual const BasicScalarFunction* LinearSFR::Read ( DataManager *const  pDM,
MBDynParser HP 
) const

Implements ScalarFunctionRead.

Definition at line 226 of file ScalarFunctionsImpl.cc.

References HighParser::GetReal().

226  {
227  doublereal t_i = HP.GetReal();
228  doublereal y_i = HP.GetReal();
229  doublereal t_f = HP.GetReal();
230  doublereal y_f = HP.GetReal();
231  return new LinearScalarFunction(t_i,y_i,t_f,y_f);
232  };
double doublereal
Definition: colamd.c:52
virtual doublereal GetReal(const doublereal &dDefval=0.0)
Definition: parser.cc:1056

Here is the call graph for this function:

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