MBDyn-1.7.3
|
#include <varstep.h>
Public Member Functions | |
VariableStepFileDrive (unsigned int uL, const DriveHandler *pDH, const char *const sFileName, integer id, bool bl, bool pz, Drive::Bailout bo) | |
virtual | ~VariableStepFileDrive (void) |
virtual std::ostream & | Restart (std::ostream &out) const |
virtual void | ServePending (const doublereal &t) |
Public Member Functions inherited from FileDrive | |
FileDrive (unsigned int uL, const DriveHandler *pDH, const std::string &s, integer nd, const std::vector< doublereal > &v0) | |
virtual | ~FileDrive (void) |
virtual Drive::Type | GetDriveType (void) const |
virtual integer | iGetNumDrives (void) const |
virtual doublereal | dGet (const doublereal &t, int i=1) const |
Public Member Functions inherited from Drive | |
Drive (unsigned int uL, const DriveHandler *pDH) | |
virtual | ~Drive (void) |
Public Member Functions inherited from WithLabel | |
WithLabel (unsigned int uL=0, const std::string &sN="") | |
virtual | ~WithLabel (void) |
void | PutLabel (unsigned int uL) |
void | PutName (const std::string &sN) |
unsigned int | GetLabel (void) const |
const std::string & | GetName (void) const |
Protected Attributes | |
integer | iNumSteps |
integer | iCurrStep |
bool | bLinear |
bool | bPadZeroes |
Bailout | boWhen |
doublereal * | pd |
doublereal ** | pvd |
Protected Attributes inherited from FileDrive | |
std::string | sFileName |
integer | iNumDrives |
doublereal * | pdVal |
Protected Attributes inherited from Drive | |
const DriveHandler * | pDrvHdl |
Protected Attributes inherited from WithLabel | |
unsigned int | uLabel |
std::string | sName |
Additional Inherited Members | |
Public Types inherited from Drive | |
enum | Type { UNKNOWN = -1, FILEDRIVE = 0, LASTDRIVETYPE } |
enum | Bailout { BO_NONE = 0x0, BO_UPPER = 0x1, BO_LOWER = 0x2, BO_ANY = (BO_UPPER | BO_LOWER) } |
Static Protected Attributes inherited from Drive | |
static doublereal | dReturnValue = 0. |
VariableStepFileDrive::VariableStepFileDrive | ( | unsigned int | uL, |
const DriveHandler * | pDH, | ||
const char *const | sFileName, | ||
integer | id, | ||
bool | bl, | ||
bool | pz, | ||
Drive::Bailout | bo | ||
) |
Definition at line 48 of file varstep.cc.
References ASSERT, buf, c, DriveHandler::dGetTime(), iCurrStep, FileDrive::iNumDrives, iNumSteps, MBDYN_EXCEPT_ARGS, pd, pvd, SAFENEWARR, ServePending(), and STRLENOF.
|
virtual |
|
virtual |
Implements FileDrive.
Definition at line 175 of file varstep.cc.
|
virtual |
Implements Drive.
Definition at line 182 of file varstep.cc.
References ASSERT, bLinear, Drive::BO_LOWER, Drive::BO_UPPER, boWhen, bPadZeroes, iCurrStep, FileDrive::iNumDrives, iNumSteps, MBDYN_EXCEPT_ARGS, FileDrive::pdVal, and pvd.
Referenced by VariableStepFileDrive().
|
protected |
Definition at line 45 of file varstep.h.
Referenced by ServePending().
|
protected |
Definition at line 47 of file varstep.h.
Referenced by ServePending().
|
protected |
Definition at line 46 of file varstep.h.
Referenced by ServePending().
|
protected |
Definition at line 44 of file varstep.h.
Referenced by ServePending(), and VariableStepFileDrive().
|
protected |
Definition at line 43 of file varstep.h.
Referenced by ServePending(), and VariableStepFileDrive().
|
protected |
Definition at line 49 of file varstep.h.
Referenced by VariableStepFileDrive(), and ~VariableStepFileDrive().
|
protected |
Definition at line 50 of file varstep.h.
Referenced by ServePending(), VariableStepFileDrive(), and ~VariableStepFileDrive().