template<class T, class Tder>
struct LTVViscoElasticGenericCLR< T, Tder >
Definition at line 944 of file constltp_impl.cc.
template<class T , class Tder >
Implements ConstitutiveLawRead< T, Tder >.
Definition at line 946 of file constltp_impl.cc.
References MBDynParser::Get(), MBDynParser::GetDriveCaller(), GetPreStress(), HighParser::GetReal(), HighParser::IsKeyWord(), IsNull(), SAFEDELETE, SAFENEWWITHCONSTRUCTOR, and ConstLawType::VISCOELASTIC.
951 Tder S(mb_zero<Tder>());
956 Tder SP(mb_zero<Tder>());
968 T PreStress(mb_zero<T>());
972 #if 0 // TODO: implement a "null" constitutive law that does nothing
976 silent_cerr(
"warning, null stiffness, "
977 "using linear viscous generic constitutive law instead"
982 typedef LTVViscousGenericConstitutiveLaw<T, Tder> L;
990 silent_cerr(
"warning, null stiffness prime, "
991 "using linear elastic generic constitutive law instead"
996 typedef LTVElasticGenericConstitutiveLaw<T, Tder> L;
bool IsNull(const doublereal &d)
virtual bool IsKeyWord(const char *sKeyWord)
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
void GetPreStress(MBDynParser &HP, T &PreStress)
DriveCaller * GetDriveCaller(bool bDeferred=false)
virtual doublereal Get(const doublereal &d)
virtual doublereal GetReal(const doublereal &dDefval=0.0)