2722 const char *sType = bCouple ?
"Couple" :
"Force";
2735 bool bLegacy(
false);
2736 bool bGotPosition(
false);
2741 silent_cerr(sType <<
"(" << uLabel <<
"): "
2742 "invalid node type at line " << HP.
GetLineData() << std::endl);
2748 bGotPosition =
true;
2749 DEBUGCOUT(
"Arm is supplied" << std::endl);
2753 silent_cerr(sType <<
"(" << uLabel <<
"): "
2754 "\"position\" keyword expected "
2756 "still using deprecated syntax?"
2763 silent_cerr(sType <<
"(" << uLabel <<
") has null direction" << std::endl);
2771 silent_cerr(sType <<
"(" << uLabel <<
") has null direction" << std::endl);
2789 pNode2 =
dynamic_cast<const StructNode *
>(pDispNode2);
2793 silent_cerr(sType <<
"(" << uLabel <<
"): "
2794 "invalid node type at line " << HP.
GetLineData() << std::endl);
2803 bGotPosition =
true;
2804 DEBUGCOUT(
"Node 2 arm is supplied" << std::endl);
2806 }
else if (bLegacy) {
2812 if (bCouple && bInternal && !bGotPosition) {
2813 silent_cerr(sType <<
"(" << uLabel <<
") "
2815 "warning, the syntax changed; "
2816 "you may safely ignore this warning if you used "
2817 "the syntax documented for MBDyn >= 1.3.7"
2834 bool bOutRel(
false);
2835 if (bFollower && HP.
IsKeyWord(
"output" "relative")) {
2924 os <<
" displacement";
2932 os <<
": " << uLabel <<
' ' << pDispNode->
GetLabel()
2935 if (pDispNode2 != 0) {
2936 os <<
' ' << pDispNode2->
GetLabel() <<
' ' << Arm2;
2940 os <<
" output_relative";
flag fReadOutput(MBDynParser &HP, const T &t) const
const Vec3 Zero3(0., 0., 0.)
#define MBDYN_EXCEPT_ARGS
TplDriveCaller< Vec3 > * ReadDCVecAbs(const DataManager *pDM, MBDynParser &HP, const ReferenceFrame &rf)
Vec3 GetPosRel(const ReferenceFrame &rf)
virtual bool IsKeyWord(const char *sKeyWord)
TplDriveCaller< T > * DC2TDC(DriveCaller *pDC, T &t)
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Vec3 GetUnitVecAbs(const ReferenceFrame &rf)
std::ostream & GetLogFile(void) const
virtual flag fToBeOutput(void) const
DriveCaller * GetDriveCaller(bool bDeferred=false)
Vec3 GetUnitVecRel(const ReferenceFrame &rf)
virtual HighParser::ErrOut GetLineData(void) const
unsigned int GetLabel(void) const
Node * ReadNode(MBDynParser &HP, Node::Type type) const
TplDriveCaller< Vec3 > * ReadDCVecRel(const DataManager *pDM, MBDynParser &HP, const ReferenceFrame &rf)