MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
CubicViscoElasticGenericCLR< T, Tder > Struct Template Reference
Inheritance diagram for CubicViscoElasticGenericCLR< T, Tder >:
Collaboration diagram for CubicViscoElasticGenericCLR< T, Tder >:

Public Member Functions

virtual ConstitutiveLaw< T,
Tder > * 
Read (const DataManager *pDM, MBDynParser &HP, ConstLawType::Type &CLType)
 
- Public Member Functions inherited from ConstitutiveLawRead< T, Tder >
virtual ~ConstitutiveLawRead (void)
 

Detailed Description

template<class T, class Tder>
struct CubicViscoElasticGenericCLR< T, Tder >

Definition at line 1040 of file constltp_impl.cc.

Member Function Documentation

template<class T , class Tder >
virtual ConstitutiveLaw<T, Tder>* CubicViscoElasticGenericCLR< T, Tder >::Read ( const DataManager pDM,
MBDynParser HP,
ConstLawType::Type CLType 
)
inlinevirtual

Implements ConstitutiveLawRead< T, Tder >.

Definition at line 1042 of file constltp_impl.cc.

References MBDynParser::Get(), GetPreStress(), SAFENEWWITHCONSTRUCTOR, and ConstLawType::VISCOELASTIC.

1042  {
1043  ConstitutiveLaw<T, Tder>* pCL = 0;
1044 
1045  CLType = ConstLawType::VISCOELASTIC;
1046 
1047  T S1(mb_zero<T>());
1048  S1 = HP.Get(S1);
1049 
1050  T S2(mb_zero<T>());
1051  S2 = HP.Get(S2);
1052 
1053  T S3(mb_zero<T>());
1054  S3 = HP.Get(S3);
1055 
1056  Tder SP(mb_zero<Tder>());
1057  SP = HP.Get(SP);
1058 
1059  /* Prestress and prestrain */
1060  T PreStress(mb_zero<T>());
1061  GetPreStress(HP, PreStress);
1062  TplDriveCaller<T>* pTplDC = GetPreStrain<T>(pDM, HP);
1063 
1065  SAFENEWWITHCONSTRUCTOR(pCL, L, L(pTplDC, PreStress, S1, S2, S3, SP));
1066 
1067  return pCL;
1068  };
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Definition: mynewmem.h:698
void GetPreStress(MBDynParser &HP, T &PreStress)
virtual doublereal Get(const doublereal &d)
Definition: mbpar.cc:2213

Here is the call graph for this function:


The documentation for this struct was generated from the following file: