MBDyn-1.7.3
|
Public Member Functions | |
ModuleIMUConstraint (unsigned uLabel, const DofOwner *pDO, DataManager *pDM, MBDynParser &HP) | |
virtual | ~ModuleIMUConstraint (void) |
unsigned int | iGetNumDof (void) const |
DofOrder::Order | GetDofType (unsigned int i) const |
virtual void | Output (OutputHandler &OH) const |
virtual 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) |
unsigned int | iGetNumPrivData (void) const |
unsigned int | iGetPrivDataIdx (const char *s) const |
doublereal | dGetPrivData (unsigned int i) const |
int | iGetNumConnectedNodes (void) const |
void | GetConnectedNodes (std::vector< const Node * > &connectedNodes) const |
void | SetValue (DataManager *pDM, VectorHandler &X, VectorHandler &XP, SimulationEntity::Hints *ph) |
std::ostream & | Restart (std::ostream &out) const |
virtual unsigned int | iGetInitialNumDof (void) const |
virtual void | InitialWorkSpaceDim (integer *piNumRows, integer *piNumCols) const |
VariableSubMatrixHandler & | InitialAssJac (VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr) |
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 |
virtual void | AssMats (VariableSubMatrixHandler &WorkMatA, VariableSubMatrixHandler &WorkMatB, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual bool | bInverseDynamics (void) 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 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 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 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 UserDefinedElem | |
UserDefinedElem (unsigned uLabel, const DofOwner *pDO) | |
virtual | ~UserDefinedElem (void) |
bool | NeedsAirProperties (void) const |
void | NeedsAirProperties (bool yesno) |
virtual Elem::Type | GetElemType (void) const |
virtual AerodynamicElem::Type | GetAerodynamicElemType (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 AerodynamicElem | |
AerodynamicElem (unsigned int uL, const DofOwner *pDO, flag fOut) | |
virtual | ~AerodynamicElem (void) |
virtual const InducedVelocity * | pGetInducedVelocity (void) 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 |
virtual void | SetInitialValue (VectorHandler &X) |
Public Member Functions inherited from AirPropOwner | |
AirPropOwner (void) | |
virtual | ~AirPropOwner (void) |
virtual void | PutAirProperties (const AirProperties *pAP) |
virtual flag | fGetAirVelocity (Vec3 &Velocity, const Vec3 &X) const |
virtual doublereal | dGetAirDensity (const Vec3 &X) const |
virtual doublereal | dGetAirPressure (const Vec3 &X) const |
virtual doublereal | dGetAirTemperature (const Vec3 &X) const |
virtual doublereal | dGetSoundSpeed (const Vec3 &X) const |
virtual bool | GetAirProps (const Vec3 &X, doublereal &rho, doublereal &c, doublereal &p, doublereal &T) 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 |
Private Attributes | |
const StructNode * | m_pNode |
Vec3 | m_tilde_f |
Mat3x3 | m_tilde_Rh |
Vec3 | m_overline_f |
TplDriveOwner< Vec3 > | m_OmegaDrv |
TplDriveOwner< Vec3 > | m_AccelerationDrv |
Vec3 | m_LambdaOmega |
Vec3 | m_LambdaAcceleration |
Vec3 | m_v |
Vec3 | m_vP |
Definition at line 339 of file module-imu.cc.
ModuleIMUConstraint::ModuleIMUConstraint | ( | unsigned | uLabel, |
const DofOwner * | pDO, | ||
DataManager * | pDM, | ||
MBDynParser & | HP | ||
) |
Definition at line 417 of file module-imu.cc.
References DataManager::fReadOutput(), ToBeOutput::fToBeOutput(), DataManager::GetOrientationDescription(), MBDynParser::GetPosRel(), StructNode::GetRCurr(), MBDynParser::GetRotRel(), HighParser::IsArg(), HighParser::IsKeyWord(), Elem::LOADABLE, m_AccelerationDrv, m_OmegaDrv, m_overline_f, m_pNode, m_tilde_f, m_tilde_Rh, MBDYN_EXCEPT_ARGS, Mat3x3::MulTV(), StructDispNode::OUTPUT_ACCELERATIONS, ReadDCVecRel(), DataManager::ReadNode(), TplDriveOwner< T >::Set(), ToBeOutput::SetOutputFlag(), Node::STRUCTURAL, and Zero3.
|
virtual |
Definition at line 491 of file module-imu.cc.
References NO_OP.
|
virtual |
Implements Elem.
Definition at line 540 of file module-imu.cc.
References FullSubMatrixHandler::Add(), FullSubMatrixHandler::AddT(), grad::Cross(), StructNode::GetRCurr(), StructDispNode::GetVCurr(), DofOwnerOwner::iGetFirstIndex(), StructDispNode::iGetFirstMomentumIndex(), StructDispNode::iGetFirstPositionIndex(), m_LambdaAcceleration, m_LambdaOmega, m_pNode, m_tilde_f, m_tilde_Rh, MatCross, FullSubMatrixHandler::PutCoef(), FullSubMatrixHandler::PutColIndex(), FullSubMatrixHandler::PutRowIndex(), R, FullSubMatrixHandler::ResizeReset(), VariableSubMatrixHandler::SetFull(), and FullSubMatrixHandler::Sub().
|
virtual |
Implements Elem.
Definition at line 592 of file module-imu.cc.
References VectorHandler::Add(), Vec3::Cross(), TplDriveOwner< T >::Get(), StructNode::GetRCurr(), StructDispNode::GetVCurr(), StructNode::GetWCurr(), DofOwnerOwner::iGetFirstIndex(), StructDispNode::iGetFirstMomentumIndex(), m_AccelerationDrv, m_LambdaAcceleration, m_LambdaOmega, m_OmegaDrv, m_overline_f, m_pNode, m_tilde_f, m_tilde_Rh, m_v, m_vP, Mat3x3::MulTV(), SubVectorHandler::PutRowIndex(), R, VectorHandler::ResizeReset(), and VectorHandler::Sub().
|
virtual |
Reimplemented from SimulationEntity.
Definition at line 645 of file module-imu.cc.
|
virtual |
|
virtual |
Reimplemented from Elem.
Definition at line 503 of file module-imu.cc.
References DofOrder::ALGEBRAIC, ASSERT, DofOrder::DIFFERENTIAL, and MBDYN_EXCEPT_ARGS.
|
virtual |
Implements SubjectToInitialAssembly.
Definition at line 682 of file module-imu.cc.
int ModuleIMUConstraint::iGetNumConnectedNodes | ( | void | ) | const |
Definition at line 651 of file module-imu.cc.
|
virtual |
|
virtual |
Reimplemented from SimulationEntity.
Definition at line 633 of file module-imu.cc.
|
virtual |
Reimplemented from SimulationEntity.
Definition at line 639 of file module-imu.cc.
|
virtual |
Implements SubjectToInitialAssembly.
Definition at line 697 of file module-imu.cc.
References ASSERT, and VariableSubMatrixHandler::SetNullMatrix().
|
virtual |
Implements SubjectToInitialAssembly.
Definition at line 710 of file module-imu.cc.
References ASSERT, and VectorHandler::ResizeReset().
|
virtual |
Implements SubjectToInitialAssembly.
Definition at line 688 of file module-imu.cc.
|
virtual |
Reimplemented from ToBeOutput.
Definition at line 518 of file module-imu.cc.
References ToBeOutput::bToBeOutput(), WithLabel::GetLabel(), OutputHandler::Loadable(), m_LambdaAcceleration, m_LambdaOmega, m_v, and m_vP.
|
virtual |
Implements Elem.
Definition at line 676 of file module-imu.cc.
|
virtual |
Reimplemented from SimulationEntity.
Definition at line 664 of file module-imu.cc.
References Vec3::Cross(), StructNode::GetRCurr(), StructDispNode::GetVCurr(), StructNode::GetWCurr(), DofOwnerOwner::iGetFirstIndex(), m_pNode, m_tilde_f, m_tilde_Rh, m_v, Mat3x3::MulTV(), VectorHandler::Put(), and R.
Implements Elem.
Definition at line 533 of file module-imu.cc.
|
private |
Definition at line 350 of file module-imu.cc.
Referenced by AssRes(), and ModuleIMUConstraint().
|
private |
Definition at line 353 of file module-imu.cc.
|
private |
Definition at line 352 of file module-imu.cc.
|
private |
Definition at line 349 of file module-imu.cc.
Referenced by AssRes(), and ModuleIMUConstraint().
|
private |
Definition at line 347 of file module-imu.cc.
Referenced by AssRes(), and ModuleIMUConstraint().
|
private |
Definition at line 343 of file module-imu.cc.
Referenced by AssJac(), AssRes(), GetConnectedNodes(), ModuleIMUConstraint(), and SetValue().
|
private |
Definition at line 344 of file module-imu.cc.
Referenced by AssJac(), AssRes(), ModuleIMUConstraint(), and SetValue().
|
private |
Definition at line 345 of file module-imu.cc.
Referenced by AssJac(), AssRes(), ModuleIMUConstraint(), and SetValue().
|
private |
Definition at line 354 of file module-imu.cc.
Referenced by AssRes(), Output(), and SetValue().
|
private |
Definition at line 355 of file module-imu.cc.