MBDyn-1.7.3
|
#include <totalj.h>
Public Member Functions | |
TotalForce (unsigned int uL, TplDriveCaller< Vec3 > *const pDCForce, TplDriveCaller< Vec3 > *const pDCCouple, const StructNode *pN1, const Vec3 &f1Tmp, const Mat3x3 &R1hTmp, const Mat3x3 &R1hrTmp, const StructNode *pN2, const Vec3 &f2Tmp, const Mat3x3 &R2hTmp, const Mat3x3 &R2hrTmp, flag fOut) | |
~TotalForce (void) | |
virtual Force::Type | GetForceType (void) const |
virtual std::ostream & | Restart (std::ostream &out) const |
void | WorkSpaceDim (integer *piNumRows, integer *piNumCols) const |
VariableSubMatrixHandler & | AssJac (VariableSubMatrixHandler &WorkMat, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
SubVectorHandler & | AssRes (SubVectorHandler &WorkVec, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual bool | bInverseDynamics (void) const |
SubVectorHandler & | AssRes (SubVectorHandler &WorkVec, const VectorHandler &, const VectorHandler &, const VectorHandler &, InverseDynamics::Order iOrder=InverseDynamics::INVERSE_DYNAMICS) |
virtual void | Output (OutputHandler &OH) const |
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 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) const |
virtual void | AssMats (VariableSubMatrixHandler &WorkMatA, VariableSubMatrixHandler &WorkMatB, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
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 |
virtual void | GetConnectedNodes (std::vector< const Node * > &connectedNodes) 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 Hint * | ParseHint (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) |
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 Force | |
Force (unsigned int uL, flag fOut) | |
virtual | ~Force (void) |
virtual Elem::Type | GetElemType (void) const |
virtual unsigned int | iGetInitialNumDof (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) |
Private Attributes | |
const StructNode * | pNode1 |
const StructNode * | pNode2 |
Vec3 | f1 |
Mat3x3 | R1h |
Mat3x3 | R1hr |
Vec3 | f2 |
Mat3x3 | R2h |
Mat3x3 | R2hr |
TplDriveOwner< Vec3 > | FDrv |
TplDriveOwner< Vec3 > | MDrv |
Vec3 | M |
Vec3 | F |
TotalForce::TotalForce | ( | unsigned int | uL, |
TplDriveCaller< Vec3 > *const | pDCForce, | ||
TplDriveCaller< Vec3 > *const | pDCCouple, | ||
const StructNode * | pN1, | ||
const Vec3 & | f1Tmp, | ||
const Mat3x3 & | R1hTmp, | ||
const Mat3x3 & | R1hrTmp, | ||
const StructNode * | pN2, | ||
const Vec3 & | f2Tmp, | ||
const Mat3x3 & | R2hTmp, | ||
const Mat3x3 & | R2hrTmp, | ||
flag | fOut | ||
) |
|
inline |
|
virtual |
Implements Elem.
Definition at line 3795 of file totalj.cc.
References FullSubMatrixHandler::Add(), DEBUGCOUT, F, f2, StructNode::GetRCurr(), StructNode::GetRRef(), StructDispNode::GetXCurr(), StructDispNode::iGetFirstMomentumIndex(), StructDispNode::iGetFirstPositionIndex(), M, MatCross, MatCrossCross, pNode1, pNode2, FullSubMatrixHandler::PutColIndex(), FullSubMatrixHandler::PutRowIndex(), R1h, R1hr, FullSubMatrixHandler::ResizeReset(), VariableSubMatrixHandler::SetFull(), FullSubMatrixHandler::Sub(), and WorkSpaceDim().
|
virtual |
Implements Elem.
Definition at line 3877 of file totalj.cc.
References VectorHandler::Add(), Vec3::Cross(), DEBUGCOUT, F, f2, FDrv, TplDriveOwner< T >::Get(), StructNode::GetRCurr(), StructDispNode::GetXCurr(), StructDispNode::iGetFirstMomentumIndex(), M, MDrv, pNode1, pNode2, SubVectorHandler::PutRowIndex(), R1h, R1hr, R2hr, VectorHandler::ResizeReset(), VectorHandler::Sub(), and WorkSpaceDim().
|
virtual |
Reimplemented from Elem.
Definition at line 3935 of file totalj.cc.
References VectorHandler::Add(), ASSERT, Vec3::Cross(), DEBUGCOUT, F, f2, FDrv, TplDriveOwner< T >::Get(), StructNode::GetRCurr(), StructDispNode::GetXCurr(), StructDispNode::iGetFirstPositionIndex(), invdyn2str(), InverseDynamics::INVERSE_DYNAMICS, M, MDrv, pNode1, pNode2, SubVectorHandler::PutRowIndex(), R1h, R1hr, R2hr, VectorHandler::ResizeReset(), VectorHandler::Sub(), and WorkSpaceDim().
|
virtual |
|
inlinevirtual |
|
virtual |
Reimplemented from Force.
Definition at line 3989 of file totalj.cc.
References FullSubMatrixHandler::Add(), Vec3::Cross(), F, f2, StructNode::GetRCurr(), StructNode::GetRRef(), StructDispNode::GetVCurr(), StructNode::GetWCurr(), StructDispNode::GetXCurr(), StructDispNode::iGetFirstPositionIndex(), InitialWorkSpaceDim(), M, MatCross, MatCrossCross, pNode1, pNode2, FullSubMatrixHandler::PutColIndex(), FullSubMatrixHandler::PutRowIndex(), R1h, R1hr, FullSubMatrixHandler::ResizeReset(), VariableSubMatrixHandler::SetFull(), and FullSubMatrixHandler::Sub().
|
virtual |
Implements SubjectToInitialAssembly.
Definition at line 4081 of file totalj.cc.
References VectorHandler::Add(), Vec3::Cross(), DEBUGCOUT, F, f2, FDrv, TplDriveOwner< T >::Get(), StructNode::GetRCurr(), StructNode::GetRRef(), StructDispNode::GetVCurr(), StructNode::GetWCurr(), StructDispNode::GetXCurr(), StructDispNode::iGetFirstPositionIndex(), InitialWorkSpaceDim(), M, MDrv, pNode1, pNode2, SubVectorHandler::PutRowIndex(), R1h, R1hr, R2hr, VectorHandler::ResizeReset(), and VectorHandler::Sub().
|
inlinevirtual |
Implements SubjectToInitialAssembly.
Definition at line 548 of file totalj.h.
Referenced by InitialAssJac(), and InitialAssRes().
|
virtual |
Reimplemented from ToBeOutput.
Definition at line 3767 of file totalj.cc.
References ToBeOutput::bToBeOutput(), F, OutputHandler::Forces(), WithLabel::GetLabel(), and M.
|
virtual |
Implements Elem.
Definition at line 3776 of file totalj.cc.
References f1, f2, FDrv, WithLabel::GetLabel(), MDrv, TplDriveOwner< T >::pGetDriveCaller(), pNode1, pNode2, R1h, R1hr, R2h, R2hr, TplDriveCaller< T >::Restart(), Force::Restart(), Vec3::Write(), and Mat3x3::Write().
|
mutableprivate |
Definition at line 498 of file totalj.h.
Referenced by AssJac(), AssRes(), InitialAssJac(), InitialAssRes(), and Output().
|
private |
Definition at line 489 of file totalj.h.
Referenced by AssJac(), AssRes(), InitialAssJac(), InitialAssRes(), and Restart().
|
private |
Definition at line 493 of file totalj.h.
Referenced by AssRes(), InitialAssRes(), and Restart().
|
mutableprivate |
Definition at line 497 of file totalj.h.
Referenced by AssJac(), AssRes(), InitialAssJac(), InitialAssRes(), and Output().
|
private |
Definition at line 495 of file totalj.h.
Referenced by AssRes(), InitialAssRes(), and Restart().
|
private |
Definition at line 484 of file totalj.h.
Referenced by AssJac(), AssRes(), InitialAssJac(), InitialAssRes(), and Restart().
|
private |
Definition at line 485 of file totalj.h.
Referenced by AssJac(), AssRes(), InitialAssJac(), InitialAssRes(), and Restart().
|
private |
Definition at line 487 of file totalj.h.
Referenced by AssJac(), AssRes(), InitialAssJac(), InitialAssRes(), and Restart().
|
private |
Definition at line 488 of file totalj.h.
Referenced by AssJac(), AssRes(), InitialAssJac(), InitialAssRes(), and Restart().
|
private |
Definition at line 491 of file totalj.h.
Referenced by AssRes(), InitialAssRes(), and Restart().