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

#include <constltp_impl.h>

Inheritance diagram for InverseSquareConstitutiveLaw:
Collaboration diagram for InverseSquareConstitutiveLaw:

Public Member Functions

 InverseSquareConstitutiveLaw (const TplDriveCaller< doublereal > *pDC, const doublereal &PStress, const doublereal &A, const doublereal &L0)
 
virtual ~InverseSquareConstitutiveLaw (void)
 
virtual ConstitutiveLaw1DpCopy (void) const
 
virtual std::ostream & Restart (std::ostream &out) const
 
virtual void Update (const doublereal &Eps, const doublereal &=0.)
 
- Public Member Functions inherited from ElasticConstitutiveLaw< doublereal, doublereal >
 ElasticConstitutiveLaw (const TplDriveCaller< doublereal > *pDC, const doublereal &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< doublereal, doublereal >
 ConstitutiveLaw (void)
 
virtual ~ConstitutiveLaw (void)
 
virtual void AfterConvergence (const doublereal &Eps, const doublereal &EpsPrime=mb_zero< doublereal >())
 
virtual const doublerealGetEpsilon (void) const
 
virtual const doublerealGetEpsilonPrime (void) const
 
virtual const doublerealGetF (void) const
 
virtual const doublerealGetFDE (void) const
 
virtual const doublerealGetFDEPrime (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< doublereal >
 TplDriveOwner (const TplDriveCaller< doublereal > *pDC=0)
 
virtual ~TplDriveOwner (void)
 
void Set (const TplDriveCaller< doublereal > *pDC)
 
TplDriveCaller< doublereal > * pGetDriveCaller (void) const
 
doublereal Get (const doublereal &dVar) const
 
doublereal Get (void) const
 
virtual bool bIsDifferentiable (void) const
 
virtual doublereal GetP (void) const
 

Private Attributes

doublereal m_A
 
doublereal m_L0
 

Additional Inherited Members

- Public Types inherited from ConstitutiveLaw< doublereal, doublereal >
typedef ConstitutiveLaw
< doublereal, doublereal >
::ErrNotAvailable 
Err
 
- Public Types inherited from SimulationEntity
typedef std::vector< Hint * > Hints
 
- Protected Member Functions inherited from ElasticConstitutiveLaw< doublereal, doublereal >
virtual std::ostream & Restart_int (std::ostream &out) const
 
- Protected Attributes inherited from ElasticConstitutiveLaw< doublereal, doublereal >
doublereal PreStress
 
- Protected Attributes inherited from ConstitutiveLaw< doublereal, doublereal >
doublereal Epsilon
 
doublereal EpsilonPrime
 
doublereal F
 
doublereal FDE
 
doublereal FDEPrime
 
- Protected Attributes inherited from WithLabel
unsigned int uLabel
 
std::string sName
 
- Protected Attributes inherited from TplDriveOwner< doublereal >
TplDriveCaller< doublereal > * pTplDriveCaller
 

Detailed Description

Definition at line 626 of file constltp_impl.h.

Constructor & Destructor Documentation

InverseSquareConstitutiveLaw::InverseSquareConstitutiveLaw ( const TplDriveCaller< doublereal > *  pDC,
const doublereal PStress,
const doublereal A,
const doublereal L0 
)
inline

Definition at line 633 of file constltp_impl.h.

References NO_OP.

Referenced by pCopy().

636  : ElasticConstitutiveLaw1D(pDC, PStress),
637  m_A(A), m_L0(L0)
638  {
639  NO_OP;
640  };
ElasticConstitutiveLaw< doublereal, doublereal > ElasticConstitutiveLaw1D
#define NO_OP
Definition: myassert.h:74
virtual InverseSquareConstitutiveLaw::~InverseSquareConstitutiveLaw ( void  )
inlinevirtual

Definition at line 642 of file constltp_impl.h.

References NO_OP.

642  {
643  NO_OP;
644  };
#define NO_OP
Definition: myassert.h:74

Member Function Documentation

virtual ConstitutiveLaw1D* InverseSquareConstitutiveLaw::pCopy ( void  ) const
inlinevirtual

Implements ConstitutiveLaw< doublereal, doublereal >.

Definition at line 646 of file constltp_impl.h.

References InverseSquareConstitutiveLaw(), m_A, m_L0, TplDriveOwner< doublereal >::pGetDriveCaller(), ElasticConstitutiveLaw< doublereal, doublereal >::PreStress, and SAFENEWWITHCONSTRUCTOR.

646  {
647  ConstitutiveLaw1D* pCL = 0;
648 
653  m_A, m_L0));
654  return pCL;
655  };
virtual ConstitutiveLaw1D * pCopy(void) const
TplDriveCaller< doublereal > * pGetDriveCaller(void) const
Definition: tpldrive.h:105
#define SAFENEWWITHCONSTRUCTOR(pnt, item, constructor)
Definition: mynewmem.h:698
InverseSquareConstitutiveLaw(const TplDriveCaller< doublereal > *pDC, const doublereal &PStress, const doublereal &A, const doublereal &L0)

Here is the call graph for this function:

virtual std::ostream& InverseSquareConstitutiveLaw::Restart ( std::ostream &  out) const
inlinevirtual

Reimplemented from ConstitutiveLaw< doublereal, doublereal >.

Definition at line 657 of file constltp_impl.h.

References m_A, m_L0, and ElasticConstitutiveLaw< doublereal, doublereal >::Restart_int().

657  {
658  out << "inverse square, " << m_A << ", " << m_L0;
660  };
virtual std::ostream & Restart_int(std::ostream &out) const

Here is the call graph for this function:

virtual void InverseSquareConstitutiveLaw::Update ( const doublereal Eps,
const doublereal = 0. 
)
inlinevirtual

Member Data Documentation

doublereal InverseSquareConstitutiveLaw::m_A
private

Definition at line 629 of file constltp_impl.h.

Referenced by pCopy(), Restart(), and Update().

doublereal InverseSquareConstitutiveLaw::m_L0
private

Definition at line 630 of file constltp_impl.h.

Referenced by pCopy(), Restart(), and Update().


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