MBDyn-1.7.3
|
#include <fixedstep.h>
Public Member Functions | |
FixedStepFileDrive (unsigned int uL, const DriveHandler *pDH, const char *const sFileName, integer is, integer id, doublereal t0, doublereal dt, bool bl, bool pz, Drive::Bailout bo) | |
virtual | ~FixedStepFileDrive (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 | |
doublereal | dT0 |
doublereal | dDT |
integer | iNumSteps |
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. |
Definition at line 41 of file fixedstep.h.
FixedStepFileDrive::FixedStepFileDrive | ( | unsigned int | uL, |
const DriveHandler * | pDH, | ||
const char *const | sFileName, | ||
integer | is, | ||
integer | id, | ||
doublereal | t0, | ||
doublereal | dt, | ||
bool | bl, | ||
bool | pz, | ||
Drive::Bailout | bo | ||
) |
Definition at line 48 of file fixedstep.cc.
References ASSERT, c, dDT, dFromFile, DriveHandler::dGetTime(), dT0, FIXED_BUFSIZE, FileDrive::iNumDrives, iNumSteps, MBDYN_EXCEPT_ARGS, pd, pvd, SAFENEWARR, ServePending(), and STRLENOF.
|
virtual |
|
virtual |
Implements FileDrive.
Definition at line 229 of file fixedstep.cc.
|
virtual |
Implements Drive.
Definition at line 236 of file fixedstep.cc.
References bLinear, Drive::BO_LOWER, Drive::BO_UPPER, boWhen, bPadZeroes, dDT, dT0, FileDrive::iNumDrives, iNumSteps, MBDYN_EXCEPT_ARGS, FileDrive::pdVal, and pvd.
Referenced by FixedStepFileDrive().
|
protected |
Definition at line 46 of file fixedstep.h.
Referenced by ServePending().
|
protected |
Definition at line 48 of file fixedstep.h.
Referenced by ServePending().
|
protected |
Definition at line 47 of file fixedstep.h.
Referenced by ServePending().
|
protected |
Definition at line 44 of file fixedstep.h.
Referenced by FixedStepFileDrive(), and ServePending().
|
protected |
Definition at line 43 of file fixedstep.h.
Referenced by FixedStepFileDrive(), and ServePending().
|
protected |
Definition at line 45 of file fixedstep.h.
Referenced by FixedStepFileDrive(), and ServePending().
|
protected |
Definition at line 50 of file fixedstep.h.
Referenced by FixedStepFileDrive(), and ~FixedStepFileDrive().
|
protected |
Definition at line 51 of file fixedstep.h.
Referenced by FixedStepFileDrive(), ServePending(), and ~FixedStepFileDrive().