Definition at line 1810 of file drive_.cc.
Implements DriveCallerRead.
Definition at line 1816 of file drive_.cc.
References DEBUGCOUT, IncludeParser::GetLineData(), HighParser::GetReal(), HighParser::IsKeyWord(), DriveCallerRead::NeedDM(), DataManager::pGetDrvHdl(), and SAFENEWWITHCONSTRUCTOR.
1818 NeedDM(pDM, HP, bDeferred,
"ramp");
1829 DEBUGCOUT(
"Slope Value: " << dSlope << std::endl);
1832 DEBUGCOUT(
"Initial time: " << dInitialTime << std::endl);
1834 doublereal dFinalTime = std::numeric_limits<double>::max();
1838 DEBUGCOUT(
"Final time: " << dFinalTime << std::endl);
1840 if (dFinalTime <= dInitialTime) {
1841 silent_cerr(
"Warning at line "
1843 <<
": final time " << dFinalTime
1844 <<
" is less than or equal to initial time " << dInitialTime
1845 <<
" in ramp func drive" << std::endl);
1849 DEBUGCOUT(
"InitialValue: " << dInitialValue << std::endl);
1854 dFinalTime, dInitialValue));
const DriveHandler * pGetDrvHdl(void) const
virtual bool IsKeyWord(const char *sKeyWord)
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
void NeedDM(const DataManager *pDM, MBDynParser &HP, bool bDeferred, const char *const name)
virtual HighParser::ErrOut GetLineData(void) const
virtual doublereal GetReal(const doublereal &dDefval=0.0)
The documentation for this struct was generated from the following file: