MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
DummyConstitutiveLaw< Vec3, Mat3x3 > Class Template Reference
Inheritance diagram for DummyConstitutiveLaw< Vec3, Mat3x3 >:
Collaboration diagram for DummyConstitutiveLaw< Vec3, Mat3x3 >:

Public Member Functions

 DummyConstitutiveLaw (const std::vector< doublereal > &v)
 
virtual ~DummyConstitutiveLaw (void)
 
ConstLawType::Type GetConstLawType (void) const
 
virtual ConstitutiveLaw< Vec3,
Mat3x3 > * 
pCopy (void) const
 
virtual std::ostream & Restart (std::ostream &out) const
 
virtual void Update (const Vec3 &Eps, const Vec3 &EpsPrime=mb_zero< Vec3 >())
 
virtual void AfterConvergence (const Vec3 &Eps, const Vec3 &EpsPrime=mb_zero< Vec3 >())
 
 DummyConstitutiveLaw (const std::vector< doublereal > &v)
 
virtual ~DummyConstitutiveLaw (void)
 
ConstLawType::Type GetConstLawType (void) const
 
virtual ConstitutiveLaw< Vec3,
Mat3x3 > * 
pCopy (void) const
 
virtual std::ostream & Restart (std::ostream &out) const
 
virtual void Update (const Vec3 &Eps, const Vec3 &EpsPrime=mb_zero< Vec3 >())
 
virtual void AfterConvergence (const Vec3 &Eps, const Vec3 &EpsPrime=mb_zero< Vec3 >())
 
- Public Member Functions inherited from ConstitutiveLaw< Vec3, Mat3x3 >
 ConstitutiveLaw (void)
 
virtual ~ConstitutiveLaw (void)
 
virtual const Vec3GetEpsilon (void) const
 
virtual const Vec3GetEpsilonPrime (void) const
 
virtual const Vec3GetF (void) const
 
virtual const Mat3x3GetFDE (void) const
 
virtual const Mat3x3GetFDEPrime (void) const
 
virtual unsigned int iGetNumDof (void) const
 
virtual std::ostream & DescribeDof (std::ostream &out, const char *prefix="", bool bInitial=false) const
 
virtual void DescribeDof (std::vector< std::string > &desc, bool bInitial=false, int i=-1) const
 
virtual std::ostream & DescribeEq (std::ostream &out, const char *prefix="", bool bInitial=false) const
 
virtual void DescribeEq (std::vector< std::string > &desc, bool bInitial=false, int i=-1) const
 
virtual DofOrder::Order GetDofType (unsigned int i) const
 
- Public Member Functions inherited from WithLabel
 WithLabel (unsigned int uL=0, const std::string &sN="")
 
virtual ~WithLabel (void)
 
void PutLabel (unsigned int uL)
 
void PutName (const std::string &sN)
 
unsigned int GetLabel (void) const
 
const std::string & GetName (void) const
 
- Public Member Functions inherited from SimulationEntity
 SimulationEntity (void)
 
virtual ~SimulationEntity (void)
 
virtual bool bIsValidIndex (unsigned int i) const
 
virtual DofOrder::Order GetEqType (unsigned int i) const
 
virtual void SetValue (DataManager *pDM, VectorHandler &X, VectorHandler &XP, SimulationEntity::Hints *h=0)
 
virtual HintParseHint (DataManager *pDM, const char *s) const
 
virtual void BeforePredict (VectorHandler &, VectorHandler &, VectorHandler &, VectorHandler &) const
 
virtual void AfterPredict (VectorHandler &X, VectorHandler &XP)
 
virtual void Update (const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
 
virtual void DerivativesUpdate (const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
 
virtual void Update (const VectorHandler &XCurr, InverseDynamics::Order iOrder)
 
virtual void AfterConvergence (const VectorHandler &X, const VectorHandler &XP)
 
virtual void AfterConvergence (const VectorHandler &X, const VectorHandler &XP, const VectorHandler &XPP)
 
virtual unsigned int iGetNumPrivData (void) const
 
virtual unsigned int iGetPrivDataIdx (const char *s) const
 
virtual doublereal dGetPrivData (unsigned int i) const
 
virtual std::ostream & OutputAppend (std::ostream &out) const
 
virtual void ReadInitialState (MBDynParser &HP)
 

Private Attributes

integer size
 
integer err
 
std::vector< doublerealm_v
 

Additional Inherited Members

- Public Types inherited from ConstitutiveLaw< Vec3, Mat3x3 >
typedef ConstitutiveLaw< Vec3,
Mat3x3 >::ErrNotAvailable 
Err
 
- Public Types inherited from SimulationEntity
typedef std::vector< Hint * > Hints
 
- Protected Attributes inherited from ConstitutiveLaw< Vec3, Mat3x3 >
Vec3 Epsilon
 
Vec3 EpsilonPrime
 
Vec3 F
 
Mat3x3 FDE
 
Mat3x3 FDEPrime
 
- Protected Attributes inherited from WithLabel
unsigned int uLabel
 
std::string sName
 

Detailed Description

template<>
class DummyConstitutiveLaw< Vec3, Mat3x3 >

Definition at line 144 of file module-constlaw-f90.cc.

Constructor & Destructor Documentation

Definition at line 151 of file module-constlaw-f90.cc.

References MBDYN_EXCEPT_ARGS, and us3init_().

152  : size(v.size()), err(0), m_v(v)
153  {
154  us3init_(&size, &m_v[0], &err);
155  if (err != 0) {
157  }
158  };
integer us3init_(integer *size, doublereal *vec, integer *err)
#define MBDYN_EXCEPT_ARGS
Definition: except.h:63

Here is the call graph for this function:

virtual DummyConstitutiveLaw< Vec3, Mat3x3 >::~DummyConstitutiveLaw ( void  )
inlinevirtual

Definition at line 160 of file module-constlaw-f90.cc.

References us3dstr_().

160  {
161  us3dstr_(&size, &m_v[0], &err);
162  };
integer us3dstr_(integer *size, doublereal *vec, integer *err)

Here is the call graph for this function:

Definition at line 151 of file module-constlaw-f95.cc.

References MBDYN_EXCEPT_ARGS, and us3init_().

152  : size(v.size()), err(0), m_v(v)
153  {
154  us3init_(&size, &m_v[0], &err);
155  if (err != 0) {
157  }
158  };
integer us3init_(integer *size, doublereal *vec, integer *err)
#define MBDYN_EXCEPT_ARGS
Definition: except.h:63

Here is the call graph for this function:

virtual DummyConstitutiveLaw< Vec3, Mat3x3 >::~DummyConstitutiveLaw ( void  )
inlinevirtual

Definition at line 160 of file module-constlaw-f95.cc.

References us3dstr_().

160  {
161  us3dstr_(&size, &m_v[0], &err);
162  };
integer us3dstr_(integer *size, doublereal *vec, integer *err)

Here is the call graph for this function:

Member Function Documentation

virtual void DummyConstitutiveLaw< Vec3, Mat3x3 >::AfterConvergence ( const Vec3 Eps,
const Vec3 EpsPrime = mb_zero<Vec3>() 
)
inlinevirtual

Reimplemented from ConstitutiveLaw< Vec3, Mat3x3 >.

Definition at line 201 of file module-constlaw-f90.cc.

References MBDYN_EXCEPT_ARGS, Vec3::pGetVec(), and us3aftc_().

201  {
202  us3aftc_(&size, &m_v[0], Eps.pGetVec(), EpsPrime.pGetVec(),
203  &err);
204  if (err != 0) {
206  }
207  };
#define MBDYN_EXCEPT_ARGS
Definition: except.h:63
integer us3aftc_(integer *size, doublereal *vec, const doublereal *const eps, const doublereal *const epsp, integer *err)
const doublereal * pGetVec(void) const
Definition: matvec3.h:192

Here is the call graph for this function:

virtual void DummyConstitutiveLaw< Vec3, Mat3x3 >::AfterConvergence ( const Vec3 Eps,
const Vec3 EpsPrime = mb_zero<Vec3>() 
)
inlinevirtual

Reimplemented from ConstitutiveLaw< Vec3, Mat3x3 >.

Definition at line 201 of file module-constlaw-f95.cc.

References MBDYN_EXCEPT_ARGS, Vec3::pGetVec(), and us3aftc_().

201  {
202  us3aftc_(&size, &m_v[0], Eps.pGetVec(), EpsPrime.pGetVec(),
203  &err);
204  if (err != 0) {
206  }
207  };
#define MBDYN_EXCEPT_ARGS
Definition: except.h:63
integer us3aftc_(integer *size, doublereal *vec, const doublereal *const eps, const doublereal *const epsp, integer *err)
const doublereal * pGetVec(void) const
Definition: matvec3.h:192

Here is the call graph for this function:

ConstLawType::Type DummyConstitutiveLaw< Vec3, Mat3x3 >::GetConstLawType ( void  ) const
inlinevirtual

Implements ConstitutiveLaw< Vec3, Mat3x3 >.

Definition at line 164 of file module-constlaw-f90.cc.

References ConstLawType::ELASTIC.

164  {
165  return ConstLawType::ELASTIC;
166  };
ConstLawType::Type DummyConstitutiveLaw< Vec3, Mat3x3 >::GetConstLawType ( void  ) const
inlinevirtual

Implements ConstitutiveLaw< Vec3, Mat3x3 >.

Definition at line 164 of file module-constlaw-f95.cc.

References ConstLawType::ELASTIC.

164  {
165  return ConstLawType::ELASTIC;
166  };
virtual ConstitutiveLaw<Vec3, Mat3x3>* DummyConstitutiveLaw< Vec3, Mat3x3 >::pCopy ( void  ) const
inlinevirtual

Implements ConstitutiveLaw< Vec3, Mat3x3 >.

Definition at line 168 of file module-constlaw-f90.cc.

References SAFENEWWITHCONSTRUCTOR.

168  {
170 
172  SAFENEWWITHCONSTRUCTOR(pCL, cl, cl(m_v));
173  return pCL;
174  };
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Definition: mynewmem.h:698
virtual ConstitutiveLaw<Vec3, Mat3x3>* DummyConstitutiveLaw< Vec3, Mat3x3 >::pCopy ( void  ) const
inlinevirtual

Implements ConstitutiveLaw< Vec3, Mat3x3 >.

Definition at line 168 of file module-constlaw-f95.cc.

References SAFENEWWITHCONSTRUCTOR.

168  {
170 
172  SAFENEWWITHCONSTRUCTOR(pCL, cl, cl(m_v));
173  return pCL;
174  };
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Definition: mynewmem.h:698
virtual std::ostream& DummyConstitutiveLaw< Vec3, Mat3x3 >::Restart ( std::ostream &  out) const
inlinevirtual

Reimplemented from ConstitutiveLaw< Vec3, Mat3x3 >.

Definition at line 176 of file module-constlaw-f95.cc.

176  {
177  out << "dummyf90";
178  for (std::vector<doublereal>::const_iterator i = m_v.begin();
179  i != m_v.end();
180  i++)
181  {
182  out << ", " << *i;
183  }
184  return out;
185  };
virtual std::ostream& DummyConstitutiveLaw< Vec3, Mat3x3 >::Restart ( std::ostream &  out) const
inlinevirtual

Reimplemented from ConstitutiveLaw< Vec3, Mat3x3 >.

Definition at line 176 of file module-constlaw-f90.cc.

176  {
177  out << "dummyf90";
178  for (std::vector<doublereal>::const_iterator i = m_v.begin();
179  i != m_v.end();
180  i++)
181  {
182  out << ", " << *i;
183  }
184  return out;
185  };
virtual void DummyConstitutiveLaw< Vec3, Mat3x3 >::Update ( const Vec3 Eps,
const Vec3 EpsPrime = mb_zero<Vec3>() 
)
inlinevirtual

Implements ConstitutiveLaw< Vec3, Mat3x3 >.

Definition at line 187 of file module-constlaw-f90.cc.

References MBDYN_EXCEPT_ARGS, Vec3::pGetVec(), and us3updt_().

187  {
189 
190  doublereal dF[3], dFDE[3*3], dFDEP[3*3];
191  us3updt_(&size, &m_v[0], Eps.pGetVec(), EpsPrime.pGetVec(),
192  dF, dFDE, dFDEP, &err);
193  if (err != 0) {
195  }
199  };
#define MBDYN_EXCEPT_ARGS
Definition: except.h:63
integer us3updt_(integer *size, doublereal *vec, const doublereal *const eps, const doublereal *const epsp, const doublereal *const f, const doublereal *const fde, const doublereal *const fdep, integer *err)
const doublereal * pGetVec(void) const
Definition: matvec3.h:192
double doublereal
Definition: colamd.c:52

Here is the call graph for this function:

virtual void DummyConstitutiveLaw< Vec3, Mat3x3 >::Update ( const Vec3 Eps,
const Vec3 EpsPrime = mb_zero<Vec3>() 
)
inlinevirtual

Implements ConstitutiveLaw< Vec3, Mat3x3 >.

Definition at line 187 of file module-constlaw-f95.cc.

References MBDYN_EXCEPT_ARGS, Vec3::pGetVec(), and us3updt_().

187  {
189 
190  doublereal dF[3], dFDE[3*3], dFDEP[3*3];
191  us3updt_(&size, &m_v[0], Eps.pGetVec(), EpsPrime.pGetVec(),
192  dF, dFDE, dFDEP, &err);
193  if (err != 0) {
195  }
199  };
#define MBDYN_EXCEPT_ARGS
Definition: except.h:63
integer us3updt_(integer *size, doublereal *vec, const doublereal *const eps, const doublereal *const epsp, const doublereal *const f, const doublereal *const fde, const doublereal *const fdep, integer *err)
const doublereal * pGetVec(void) const
Definition: matvec3.h:192
double doublereal
Definition: colamd.c:52

Here is the call graph for this function:

Member Data Documentation

Definition at line 147 of file module-constlaw-f90.cc.

Definition at line 148 of file module-constlaw-f90.cc.

Definition at line 147 of file module-constlaw-f90.cc.


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