MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
InvAngularCLR Struct Reference

#include <vehj.h>

Inheritance diagram for InvAngularCLR:
Collaboration diagram for InvAngularCLR:

Public Member Functions

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

Detailed Description

Definition at line 714 of file vehj.h.

Member Function Documentation

ConstitutiveLaw< Vec3, Mat3x3 > * InvAngularCLR::Read ( const DataManager pDM,
MBDynParser HP,
ConstLawType::Type CLType 
)
virtual

Implements ConstitutiveLawRead< Vec3, Mat3x3 >.

Definition at line 1921 of file vehj.cc.

References ConstLawType::ELASTIC, MBDynParser::GetConstLaw3D(), HighParser::GetReal(), and SAFENEWWITHCONSTRUCTOR.

1922 {
1924 
1925  doublereal dXi = HP.GetReal();
1926 
1927  ConstitutiveLaw<Vec3, Mat3x3>* pCL2 = HP.GetConstLaw3D(CLType);
1928  CLType = ConstLawType::Type(ConstLawType::ELASTIC | CLType);
1929 
1930  typedef InvAngularConstitutiveLaw L;
1931  SAFENEWWITHCONSTRUCTOR(pCL, L, L(dXi, pCL2));
1932 
1933  return pCL;
1934 }
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Definition: mynewmem.h:698
double doublereal
Definition: colamd.c:52
ConstitutiveLaw3D * GetConstLaw3D(ConstLawType::Type &clt)
Definition: mbpar.cc:1968
virtual doublereal GetReal(const doublereal &dDefval=0.0)
Definition: parser.cc:1056

Here is the call graph for this function:


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