Definition at line 89 of file module-nodedistdrive.cc.
Implements DriveCallerRead.
Definition at line 95 of file module-nodedistdrive.cc.
References WithLabel::GetLabel(), IncludeParser::GetLineData(), DataManager::GetLogFile(), WithLabel::GetName(), MBDynParser::GetPosRel(), MBDynParser::GetVecRel(), HighParser::IsKeyWord(), MBDYN_EXCEPT_ARGS, DriveCallerRead::NeedDM(), Vec3::Norm(), DataManager::pGetDrvHdl(), DataManager::ReadNode(), SAFENEWWITHCONSTRUCTOR, Node::STRUCTURAL, and Zero3.
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() <<
") "
const Vec3 Zero3(0., 0., 0.)
#define MBDYN_EXCEPT_ARGS
doublereal Norm(void) const
const DriveHandler * pGetDrvHdl(void) const
Vec3 GetPosRel(const ReferenceFrame &rf)
virtual bool IsKeyWord(const char *sKeyWord)
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Vec3 GetVecRel(const ReferenceFrame &rf)
std::ostream & GetLogFile(void) const
void NeedDM(const DataManager *pDM, MBDynParser &HP, bool bDeferred, const char *const name)
const std::string & GetName(void) const
virtual HighParser::ErrOut GetLineData(void) const
unsigned int GetLabel(void) const
Node * ReadNode(MBDynParser &HP, Node::Type type) const
The documentation for this struct was generated from the following file: