72 virtual std::ostream&
Restart(std::ostream& out)
const;
97 NeedDM(pDM, HP, bDeferred,
"node distance");
109 silent_cerr(
"sorry, since the driver is not owned by a DataManager" << std::endl
110 <<
"no DOF dependent drivers are allowed;" << std::endl
111 <<
"aborting..." << std::endl);
117 silent_cerr(
"node distance drive caller: keyword \"node1\" expected at line " << HP.
GetLineData() << std::endl);
127 silent_cerr(
"node distance drive caller: keyword \"node2\" expected at line " << HP.
GetLineData() << std::endl);
137 silent_cerr(
"node distance drive caller: keyword \"direction\" expected at line " << HP.
GetLineData() << std::endl);
151 <<
"nodedistdrive: " << pDC->
GetLabel()
152 <<
" (" << pDC->
GetName() <<
") "
216 pNode1(pNode1Arg), o1(o1Arg),
217 pNode2(pNode2Arg), o2(o2Arg),
250 out <<
"node distance,"
272 #ifndef STATIC_MODULES
278 silent_cerr(
"nodedistdrive: "
279 "module_init(" << module_name <<
") "
280 "failed" << std::endl);
287 #endif // ! STATIC_MODULES
NodeDistDriveCaller(const DriveHandler *pDH, const StructNode *pNode1, const Vec3 &o1, const StructNode *pNode2, const Vec3 &o2, const Vec3 &e1)
bool SetDriveCallerData(const char *name, DriveCallerRead *rf)
const Vec3 Zero3(0., 0., 0.)
Vec3 Cross(const Vec3 &v) const
#define MBDYN_EXCEPT_ARGS
virtual std::ostream & Restart(std::ostream &out) const
doublereal dGet(void) const
virtual const Mat3x3 & GetRCurr(void) const
doublereal Norm(void) const
doublereal Dot(const Vec3 &v) const
const StructNode *const pNode2
DriveCaller * Read(const DataManager *pDM, MBDynParser &HP, bool bDeferred)
const DriveHandler * pGetDrvHdl(void) const
virtual DriveCaller * pCopy(void) const
Vec3 MulTV(const Vec3 &v) const
virtual doublereal dGetP(void) const
virtual bool bIsDifferentiable(void) const
Vec3 GetPosRel(const ReferenceFrame &rf)
virtual bool IsKeyWord(const char *sKeyWord)
virtual const Vec3 & GetWCurr(void) const
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
virtual const Vec3 & GetXCurr(void) const
Vec3 GetVecRel(const ReferenceFrame &rf)
int module_init(const char *module_name, void *pdm, void *php)
This function registers our user defined element for the math parser.
std::ostream & GetLogFile(void) const
virtual const Vec3 & GetVCurr(void) const
void NeedDM(const DataManager *pDM, MBDynParser &HP, bool bDeferred, const char *const name)
const std::string & GetName(void) const
virtual ~NodeDistDriveCaller(void)
virtual HighParser::ErrOut GetLineData(void) const
unsigned int GetLabel(void) const
Node * ReadNode(MBDynParser &HP, Node::Type type) const
const StructNode *const pNode1