54 integer nd,
const std::vector<doublereal>&
v0)
55 :
Drive(uL, pDH), sFileName(s), iNumDrives(nd), pdVal(0)
60 for (
int iCntm1 = 1; iCntm1 <= nd; iCntm1++) {
65 ASSERT(v0.size() == unsigned(nd));
66 for (
int iCnt = 0; iCnt < nd; iCnt++) {
67 pdVal[iCnt + 1] = v0[iCnt];
102 :
DriveCaller(pDH), pFileDrive(p), iNumDrive(i), dAmplitude(da)
virtual Drive::Type GetDriveType(void) const
#define SAFEDELETEARR(pnt)
virtual std::ostream & Restart(std::ostream &out) const
#define MBDYN_FILE_DRIVE_CHECK
FileDrive(unsigned int uL, const DriveHandler *pDH, const std::string &s, integer nd, const std::vector< doublereal > &v0)
virtual DriveCaller * pCopy(void) const
virtual doublereal dGet(const doublereal &t, int i=1) const
virtual ~FileDriveCaller(void)
FileDriveCaller(const DriveHandler *pDH, const FileDrive *p, integer i, const doublereal &da)
#define ASSERT(expression)
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
const FileDrive * pFileDrive
#define SAFENEWARR(pnt, item, sz)
static const std::vector< doublereal > v0
unsigned int GetLabel(void) const