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

Definition at line 796 of file constltp_impl.cc.

Member Function Documentation

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

Implements ConstitutiveLawRead< T, Tder >.

Definition at line 798 of file constltp_impl.cc.

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

798  {
799  ConstitutiveLaw<T, Tder>* pCL = 0;
800 
801  CLType = ConstLawType::VISCOUS;
802 
803  Tder SP(mb_zero<Tder>());
804  SP = HP.Get(SP);
805 
806  /* Prestress (no prestrain) */
807  T PreStress(mb_zero<T>());
808  GetPreStress(HP, PreStress);
809 
811  SAFENEWWITHCONSTRUCTOR(pCL, L, L(PreStress, SP));
812 
813  return pCL;
814  };
#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: