Definition at line 239 of file module-cont-contact.cc.
Implements ConstitutiveLawRead< doublereal, doublereal >.
Definition at line 241 of file module-cont-contact.cc.
References ContContactCL::CC_FLORES_ET_AL, ContContactCL::CC_HUNT_CROSSLEY, ContContactCL::CC_LANKARANI_NIKRAVESH, copysign(), IncludeParser::GetLineData(), HighParser::GetReal(), HighParser::IsArg(), HighParser::IsKeyWord(), MBDYN_EXCEPT_ARGS, SAFENEWWITHCONSTRUCTOR, and ConstLawType::VISCOELASTIC.
247 silent_cerr(
"ContContactCLR:\n"
248 " continuous contact ,\n"
249 " [ , sign , { negative | positive | <sign> } , ]\n"
250 " [ , formulation, { flores | lankarani nikravesh | hunt crossley } , ]\n"
251 " restitution , <restitution_coefficient> , (0 -> 1)\n"
252 " kappa , <stiffness> , (> 0)\n"
253 " exp , <exponent> , (>= 1)\n"
254 " [ , EpsPrimeTol , <EpsPrimeTol> ]\n"
255 " [ , prestrain , (DriveCaller) <prestrain> ]\n"
272 silent_cerr(
"ContContactCLR: invalid sign " << d
285 }
else if (HP.
IsKeyWord(
"hunt" "crossley")) {
288 }
else if (HP.
IsKeyWord(
"lankarani" "nikravesh")) {
292 silent_cerr(
"ContContactCLR: invalid formulation"
299 silent_cerr(
"ContContactCLR: \"restitution\" expected at line "
305 silent_cerr(
"ContContactCLR: invalid \"restitution\" at line "
310 silent_cerr(
"ContContactCLR: null \"restitution\" incompatible with \"Flores\" at line "
316 silent_cerr(
"ContContactCLR: \"kappa\" expected at line " << HP.
GetLineData() << std::endl);
321 silent_cerr(
"ContContactCLR: invalid \"kappa\" at line " << HP.
GetLineData() << std::endl);
326 silent_cerr(
"ContContactCLR: \"exp\" expected at line " << HP.
GetLineData() << std::endl);
331 silent_cerr(
"ContContactCLR: invalid \"exp\" at line " << HP.
GetLineData() << std::endl);
337 dInitialEpsPrimeTol = HP.
GetReal();
338 if (dInitialEpsPrimeTol < 0.) {
339 silent_cerr(
"ContContactCLR: invalid \"EpsPrimeTol\" at line " << HP.
GetLineData() << std::endl);
348 ContContactCL(pTplDC, dSign, type, dRest, dK, dExp, dInitialEpsPrimeTol));
#define MBDYN_EXCEPT_ARGS
virtual bool IsKeyWord(const char *sKeyWord)
doublereal copysign(doublereal x, doublereal y)
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
virtual HighParser::ErrOut GetLineData(void) const
virtual doublereal GetReal(const doublereal &dDefval=0.0)
The documentation for this struct was generated from the following file: