MBDyn-1.7.3
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups
IsotropicHardeningConstitutiveLaw< T, Tder > Class Template Reference

#include <constltp_impl.h>

Inheritance diagram for IsotropicHardeningConstitutiveLaw< T, Tder >:
Collaboration diagram for IsotropicHardeningConstitutiveLaw< T, Tder >:

Public Member Functions

 IsotropicHardeningConstitutiveLaw (const TplDriveCaller< T > *pDC, const T &PStress, doublereal dStiff, doublereal dStiff0, doublereal dEpsHard)
 
virtual ~IsotropicHardeningConstitutiveLaw (void)
 
virtual ConstitutiveLaw< T,
Tder > * 
pCopy (void) const
 
virtual std::ostream & Restart (std::ostream &out) const
 
virtual void Update (const T &Eps, const T &=Zero3)
 
- Public Member Functions inherited from ElasticConstitutiveLaw< T, Tder >
 ElasticConstitutiveLaw (const TplDriveCaller< T > *pDC, const T &PStress)
 
virtual ~ElasticConstitutiveLaw (void)
 
ConstLawType::Type GetConstLawType (void) const
 
void SetValue (DataManager *pDM, VectorHandler &X, VectorHandler &XP, SimulationEntity::Hints *ph=0)
 
virtual HintParseHint (DataManager *pDM, const char *s) const
 
- Public Member Functions inherited from ConstitutiveLaw< T, Tder >
 ConstitutiveLaw (void)
 
virtual ~ConstitutiveLaw (void)
 
virtual void AfterConvergence (const T &Eps, const T &EpsPrime=mb_zero< T >())
 
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 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)
 
- Public Member Functions inherited from TplDriveOwner< T >
 TplDriveOwner (const TplDriveCaller< T > *pDC=0)
 
virtual ~TplDriveOwner (void)
 
void Set (const TplDriveCaller< T > *pDC)
 
TplDriveCaller< T > * pGetDriveCaller (void) const
 
Get (const doublereal &dVar) const
 
Get (void) const
 
virtual bool bIsDifferentiable (void) const
 
virtual T GetP (void) const
 

Private Attributes

doublereal dStiffness
 
doublereal dAlpha
 
doublereal dBeta
 

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 Member Functions inherited from ElasticConstitutiveLaw< T, Tder >
virtual std::ostream & Restart_int (std::ostream &out) const
 
- Protected Attributes inherited from ElasticConstitutiveLaw< T, Tder >
PreStress
 
- 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
 
- Protected Attributes inherited from TplDriveOwner< T >
TplDriveCaller< T > * pTplDriveCaller
 

Detailed Description

template<class T, class Tder>
class IsotropicHardeningConstitutiveLaw< T, Tder >

Definition at line 960 of file constltp_impl.h.

Constructor & Destructor Documentation

template<class T , class Tder >
IsotropicHardeningConstitutiveLaw< T, Tder >::IsotropicHardeningConstitutiveLaw ( const TplDriveCaller< T > *  pDC,
const T &  PStress,
doublereal  dStiff,
doublereal  dStiff0,
doublereal  dEpsHard 
)
inline

Definition at line 975 of file constltp_impl.h.

References ASSERT, IsotropicHardeningConstitutiveLaw< T, Tder >::dAlpha, and IsotropicHardeningConstitutiveLaw< T, Tder >::dBeta.

980  : ElasticConstitutiveLaw<T, Tder>(pDC, PStress),
981  dStiffness(dStiff), dAlpha(0.), dBeta(0.)
982  {
983  ASSERT(dEpsHard > std::numeric_limits<doublereal>::epsilon());
984  ASSERT(dStiff > std::numeric_limits<doublereal>::epsilon());
985 
986  dAlpha = 3./(dEpsHard*dEpsHard);
987  dBeta = dStiff0/dStiff;
988  };
#define ASSERT(expression)
Definition: colamd.c:977
template<class T , class Tder >
virtual IsotropicHardeningConstitutiveLaw< T, Tder >::~IsotropicHardeningConstitutiveLaw ( void  )
inlinevirtual

Definition at line 990 of file constltp_impl.h.

References NO_OP.

990  {
991  NO_OP;
992  };
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

template<class T , class Tder >
virtual ConstitutiveLaw<T, Tder>* IsotropicHardeningConstitutiveLaw< T, Tder >::pCopy ( void  ) const
inlinevirtual

Implements ConstitutiveLaw< T, Tder >.

Definition at line 994 of file constltp_impl.h.

References IsotropicHardeningConstitutiveLaw< T, Tder >::dAlpha, IsotropicHardeningConstitutiveLaw< T, Tder >::dBeta, IsotropicHardeningConstitutiveLaw< T, Tder >::dStiffness, SAFENEWWITHCONSTRUCTOR, and grad::sqrt().

994  {
995  ConstitutiveLaw<T, Tder>* pCL = 0;
996 
999  cl,
1002  dStiffness,
1003  dBeta*dStiffness,
1004  sqrt(3./dAlpha)));
1005 
1006  return pCL;
1007  };
virtual ConstitutiveLaw< T, Tder > * pCopy(void) const
GradientExpression< UnaryExpr< FuncSqrt, Expr > > sqrt(const GradientExpression< Expr > &u)
Definition: gradient.h:2974
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Definition: mynewmem.h:698

Here is the call graph for this function:

template<class T , class Tder >
virtual std::ostream& IsotropicHardeningConstitutiveLaw< T, Tder >::Restart ( std::ostream &  out) const
inlinevirtual

Reimplemented from ConstitutiveLaw< T, Tder >.

Definition at line 1009 of file constltp_impl.h.

References IsotropicHardeningConstitutiveLaw< T, Tder >::dAlpha, IsotropicHardeningConstitutiveLaw< T, Tder >::dBeta, IsotropicHardeningConstitutiveLaw< T, Tder >::dStiffness, ElasticConstitutiveLaw< T, Tder >::Restart_int(), and grad::sqrt().

1009  {
1010  out << "isotropic hardening elastic, " << dStiffness << ", "
1011  << sqrt(3./dAlpha);
1012  if (dBeta != 0.) {
1013  out << ", linear stiffness, " << dBeta*dStiffness;
1014  }
1016  };
virtual std::ostream & Restart_int(std::ostream &out) const
GradientExpression< UnaryExpr< FuncSqrt, Expr > > sqrt(const GradientExpression< Expr > &u)
Definition: gradient.h:2974

Here is the call graph for this function:

template<class T , class Tder >
virtual void IsotropicHardeningConstitutiveLaw< T, Tder >::Update ( const T &  Eps,
const T &  = Zero3 
)
inlinevirtual

Member Data Documentation


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