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

Definition at line 320 of file constltp_impl.cc.

Member Function Documentation

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

Implements ConstitutiveLawRead< T, Tder >.

Definition at line 322 of file constltp_impl.cc.

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

322  {
323  ConstitutiveLaw<T, Tder>* pCL = 0;
324 
325  CLType = ConstLawType::ELASTIC;
326 
327  DEBUGCOUT("Linear Elastic Generic Constitutive Law" << std::endl);
328  Tder S(mb_zero<Tder>());
329  S = HP.Get(S);
330 
331  /* Prestress and prestrain */
332  T PreStress(mb_zero<T>());
333  GetPreStress(HP, PreStress);
334  TplDriveCaller<T>* pTplDC = GetPreStrain<T>(pDM, HP);
335 
337  SAFENEWWITHCONSTRUCTOR(pCL, L, L(pTplDC, PreStress, S));
338 
339  return pCL;
340  };
#define DEBUGCOUT(msg)
Definition: myassert.h:232
#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: