MBDyn-1.7.3
|
#include <vehj2.h>
Public Member Functions | |
ElasticDispJointInv (unsigned int uL, const DofOwner *pDO, const ConstitutiveLaw3D *pCL, const StructNode *pN1, const StructNode *pN2, const Vec3 &tilde_f1, const Vec3 &tilde_f2, const Mat3x3 &tilde_R1, const Mat3x3 &tilde_R2, flag fOut) | |
~ElasticDispJointInv (void) | |
virtual ConstLawType::Type | GetConstLawType (void) const |
virtual void | AfterConvergence (const VectorHandler &X, const VectorHandler &XP) |
virtual void | AfterPredict (VectorHandler &X, VectorHandler &XP) |
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) |
SubVectorHandler & | AssRes (SubVectorHandler &WorkVec, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr, const VectorHandler &XPrimePrimeCurr, InverseDynamics::Order iOrder=InverseDynamics::INVERSE_DYNAMICS) |
virtual void | InitialWorkSpaceDim (integer *piNumRows, integer *piNumCols) const |
virtual VariableSubMatrixHandler & | InitialAssJac (VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr) |
virtual SubVectorHandler & | InitialAssRes (SubVectorHandler &WorkVec, const VectorHandler &XCurr) |
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 |
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 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, const VectorHandler &XPP) |
virtual void | ReadInitialState (MBDynParser &HP) |
Public Member Functions inherited from ToBeOutput | |
ToBeOutput (flag fOut=fDefaultOut) | |
virtual | ~ToBeOutput (void) |
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 DeformableDispJoint | |
DeformableDispJoint (unsigned int uL, const DofOwner *pDO, const ConstitutiveLaw3D *pCL, const StructNode *pN1, const StructNode *pN2, const Vec3 &tilde_f1, const Vec3 &tilde_f2, const Mat3x3 &tilde_R1, const Mat3x3 &tilde_R2, flag fOut) | |
virtual | ~DeformableDispJoint (void) |
virtual Joint::Type | GetJointType (void) const |
virtual std::ostream & | Restart (std::ostream &out) const |
void | OutputPrepare (OutputHandler &OH) |
virtual void | Output (OutputHandler &OH) const |
void | SetValue (DataManager *pDM, VectorHandler &X, VectorHandler &XP, SimulationEntity::Hints *ph=0) |
virtual Hint * | ParseHint (DataManager *pDM, const char *s) const |
virtual unsigned int | iGetNumDof (void) const |
virtual DofOrder::Order | GetDofType (unsigned int) const |
virtual void | WorkSpaceDim (integer *piNumRows, integer *piNumCols) const |
virtual bool | bInverseDynamics (void) const |
virtual unsigned int | iGetInitialNumDof (void) const |
virtual VariableSubMatrixHandler & | AssJac (VariableSubMatrixHandler &WorkMat, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual unsigned int | iGetNumPrivData (void) const |
virtual unsigned int | iGetPrivDataIdx (const char *s) const |
virtual doublereal | dGetPrivData (unsigned int i) const |
virtual void | GetConnectedNodes (std::vector< const Node * > &connectedNodes) const |
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 | SetInitialValue (VectorHandler &) |
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) |
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 std::ostream & | OutputAppend (std::ostream &out) const |
Protected Member Functions | |
void | AssMats (FullSubMatrixHandler &WMA, FullSubMatrixHandler &WMB, doublereal dCoef) |
void | AssVec (SubVectorHandler &WorkVec) |
Protected Member Functions inherited from DeformableDispJoint | |
void | AssMatF (FullSubMatrixHandler &WMA, const Vec3 &d1, const Vec3 &d2, doublereal dCoef) |
void | AssMatFDE (FullSubMatrixHandler &WMA, const Vec3 &d1, const Vec3 &d2, doublereal dCoef) |
void | AssMatFDEPrime (FullSubMatrixHandler &WMA, FullSubMatrixHandler &WMB, const Vec3 &d1, const Vec3 &d2, doublereal dCoef) |
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 |
ElasticDispJointInv::ElasticDispJointInv | ( | unsigned int | uL, |
const DofOwner * | pDO, | ||
const ConstitutiveLaw3D * | pCL, | ||
const StructNode * | pN1, | ||
const StructNode * | pN2, | ||
const Vec3 & | tilde_f1, | ||
const Vec3 & | tilde_f2, | ||
const Mat3x3 & | tilde_R1, | ||
const Mat3x3 & | tilde_R2, | ||
flag | fOut | ||
) |
Definition at line 863 of file vehj2.cc.
References DeformableDispJoint::FDE, ConstitutiveLawOwner< T, Tder >::GetFDE(), StructNode::GetRRef(), DeformableDispJoint::pNode1, and DeformableDispJoint::tilde_R1h.
ElasticDispJointInv::~ElasticDispJointInv | ( | void | ) |
|
virtual |
Reimplemented from SimulationEntity.
Definition at line 890 of file vehj2.cc.
References ConstitutiveLawOwner< T, Tder >::AfterConvergence(), and DeformableDispJoint::tilde_d.
|
virtual |
Reimplemented from SimulationEntity.
Definition at line 1037 of file vehj2.cc.
References DeformableDispJoint::bFirstRes, DeformableDispJoint::FDE, ConstitutiveLawOwner< T, Tder >::GetFDE(), StructNode::GetRCurr(), StructNode::GetRRef(), StructDispNode::GetXCurr(), DeformableDispJoint::pNode1, DeformableDispJoint::pNode2, RotManip::Rot(), DeformableDispJoint::tilde_d, DeformableDispJoint::tilde_f1, DeformableDispJoint::tilde_f2, DeformableDispJoint::tilde_R1h, DeformableDispJoint::tilde_R2h, ConstitutiveLawOwner< T, Tder >::Update(), and RotManip::VecRot().
|
protectedvirtual |
Implements DeformableDispJoint.
Definition at line 931 of file vehj2.cc.
References DeformableDispJoint::AssMatF(), DeformableDispJoint::AssMatFDE(), StructNode::GetRCurr(), StructDispNode::GetXCurr(), DeformableDispJoint::pNode1, DeformableDispJoint::pNode2, and DeformableDispJoint::tilde_f2.
Referenced by AssMats(), and InitialAssJac().
|
virtual |
Reimplemented from Elem.
Definition at line 898 of file vehj2.cc.
References AssMats(), StructDispNode::iGetFirstMomentumIndex(), StructDispNode::iGetFirstPositionIndex(), DeformableDispJoint::pNode1, DeformableDispJoint::pNode2, FullSubMatrixHandler::PutColIndex(), FullSubMatrixHandler::PutRowIndex(), FullSubMatrixHandler::ResizeReset(), VariableSubMatrixHandler::SetFull(), VariableSubMatrixHandler::SetNullMatrix(), and Elem::WorkSpaceDim().
|
virtual |
Implements Elem.
Definition at line 944 of file vehj2.cc.
References AssVec(), StructDispNode::iGetFirstMomentumIndex(), DeformableDispJoint::pNode1, DeformableDispJoint::pNode2, SubVectorHandler::PutRowIndex(), VectorHandler::ResizeReset(), and Elem::WorkSpaceDim().
|
virtual |
Reimplemented from Elem.
Definition at line 972 of file vehj2.cc.
References ASSERT, AssVec(), DeformableDispJoint::bFirstRes, StructDispNode::iGetFirstPositionIndex(), InverseDynamics::INVERSE_DYNAMICS, DeformableDispJoint::pNode1, DeformableDispJoint::pNode2, SubVectorHandler::PutRowIndex(), VectorHandler::ResizeReset(), and Elem::WorkSpaceDim().
|
protected |
Definition at line 1004 of file vehj2.cc.
References VectorHandler::Add(), DeformableDispJoint::bFirstRes, Eye3, DeformableDispJoint::F, ConstitutiveLawOwner< T, Tder >::GetF(), StructNode::GetRCurr(), StructNode::GetRRef(), StructDispNode::GetXCurr(), grad::Inv(), Mat3x3::MulTV(), DeformableDispJoint::pNode1, DeformableDispJoint::pNode2, RotManip::Rot(), VectorHandler::Sub(), DeformableDispJoint::tilde_d, DeformableDispJoint::tilde_f1, DeformableDispJoint::tilde_f2, DeformableDispJoint::tilde_R1h, DeformableDispJoint::tilde_R2h, ConstitutiveLawOwner< T, Tder >::Update(), and RotManip::VecRot().
Referenced by AssRes(), and InitialAssRes().
|
inlinevirtual |
Implements DeformableDispJoint.
Definition at line 316 of file vehj2.h.
References ConstLawType::ELASTIC.
|
virtual |
Implements SubjectToInitialAssembly.
Definition at line 1059 of file vehj2.cc.
References AssMats(), StructDispNode::iGetFirstPositionIndex(), InitialWorkSpaceDim(), DeformableDispJoint::pNode1, DeformableDispJoint::pNode2, FullSubMatrixHandler::PutColIndex(), FullSubMatrixHandler::PutRowIndex(), FullSubMatrixHandler::ResizeReset(), and VariableSubMatrixHandler::SetFull().
|
virtual |
Implements SubjectToInitialAssembly.
Definition at line 1089 of file vehj2.cc.
References AssVec(), StructDispNode::iGetFirstPositionIndex(), InitialWorkSpaceDim(), DeformableDispJoint::pNode1, DeformableDispJoint::pNode2, SubVectorHandler::PutRowIndex(), and VectorHandler::ResizeReset().
|
inlinevirtual |
Implements SubjectToInitialAssembly.
Definition at line 349 of file vehj2.h.
Referenced by InitialAssJac(), and InitialAssRes().