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

Public Member Functions

 DummyConstitutiveLaw (doublereal dStiff)
 
virtual ~DummyConstitutiveLaw (void)
 
ConstLawType::Type GetConstLawType (void) const
 
virtual ConstitutiveLaw< T,
Tder > * 
pCopy (void) const
 
virtual std::ostream & Restart (std::ostream &out) const
 
virtual void Update (const T &Eps, const T &=0.)
 
 DummyConstitutiveLaw (std::vector< doublereal > &v)
 
virtual ~DummyConstitutiveLaw (void)
 
ConstLawType::Type GetConstLawType (void) const
 
virtual ConstitutiveLaw< T,
Tder > * 
pCopy (void) const
 
virtual std::ostream & Restart (std::ostream &out) const
 
virtual void Update (const T &Eps, const T &EpsPrime=mb_zero< T >())
 
virtual void AfterConvergence (const T &Eps, const T &EpsPrime=mb_zero< T >())
 
 DummyConstitutiveLaw (std::vector< doublereal > &v)
 
virtual ~DummyConstitutiveLaw (void)
 
ConstLawType::Type GetConstLawType (void) const
 
virtual ConstitutiveLaw< T,
Tder > * 
pCopy (void) const
 
virtual std::ostream & Restart (std::ostream &out) const
 
virtual void Update (const T &Eps, const T &EpsPrime=mb_zero< T >())
 
virtual void AfterConvergence (const T &Eps, const T &EpsPrime=mb_zero< T >())
 
- Public Member Functions inherited from ConstitutiveLaw< T, Tder >
 ConstitutiveLaw (void)
 
virtual ~ConstitutiveLaw (void)
 
virtual const T & GetEpsilon (void) const
 
virtual const T & GetEpsilonPrime (void) const
 
virtual const T & GetF (void) const
 
virtual const Tder & GetFDE (void) const
 
virtual const Tder & GetFDEPrime (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

doublereal dStiffness
 

Additional Inherited Members

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

Detailed Description

template<class T, class Tder>
class DummyConstitutiveLaw< T, Tder >

Definition at line 41 of file module-constlaw.cc.

Constructor & Destructor Documentation

template<class T , class Tder >
DummyConstitutiveLaw< T, Tder >::DummyConstitutiveLaw ( doublereal  dStiff)
inline

Definition at line 47 of file module-constlaw.cc.

References DummyConstitutiveLaw< T, Tder >::dStiffness.

48  : dStiffness(dStiff) {
50  };
template<class T , class Tder >
virtual DummyConstitutiveLaw< T, Tder >::~DummyConstitutiveLaw ( void  )
inlinevirtual

Definition at line 52 of file module-constlaw.cc.

References NO_OP.

52  {
53  NO_OP;
54  };
#define NO_OP
Definition: myassert.h:74
template<class T , class Tder >
DummyConstitutiveLaw< T, Tder >::DummyConstitutiveLaw ( std::vector< doublereal > &  v)
inline

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

References NO_OP.

47  {
48  NO_OP;
49  };
#define NO_OP
Definition: myassert.h:74
template<class T , class Tder >
virtual DummyConstitutiveLaw< T, Tder >::~DummyConstitutiveLaw ( void  )
inlinevirtual

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

References NO_OP.

51  {
52  NO_OP;
53  };
#define NO_OP
Definition: myassert.h:74
template<class T , class Tder >
DummyConstitutiveLaw< T, Tder >::DummyConstitutiveLaw ( std::vector< doublereal > &  v)
inline

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

References NO_OP.

47  {
48  NO_OP;
49  };
#define NO_OP
Definition: myassert.h:74
template<class T , class Tder >
virtual DummyConstitutiveLaw< T, Tder >::~DummyConstitutiveLaw ( void  )
inlinevirtual

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

References NO_OP.

51  {
52  NO_OP;
53  };
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

template<class T , class Tder >
virtual void DummyConstitutiveLaw< T, Tder >::AfterConvergence ( const T &  Eps,
const T &  EpsPrime = mb_zero<T>() 
)
inlinevirtual

Reimplemented from ConstitutiveLaw< T, Tder >.

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

References NO_OP.

72  {
73  NO_OP;
74  };
#define NO_OP
Definition: myassert.h:74
template<class T , class Tder >
virtual void DummyConstitutiveLaw< T, Tder >::AfterConvergence ( const T &  Eps,
const T &  EpsPrime = mb_zero<T>() 
)
inlinevirtual

Reimplemented from ConstitutiveLaw< T, Tder >.

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

References NO_OP.

72  {
73  NO_OP;
74  };
#define NO_OP
Definition: myassert.h:74
template<class T , class Tder >
ConstLawType::Type DummyConstitutiveLaw< T, Tder >::GetConstLawType ( void  ) const
inlinevirtual

Implements ConstitutiveLaw< T, Tder >.

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

References ConstLawType::ELASTIC.

55  {
56  return ConstLawType::ELASTIC;
57  };
template<class T , class Tder >
ConstLawType::Type DummyConstitutiveLaw< T, Tder >::GetConstLawType ( void  ) const
inlinevirtual

Implements ConstitutiveLaw< T, Tder >.

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

References ConstLawType::ELASTIC.

55  {
56  return ConstLawType::ELASTIC;
57  };
template<class T , class Tder >
ConstLawType::Type DummyConstitutiveLaw< T, Tder >::GetConstLawType ( void  ) const
inlinevirtual

Implements ConstitutiveLaw< T, Tder >.

Definition at line 56 of file module-constlaw.cc.

References ConstLawType::ELASTIC.

56  {
57  return ConstLawType::ELASTIC;
58  };
template<class T , class Tder >
virtual ConstitutiveLaw<T, Tder>* DummyConstitutiveLaw< T, Tder >::pCopy ( void  ) const
inlinevirtual

Implements ConstitutiveLaw< T, Tder >.

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

59  {
60  return 0;
61  };
template<class T , class Tder >
virtual ConstitutiveLaw<T, Tder>* DummyConstitutiveLaw< T, Tder >::pCopy ( void  ) const
inlinevirtual

Implements ConstitutiveLaw< T, Tder >.

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

59  {
60  return 0;
61  };
template<class T , class Tder >
virtual ConstitutiveLaw<T, Tder>* DummyConstitutiveLaw< T, Tder >::pCopy ( void  ) const
inlinevirtual

Implements ConstitutiveLaw< T, Tder >.

Definition at line 60 of file module-constlaw.cc.

References DummyConstitutiveLaw< T, Tder >::dStiffness, and SAFENEWWITHCONSTRUCTOR.

60  {
61  ConstitutiveLaw<T, Tder>* pCL = NULL;
62 
64  SAFENEWWITHCONSTRUCTOR(pCL, cl, cl(dStiffness));
65  return pCL;
66  };
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Definition: mynewmem.h:698
template<class T , class Tder >
virtual std::ostream& DummyConstitutiveLaw< T, Tder >::Restart ( std::ostream &  out) const
inlinevirtual

Reimplemented from ConstitutiveLaw< T, Tder >.

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

63  {
64  return out;
65  };
template<class T , class Tder >
virtual std::ostream& DummyConstitutiveLaw< T, Tder >::Restart ( std::ostream &  out) const
inlinevirtual

Reimplemented from ConstitutiveLaw< T, Tder >.

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

63  {
64  return out;
65  };
template<class T , class Tder >
virtual std::ostream& DummyConstitutiveLaw< T, Tder >::Restart ( std::ostream &  out) const
inlinevirtual

Reimplemented from ConstitutiveLaw< T, Tder >.

Definition at line 68 of file module-constlaw.cc.

References DummyConstitutiveLaw< T, Tder >::dStiffness.

68  {
69  return out << "dummy, " << dStiffness;
70  };
template<class T , class Tder >
virtual void DummyConstitutiveLaw< T, Tder >::Update ( const T &  Eps,
const T &  EpsPrime = mb_zero<T>() 
)
inlinevirtual

Implements ConstitutiveLaw< T, Tder >.

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

template<class T , class Tder >
virtual void DummyConstitutiveLaw< T, Tder >::Update ( const T &  Eps,
const T &  EpsPrime = mb_zero<T>() 
)
inlinevirtual

Implements ConstitutiveLaw< T, Tder >.

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

template<class T , class Tder >
virtual void DummyConstitutiveLaw< T, Tder >::Update ( const T &  Eps,
const T &  = 0. 
)
inlinevirtual

Member Data Documentation


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