MBDyn-1.7.3
|
#include <vehj4.h>
Public Member Functions | |
DeformableAxialJoint (unsigned int uL, const DofOwner *pDO, const ConstitutiveLaw1D *pCL, const StructNode *pN1, const StructNode *pN2, const Mat3x3 &tilde_R1h, const Mat3x3 &tilde_R2h, flag fOut) | |
virtual | ~DeformableAxialJoint (void) |
virtual Joint::Type | GetJointType (void) const |
virtual std::ostream & | Restart (std::ostream &out) const |
virtual void | Output (OutputHandler &OH) const |
virtual void | AfterPredict (VectorHandler &X, VectorHandler &XP) |
void | SetValue (DataManager *pDM, VectorHandler &X, VectorHandler &XP, SimulationEntity::Hints *ph=0) |
virtual void | SetInitialValue (VectorHandler &) |
virtual bool | bInverseDynamics (void) const |
virtual Hint * | ParseHint (DataManager *pDM, const char *s) const |
virtual ConstLawType::Type | GetConstLawType (void) const =0 |
virtual unsigned int | iGetNumDof (void) const |
virtual void | WorkSpaceDim (integer *piNumRows, integer *piNumCols) const |
virtual unsigned int | iGetInitialNumDof (void) const |
virtual void | GetConnectedNodes (std::vector< const Node * > &connectedNodes) const |
virtual unsigned int | iGetNumPrivData (void) const |
virtual unsigned int | iGetPrivDataIdx (const char *s) const |
virtual doublereal | dGetPrivData (unsigned int i) const |
Public Member Functions inherited from Elem | |
Elem (unsigned int uL, flag fOut) | |
virtual | ~Elem (void) |
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) const |
virtual void | AssMats (VariableSubMatrixHandler &WorkMatA, VariableSubMatrixHandler &WorkMatB, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual SubVectorHandler & | AssRes (SubVectorHandler &WorkVec, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)=0 |
virtual VariableSubMatrixHandler & | AssJac (VariableSubMatrixHandler &WorkMat, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)=0 |
void | SetInverseDynamicsFlags (unsigned uIDF) |
unsigned | GetInverseDynamicsFlags (void) const |
bool | bIsErgonomy (void) const |
bool | bIsRightHandSide (void) const |
virtual VariableSubMatrixHandler & | AssJac (VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr) |
virtual SubVectorHandler & | AssRes (SubVectorHandler &WorkVec, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr, const VectorHandler &XPrimePrimeCurr, InverseDynamics::Order iOrder=InverseDynamics::INVERSE_DYNAMICS) |
virtual int | GetNumConnectedNodes (void) 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 | Update (const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual void | DerivativesUpdate (const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual void | AfterConvergence (const VectorHandler &X, const VectorHandler &XP) |
virtual void | AfterConvergence (const VectorHandler &X, const VectorHandler &XP, const VectorHandler &XPP) |
virtual void | ReadInitialState (MBDynParser &HP) |
Public Member Functions inherited from ToBeOutput | |
ToBeOutput (flag fOut=fDefaultOut) | |
virtual | ~ToBeOutput (void) |
virtual void | OutputPrepare (OutputHandler &OH) |
virtual void | Output (OutputHandler &OH, const VectorHandler &X, const VectorHandler &XP) const |
virtual flag | fToBeOutput (void) const |
virtual bool | bToBeOutput (void) const |
virtual void | SetOutputFlag (flag f=flag(1)) |
Public Member Functions inherited from Joint | |
Joint (unsigned int uL, const DofOwner *pD, flag fOut) | |
virtual | ~Joint (void) |
virtual Elem::Type | GetElemType (void) const |
std::ostream & | Output (std::ostream &out, const char *sJointName, unsigned int uLabel, const Vec3 &FLocal, const Vec3 &MLocal, const Vec3 &FGlobal, const Vec3 &MGlobal) const |
virtual void | Update (const VectorHandler &XCurr, InverseDynamics::Order iOrder=InverseDynamics::INVERSE_DYNAMICS) |
bool | bIsPrescribedMotion (void) const |
bool | bIsTorque (void) const |
Public Member Functions inherited from ElemGravityOwner | |
ElemGravityOwner (unsigned int uL, flag fOut) | |
virtual | ~ElemGravityOwner (void) |
virtual doublereal | dGetM (void) const |
Vec3 | GetS (void) const |
Mat3x3 | GetJ (void) const |
Vec3 | GetB (void) const |
Vec3 | GetG (void) const |
Public Member Functions inherited from GravityOwner | |
GravityOwner (void) | |
virtual | ~GravityOwner (void) |
void | PutGravity (const Gravity *pG) |
virtual bool | bGetGravity (const Vec3 &X, Vec3 &Acc) const |
Public Member Functions inherited from ElemWithDofs | |
ElemWithDofs (unsigned int uL, const DofOwner *pDO, flag fOut) | |
virtual | ~ElemWithDofs (void) |
Public Member Functions inherited from DofOwnerOwner | |
DofOwnerOwner (const DofOwner *pDO) | |
virtual | ~DofOwnerOwner () |
virtual const DofOwner * | pGetDofOwner (void) const |
virtual integer | iGetFirstIndex (void) const |
Public Member Functions inherited from InitialAssemblyElem | |
InitialAssemblyElem (unsigned int uL, flag fOut) | |
virtual | ~InitialAssemblyElem (void) |
Public Member Functions inherited from SubjectToInitialAssembly | |
SubjectToInitialAssembly (void) | |
virtual | ~SubjectToInitialAssembly (void) |
virtual void | InitialWorkSpaceDim (integer *piNumRows, integer *piNumCols) const =0 |
virtual VariableSubMatrixHandler & | InitialAssJac (VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr)=0 |
virtual SubVectorHandler & | InitialAssRes (SubVectorHandler &WorkVec, const VectorHandler &XCurr)=0 |
Public Member Functions inherited from ConstitutiveLawOwner< T, Tder > | |
ConstitutiveLawOwner (const ConstitutiveLaw< T, Tder > *pCL) | |
virtual | ~ConstitutiveLawOwner (void) |
ConstitutiveLaw< T, Tder > * | pGetConstLaw (void) const |
void | Update (const T &Eps, const T &EpsPrime=mb_zero< T >()) |
void | AfterConvergence (const T &Eps, const T &EpsPrime=mb_zero< T >()) |
const T & | GetF (void) const |
const Tder & | GetFDE (void) const |
const Tder & | GetFDEPrime (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 |
virtual std::ostream & | OutputAppend (std::ostream &out) const |
Protected Member Functions | |
virtual void | AssMatM (FullSubMatrixHandler &WMA, doublereal dCoef) |
void | AssMatMDE (FullSubMatrixHandler &WMA, doublereal dCoef) |
virtual void | AssMatMDEPrime (FullSubMatrixHandler &WMA, FullSubMatrixHandler &WMB, doublereal dCoef) |
virtual void | AfterPredict (void)=0 |
Protected Member Functions inherited from Joint | |
virtual void | OutputPrepare_int (const std::string &type, OutputHandler &OH, std::string &name) |
Protected Member Functions inherited from ElemGravityOwner | |
virtual Vec3 | GetS_int (void) const |
virtual Mat3x3 | GetJ_int (void) const |
virtual Vec3 | GetB_int (void) const |
virtual Vec3 | GetG_int (void) const |
Protected Attributes | |
const StructNode * | pNode1 |
const StructNode * | pNode2 |
Mat3x3 | tilde_R1h |
Mat3x3 | tilde_R2h |
bool | bFirstRes |
doublereal | dTol |
doublereal | dM |
doublereal | dMDE |
doublereal | dMDEPrime |
Vec3 | M |
Mat3x3 | MDE |
Mat3x3 | MDEPrime |
Protected Attributes inherited from WithLabel | |
unsigned int | uLabel |
std::string | sName |
Protected Attributes inherited from ToBeOutput | |
flag | fOutput |
Protected Attributes inherited from GravityOwner | |
Gravity * | pGravity |
Protected Attributes inherited from ConstitutiveLawOwner< T, Tder > | |
ConstitutiveLaw< T, Tder > * | pConstLaw |
DeformableAxialJoint::DeformableAxialJoint | ( | unsigned int | uL, |
const DofOwner * | pDO, | ||
const ConstitutiveLaw1D * | pCL, | ||
const StructNode * | pN1, | ||
const StructNode * | pN2, | ||
const Mat3x3 & | tilde_R1h, | ||
const Mat3x3 & | tilde_R2h, | ||
flag | fOut | ||
) |
Definition at line 88 of file vehj4.cc.
References ASSERT, StructDispNode::GetNodeType(), pNode1, pNode2, and Node::STRUCTURAL.
|
virtual |
|
protectedpure virtual |
Implemented in ViscoElasticAxialJoint, ViscousAxialJoint, and ElasticAxialJoint.
Referenced by AfterPredict(), and SetInitialValue().
|
virtual |
Reimplemented from SimulationEntity.
Definition at line 154 of file vehj4.cc.
References AfterPredict(), and bFirstRes.
|
protectedvirtual |
Definition at line 47 of file vehj4.cc.
References FullSubMatrixHandler::Add(), M, MatCross, and FullSubMatrixHandler::Sub().
Referenced by ElasticAxialJoint::AssMat(), ViscousAxialJoint::AssMats(), and ViscoElasticAxialJoint::AssMats().
|
protected |
Definition at line 59 of file vehj4.cc.
References FullSubMatrixHandler::Add(), MDE, and FullSubMatrixHandler::Sub().
Referenced by ElasticAxialJoint::AssMat(), and ViscoElasticAxialJoint::AssMats().
|
protectedvirtual |
Definition at line 72 of file vehj4.cc.
References FullSubMatrixHandler::Add(), StructNode::GetWCurr(), MatCross, MDEPrime, pNode2, and FullSubMatrixHandler::Sub().
Referenced by ViscousAxialJoint::AssMats(), and ViscoElasticAxialJoint::AssMats().
|
virtual |
|
virtual |
Reimplemented from ConstitutiveLawOwner< T, Tder >.
Definition at line 262 of file vehj4.cc.
References ASSERT, ConstitutiveLawOwner< T, Tder >::dGetPrivData(), ConstitutiveLawOwner< T, Tder >::GetF(), StructNode::GetRCurr(), StructNode::GetWCurr(), iGetNumPrivData(), pNode1, pNode2, tilde_R1h, tilde_R2h, and RotManip::VecRot().
|
inlinevirtual |
|
pure virtual |
Implemented in ViscoElasticAxialJoint, ViscousAxialJoint, and ElasticAxialJoint.
Referenced by Output().
|
inlinevirtual |
|
inlinevirtual |
Implements SubjectToInitialAssembly.
|
inlinevirtual |
Reimplemented from ConstitutiveLawOwner< T, Tder >.
|
virtual |
Reimplemented from ConstitutiveLawOwner< T, Tder >.
Definition at line 227 of file vehj4.cc.
References ConstitutiveLawOwner< T, Tder >::iGetNumPrivData().
Referenced by dGetPrivData().
|
virtual |
Reimplemented from ConstitutiveLawOwner< T, Tder >.
Definition at line 233 of file vehj4.cc.
References ASSERT, ConstitutiveLawOwner< T, Tder >::iGetPrivDataIdx(), and STRLENOF.
|
virtual |
Reimplemented from ToBeOutput.
Definition at line 134 of file vehj4.cc.
References ToBeOutput::bToBeOutput(), GetConstLawType(), ConstitutiveLawOwner< T, Tder >::GetF(), WithLabel::GetLabel(), StructNode::GetRCurr(), StructNode::GetWCurr(), OutputHandler::Joints(), Joint::Output(), pNode1, pNode2, R, tilde_R1h, tilde_R2h, RotManip::VecRot(), ConstLawType::VISCOUS, and Zero3.
|
virtual |
Reimplemented from SimulationEntity.
Definition at line 205 of file vehj4.cc.
References SimulationEntity::ParseHint(), and STRLENOF.
|
virtual |
Implements Elem.
Definition at line 120 of file vehj4.cc.
References WithLabel::GetLabel(), Mat3x3::GetVec(), ConstitutiveLawOwner< T, Tder >::pGetConstLaw(), pNode1, pNode2, Joint::Restart(), tilde_R1h, tilde_R2h, and Write().
|
virtual |
Initialize state vector used in initial assembly. May set internal states of the element. Do not rely on being always called, because initial assembly could be implicitly or explicitly skipped
Reimplemented from Joint.
Definition at line 192 of file vehj4.cc.
References AfterPredict().
|
virtual |
Reimplemented from Joint.
Definition at line 163 of file vehj4.cc.
References StructNode::GetRCurr(), pNode1, pNode2, SimulationEntity::SetValue(), tilde_R1h, tilde_R2h, and Mat3x3::Transpose().
|
protected |
Definition at line 53 of file vehj4.h.
Referenced by AfterPredict(), ViscoElasticAxialJoint::AfterPredict(), ElasticAxialJoint::AssRes(), ViscousAxialJoint::AssRes(), ViscoElasticAxialJoint::AssRes(), ElasticAxialJoint::AssVec(), ViscousAxialJoint::AssVec(), ViscoElasticAxialJoint::AssVec(), ViscousAxialJoint::InitialAssRes(), and ViscoElasticAxialJoint::InitialAssRes().
|
protected |
|
protected |
|
protected |
|
protected |
Definition at line 55 of file vehj4.h.
Referenced by ElasticAxialJoint::AssVec().
|
protected |
Definition at line 64 of file vehj4.h.
Referenced by AssMatM(), ElasticAxialJoint::AssVec(), ViscousAxialJoint::AssVec(), ViscoElasticAxialJoint::AssVec(), ViscousAxialJoint::InitialAssRes(), and ViscoElasticAxialJoint::InitialAssRes().
|
protected |
Definition at line 66 of file vehj4.h.
Referenced by ElasticAxialJoint::AfterPredict(), ViscoElasticAxialJoint::AfterPredict(), ElasticAxialJoint::AssMat(), AssMatMDE(), and ViscoElasticAxialJoint::InitialAssJac().
|
protected |
Definition at line 67 of file vehj4.h.
Referenced by ViscousAxialJoint::AfterPredict(), ViscoElasticAxialJoint::AfterPredict(), AssMatMDEPrime(), ViscousAxialJoint::InitialAssJac(), and ViscoElasticAxialJoint::InitialAssJac().
|
protected |
Definition at line 48 of file vehj4.h.
Referenced by ElasticAxialJoint::AfterPredict(), ViscousAxialJoint::AfterPredict(), ViscoElasticAxialJoint::AfterPredict(), ElasticAxialJoint::AssJac(), ViscousAxialJoint::AssJac(), ViscoElasticAxialJoint::AssJac(), ElasticAxialJoint::AssMats(), ViscousAxialJoint::AssMats(), ViscoElasticAxialJoint::AssMats(), ElasticAxialJoint::AssRes(), ViscousAxialJoint::AssRes(), ViscoElasticAxialJoint::AssRes(), ElasticAxialJoint::AssVec(), ViscousAxialJoint::AssVec(), ViscoElasticAxialJoint::AssVec(), DeformableAxialJoint(), dGetPrivData(), GetConnectedNodes(), ElasticAxialJoint::InitialAssJac(), ViscousAxialJoint::InitialAssJac(), ViscoElasticAxialJoint::InitialAssJac(), ElasticAxialJoint::InitialAssRes(), ViscousAxialJoint::InitialAssRes(), ViscoElasticAxialJoint::InitialAssRes(), Output(), Restart(), and SetValue().
|
protected |
Definition at line 49 of file vehj4.h.
Referenced by ElasticAxialJoint::AfterPredict(), ViscousAxialJoint::AfterPredict(), ViscoElasticAxialJoint::AfterPredict(), ElasticAxialJoint::AssJac(), ViscousAxialJoint::AssJac(), ViscoElasticAxialJoint::AssJac(), AssMatMDEPrime(), ElasticAxialJoint::AssMats(), ViscousAxialJoint::AssMats(), ViscoElasticAxialJoint::AssMats(), ElasticAxialJoint::AssRes(), ViscousAxialJoint::AssRes(), ViscoElasticAxialJoint::AssRes(), ElasticAxialJoint::AssVec(), ViscousAxialJoint::AssVec(), ViscoElasticAxialJoint::AssVec(), DeformableAxialJoint(), dGetPrivData(), GetConnectedNodes(), ElasticAxialJoint::InitialAssJac(), ViscousAxialJoint::InitialAssJac(), ViscoElasticAxialJoint::InitialAssJac(), ElasticAxialJoint::InitialAssRes(), ViscousAxialJoint::InitialAssRes(), ViscoElasticAxialJoint::InitialAssRes(), Output(), Restart(), and SetValue().
|
mutableprotected |
Definition at line 50 of file vehj4.h.
Referenced by ElasticAxialJoint::AfterPredict(), ViscousAxialJoint::AfterPredict(), ViscoElasticAxialJoint::AfterPredict(), ElasticAxialJoint::AssVec(), ViscousAxialJoint::AssVec(), ViscoElasticAxialJoint::AssVec(), dGetPrivData(), ViscousAxialJoint::InitialAssJac(), ViscoElasticAxialJoint::InitialAssJac(), ViscousAxialJoint::InitialAssRes(), ViscoElasticAxialJoint::InitialAssRes(), Output(), Restart(), and SetValue().
|
mutableprotected |
Definition at line 51 of file vehj4.h.
Referenced by ElasticAxialJoint::AfterPredict(), ViscoElasticAxialJoint::AfterPredict(), ElasticAxialJoint::AssVec(), ViscoElasticAxialJoint::AssVec(), dGetPrivData(), ViscoElasticAxialJoint::InitialAssRes(), Output(), Restart(), and SetValue().