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

Public Member Functions

 DummyConstitutiveLaw (const std::vector< doublereal > &v)
 
virtual ~DummyConstitutiveLaw (void)
 
ConstLawType::Type GetConstLawType (void) const
 
virtual ConstitutiveLaw< Vec6,
Mat6x6 > * 
pCopy (void) const
 
virtual std::ostream & Restart (std::ostream &out) const
 
virtual void Update (const Vec6 &Eps, const Vec6 &EpsPrime=mb_zero< Vec6 >())
 
virtual void AfterConvergence (const Vec6 &Eps, const Vec6 &EpsPrime=mb_zero< Vec6 >())
 
 DummyConstitutiveLaw (const std::vector< doublereal > &v)
 
virtual ~DummyConstitutiveLaw (void)
 
ConstLawType::Type GetConstLawType (void) const
 
virtual ConstitutiveLaw< Vec6,
Mat6x6 > * 
pCopy (void) const
 
virtual std::ostream & Restart (std::ostream &out) const
 
virtual void Update (const Vec6 &Eps, const Vec6 &EpsPrime=mb_zero< Vec6 >())
 
virtual void AfterConvergence (const Vec6 &Eps, const Vec6 &EpsPrime=mb_zero< Vec6 >())
 
- Public Member Functions inherited from ConstitutiveLaw< Vec6, Mat6x6 >
 ConstitutiveLaw (void)
 
virtual ~ConstitutiveLaw (void)
 
virtual const Vec6GetEpsilon (void) const
 
virtual const Vec6GetEpsilonPrime (void) const
 
virtual const Vec6GetF (void) const
 
virtual const Mat6x6GetFDE (void) const
 
virtual const Mat6x6GetFDEPrime (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< Vec6, Mat6x6 >
typedef ConstitutiveLaw< Vec6,
Mat6x6 >::ErrNotAvailable 
Err
 
- Public Types inherited from SimulationEntity
typedef std::vector< Hint * > Hints
 
- Protected Attributes inherited from ConstitutiveLaw< Vec6, Mat6x6 >
Vec6 Epsilon
 
Vec6 EpsilonPrime
 
Vec6 F
 
Mat6x6 FDE
 
Mat6x6 FDEPrime
 
- Protected Attributes inherited from WithLabel
unsigned int uLabel
 
std::string sName
 

Detailed Description

template<>
class DummyConstitutiveLaw< Vec6, Mat6x6 >

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

Constructor & Destructor Documentation

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

References MBDYN_EXCEPT_ARGS, and us6init_().

219  : size(v.size()), err(0), m_v(v)
220  {
221  us6init_(&size, &m_v[0], &err);
222  if (err != 0) {
224  }
225  };
#define MBDYN_EXCEPT_ARGS
Definition: except.h:63
integer us6init_(integer *size, doublereal *vec, integer *err)

Here is the call graph for this function:

virtual DummyConstitutiveLaw< Vec6, Mat6x6 >::~DummyConstitutiveLaw ( void  )
inlinevirtual

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

References us6dstr_().

227  {
228  us6dstr_(&size, &m_v[0], &err);
229  };
integer us6dstr_(integer *size, doublereal *vec, integer *err)

Here is the call graph for this function:

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

References MBDYN_EXCEPT_ARGS, and us6init_().

219  : size(v.size()), err(0), m_v(v)
220  {
221  us6init_(&size, &m_v[0], &err);
222  if (err != 0) {
224  }
225  };
#define MBDYN_EXCEPT_ARGS
Definition: except.h:63
integer us6init_(integer *size, doublereal *vec, integer *err)

Here is the call graph for this function:

virtual DummyConstitutiveLaw< Vec6, Mat6x6 >::~DummyConstitutiveLaw ( void  )
inlinevirtual

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

References us6dstr_().

227  {
228  us6dstr_(&size, &m_v[0], &err);
229  };
integer us6dstr_(integer *size, doublereal *vec, integer *err)

Here is the call graph for this function:

Member Function Documentation

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

Reimplemented from ConstitutiveLaw< Vec6, Mat6x6 >.

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

References MBDYN_EXCEPT_ARGS, Vec6::PutTo(), and us6aftc_().

269  {
270  doublereal dE[6], dEP[6];
271  Eps.PutTo(dE);
272  EpsPrime.PutTo(dEP);
273  us6aftc_(&size, &m_v[0], dE, dEP, &err);
274  if (err != 0) {
276  }
277  };
void PutTo(doublereal *pd) const
Definition: matvec6.h:216
#define MBDYN_EXCEPT_ARGS
Definition: except.h:63
integer us6aftc_(integer *size, doublereal *vec, const doublereal *const eps, const doublereal *const epsp, integer *err)
double doublereal
Definition: colamd.c:52

Here is the call graph for this function:

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

Reimplemented from ConstitutiveLaw< Vec6, Mat6x6 >.

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

References MBDYN_EXCEPT_ARGS, Vec6::PutTo(), and us6aftc_().

269  {
270  doublereal dE[6], dEP[6];
271  Eps.PutTo(dE);
272  EpsPrime.PutTo(dEP);
273  us6aftc_(&size, &m_v[0], dE, dEP, &err);
274  if (err != 0) {
276  }
277  };
void PutTo(doublereal *pd) const
Definition: matvec6.h:216
#define MBDYN_EXCEPT_ARGS
Definition: except.h:63
integer us6aftc_(integer *size, doublereal *vec, const doublereal *const eps, const doublereal *const epsp, integer *err)
double doublereal
Definition: colamd.c:52

Here is the call graph for this function:

ConstLawType::Type DummyConstitutiveLaw< Vec6, Mat6x6 >::GetConstLawType ( void  ) const
inlinevirtual

Implements ConstitutiveLaw< Vec6, Mat6x6 >.

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

References ConstLawType::ELASTIC.

231  {
232  return ConstLawType::ELASTIC;
233  };
ConstLawType::Type DummyConstitutiveLaw< Vec6, Mat6x6 >::GetConstLawType ( void  ) const
inlinevirtual

Implements ConstitutiveLaw< Vec6, Mat6x6 >.

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

References ConstLawType::ELASTIC.

231  {
232  return ConstLawType::ELASTIC;
233  };
virtual ConstitutiveLaw<Vec6, Mat6x6>* DummyConstitutiveLaw< Vec6, Mat6x6 >::pCopy ( void  ) const
inlinevirtual

Implements ConstitutiveLaw< Vec6, Mat6x6 >.

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

References SAFENEWWITHCONSTRUCTOR.

235  {
237 
239  SAFENEWWITHCONSTRUCTOR(pCL, cl, cl(m_v));
240  return pCL;
241  };
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Definition: mynewmem.h:698
virtual ConstitutiveLaw<Vec6, Mat6x6>* DummyConstitutiveLaw< Vec6, Mat6x6 >::pCopy ( void  ) const
inlinevirtual

Implements ConstitutiveLaw< Vec6, Mat6x6 >.

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

References SAFENEWWITHCONSTRUCTOR.

235  {
237 
239  SAFENEWWITHCONSTRUCTOR(pCL, cl, cl(m_v));
240  return pCL;
241  };
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Definition: mynewmem.h:698
virtual std::ostream& DummyConstitutiveLaw< Vec6, Mat6x6 >::Restart ( std::ostream &  out) const
inlinevirtual

Reimplemented from ConstitutiveLaw< Vec6, Mat6x6 >.

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

243  {
244  out << "dummyf90";
245  for (std::vector<doublereal>::const_iterator i = m_v.begin();
246  i != m_v.end();
247  i++)
248  {
249  out << ", " << *i;
250  }
251  return out;
252  };
virtual std::ostream& DummyConstitutiveLaw< Vec6, Mat6x6 >::Restart ( std::ostream &  out) const
inlinevirtual

Reimplemented from ConstitutiveLaw< Vec6, Mat6x6 >.

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

243  {
244  out << "dummyf90";
245  for (std::vector<doublereal>::const_iterator i = m_v.begin();
246  i != m_v.end();
247  i++)
248  {
249  out << ", " << *i;
250  }
251  return out;
252  };
virtual void DummyConstitutiveLaw< Vec6, Mat6x6 >::Update ( const Vec6 Eps,
const Vec6 EpsPrime = mb_zero<Vec6>() 
)
inlinevirtual

Implements ConstitutiveLaw< Vec6, Mat6x6 >.

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

References MBDYN_EXCEPT_ARGS, Vec6::PutTo(), and us6updt_().

254  {
256 
257  doublereal dE[6], dEP[6], dF[6], dFDE[6*6], dFDEP[6*6];
258  Eps.PutTo(dE);
259  EpsPrime.PutTo(dEP);
260  us6updt_(&size, &m_v[0], dE, dEP, dF, dFDE, dFDEP, &err);
261  if (err != 0) {
263  }
267  };
void PutTo(doublereal *pd) const
Definition: matvec6.h:216
#define MBDYN_EXCEPT_ARGS
Definition: except.h:63
integer us6updt_(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)
double doublereal
Definition: colamd.c:52

Here is the call graph for this function:

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

Implements ConstitutiveLaw< Vec6, Mat6x6 >.

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

References MBDYN_EXCEPT_ARGS, Vec6::PutTo(), and us6updt_().

254  {
256 
257  doublereal dE[6], dEP[6], dF[6], dFDE[6*6], dFDEP[6*6];
258  Eps.PutTo(dE);
259  EpsPrime.PutTo(dEP);
260  us6updt_(&size, &m_v[0], dE, dEP, dF, dFDE, dFDEP, &err);
261  if (err != 0) {
263  }
267  };
void PutTo(doublereal *pd) const
Definition: matvec6.h:216
#define MBDYN_EXCEPT_ARGS
Definition: except.h:63
integer us6updt_(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)
double doublereal
Definition: colamd.c:52

Here is the call graph for this function:

Member Data Documentation

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

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

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


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