MBDyn-1.7.3
|
#include <drive_.h>
Public Member Functions | |
FreqSweepDriveCaller (const DriveHandler *pDH, doublereal d1, const DriveCaller *pOmega, const DriveCaller *pAmplitude, doublereal d2, doublereal d3, doublereal d4) | |
~FreqSweepDriveCaller (void) | |
virtual DriveCaller * | pCopy (void) const |
virtual std::ostream & | Restart (std::ostream &out) const |
doublereal | dGet (const doublereal &dVar) const |
virtual bool | bIsDifferentiable (void) const |
virtual doublereal | dGetP (const doublereal &dVar) const |
Public Member Functions inherited from DriveCaller | |
DriveCaller (const DriveHandler *pDH) | |
virtual | ~DriveCaller (void) |
virtual doublereal | dGet (void) const |
virtual doublereal | dGetP (void) const |
virtual void | SetDrvHdl (const DriveHandler *pDH) |
virtual const DriveHandler * | pGetDrvHdl (void) const |
virtual void | Output (OutputHandler &OH) const |
virtual void | Trace (OutputHandler &OH) const |
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 |
Public Member Functions inherited from ToBeOutput | |
ToBeOutput (flag fOut=fDefaultOut) | |
virtual | ~ToBeOutput (void) |
virtual void | OutputPrepare (OutputHandler &OH) |
virtual void | Output (OutputHandler &OH, const VectorHandler &X, const VectorHandler &XP) const |
virtual flag | fToBeOutput (void) const |
virtual bool | bToBeOutput (void) const |
virtual void | SetOutputFlag (flag f=flag(1)) |
Public Member Functions inherited from Traceable | |
Traceable (flag fTrace=0) | |
virtual | ~Traceable (void) |
virtual flag | fToBeTraced (void) const |
virtual void | SetTraceFlag (flag f=TRACE) |
Private Attributes | |
doublereal | dStartTime |
const DriveCaller * | pOmega |
const DriveCaller * | pAmplitude |
doublereal | dInitialValue |
doublereal | dEndTime |
doublereal | dFinalValue |
bool | bNeverEnd |
Additional Inherited Members | |
Public Types inherited from DriveCaller | |
enum | OutputFlags { OUTPUT_VALUE = OUTPUT_PRIVATE << 0, OUTPUT_DERIVATIVE = OUTPUT_PRIVATE << 1 } |
enum | TraceFlags { TRACE_VALUE = TRACE_PRIVATE << 0, TRACE_DERIVATIVE = TRACE_PRIVATE << 1 } |
Public Types inherited from ToBeOutput | |
enum | { OUTPUT = 0x1U, OUTPUT_MASK = 0xFU, OUTPUT_PRIVATE = 0x10U, OUTPUT_PRIVATE_MASK = ~OUTPUT_MASK } |
Public Types inherited from Traceable | |
enum | { TRACE = 0x01U, TRACE_PUBLIC_MASK = 0x0FU, TRACE_PRIVATE = 0x10U, TRACE_PRIVATE_MASK = ~TRACE_PUBLIC_MASK } |
Protected Attributes inherited from DriveCaller | |
DriveHandler * | pDrvHdl |
Protected Attributes inherited from WithLabel | |
unsigned int | uLabel |
std::string | sName |
Protected Attributes inherited from ToBeOutput | |
flag | fOutput |
FreqSweepDriveCaller::FreqSweepDriveCaller | ( | const DriveHandler * | pDH, |
doublereal | d1, | ||
const DriveCaller * | pOmega, | ||
const DriveCaller * | pAmplitude, | ||
doublereal | d2, | ||
doublereal | d3, | ||
doublereal | d4 | ||
) |
FreqSweepDriveCaller::~FreqSweepDriveCaller | ( | void | ) |
|
inlinevirtual |
Reimplemented from DriveCaller.
Definition at line 1124 of file drive_.h.
References DriveCaller::bIsDifferentiable(), pAmplitude, and pOmega.
|
inlinevirtual |
Implements DriveCaller.
Definition at line 1109 of file drive_.h.
References bNeverEnd, dEndTime, dFinalValue, DriveCaller::dGet(), dInitialValue, dStartTime, pAmplitude, pOmega, and grad::sin().
|
inlinevirtual |
Reimplemented from DriveCaller.
Definition at line 1130 of file drive_.h.
References bNeverEnd, grad::cos(), dEndTime, DriveCaller::dGet(), DriveCaller::dGetP(), dStartTime, pAmplitude, pOmega, and grad::sin().
|
virtual |
Implements DriveCaller.
Definition at line 826 of file drive_.cc.
References dEndTime, dFinalValue, dInitialValue, dStartTime, FreqSweepDriveCaller(), pAmplitude, DriveCaller::pCopy(), DriveCaller::pDrvHdl, pOmega, and SAFENEWWITHCONSTRUCTOR.
|
virtual |
Implements DriveCaller.
Definition at line 838 of file drive_.cc.
References dEndTime, dFinalValue, dInitialValue, dStartTime, pAmplitude, pOmega, and DriveCaller::Restart().
|
private |
Definition at line 1077 of file drive_.h.
Referenced by dGet(), dGetP(), and FreqSweepDriveCaller().
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 1073 of file drive_.h.
Referenced by bIsDifferentiable(), dGet(), dGetP(), pCopy(), Restart(), and ~FreqSweepDriveCaller().
|
private |
Definition at line 1072 of file drive_.h.
Referenced by bIsDifferentiable(), dGet(), dGetP(), pCopy(), Restart(), and ~FreqSweepDriveCaller().