MBDyn-1.7.3
|
#include <privdrive.h>
Public Member Functions | |
PrivDriveCaller (const DriveHandler *pDH, const DriveCaller *pDC, const SimulationEntity *p, unsigned int i, const std::string &s) | |
virtual | ~PrivDriveCaller (void) |
virtual DriveCaller * | pCopy (void) const |
virtual std::ostream & | Restart (std::ostream &out) const |
doublereal | dGet (const doublereal &dVar) const |
doublereal | dGet (void) const |
unsigned int | iGetIndex (void) const |
const SimulationEntity * | iGetSE (void) const |
Public Member Functions inherited from DriveCaller | |
DriveCaller (const DriveHandler *pDH) | |
virtual | ~DriveCaller (void) |
virtual bool | bIsDifferentiable (void) const |
virtual doublereal | dGetP (const doublereal &dVar) 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) |
Public Member Functions inherited from DriveOwner | |
DriveOwner (const DriveCaller *pDC=0) | |
DriveOwner (const DriveOwner &drive) | |
virtual | ~DriveOwner (void) |
void | Set (const DriveCaller *pDC) |
DriveCaller * | pGetDriveCaller (void) const |
doublereal | dGet (const doublereal &dVar) const |
doublereal | dGet (void) const |
bool | bIsDifferentiable (void) const |
doublereal | dGetP (const doublereal &dVar) const |
doublereal | dGetP (void) const |
Protected Attributes | |
const SimulationEntity * | pSE |
unsigned int | iIndex |
std::string | sIndexName |
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 |
Protected Attributes inherited from DriveOwner | |
DriveCaller * | pDriveCaller |
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 } |
Definition at line 48 of file privdrive.h.
PrivDriveCaller::PrivDriveCaller | ( | const DriveHandler * | pDH, |
const DriveCaller * | pDC, | ||
const SimulationEntity * | p, | ||
unsigned int | i, | ||
const std::string & | s | ||
) |
|
virtual |
Definition at line 49 of file privdrive.cc.
References NO_OP.
|
inlinevirtual |
Implements DriveCaller.
Definition at line 72 of file privdrive.h.
References dGet().
|
inlinevirtual |
Reimplemented from DriveCaller.
Definition at line 82 of file privdrive.h.
References DriveCaller::dGet(), SimulationEntity::dGetPrivData(), iIndex, DriveOwner::pGetDriveCaller(), and pSE.
Referenced by dGet().
unsigned int PrivDriveCaller::iGetIndex | ( | void | ) | const |
Definition at line 104 of file privdrive.cc.
References iIndex.
const SimulationEntity * PrivDriveCaller::iGetSE | ( | void | ) | const |
|
virtual |
Implements DriveCaller.
Definition at line 56 of file privdrive.cc.
References iIndex, DriveCaller::pDrvHdl, DriveOwner::pGetDriveCaller(), PrivDriveCaller(), pSE, SAFENEWWITHCONSTRUCTOR, and sIndexName.
|
virtual |
Implements DriveCaller.
Definition at line 72 of file privdrive.cc.
References Elem::GetElemType(), WithLabel::GetLabel(), Node::GetNodeType(), SimulationEntity::iGetNumPrivData(), iIndex, MBDYN_EXCEPT_ARGS, DriveOwner::pGetDriveCaller(), pSE, psReadElemsElems, psReadNodesNodes, DriveCaller::Restart(), and sIndexName.
|
protected |
Definition at line 52 of file privdrive.h.
Referenced by dGet(), iGetIndex(), pCopy(), and Restart().
|
protected |
|
protected |
Definition at line 53 of file privdrive.h.