MBDyn-1.7.3
|
#include <inplanej.h>
Public Member Functions | |
InPlaneWithOffsetJoint (unsigned int uL, const DofOwner *pDO, const StructNode *pN1, const StructNode *pN2, const Vec3 &vT, const Vec3 &pT, const Vec3 &qT, flag fOut) | |
~InPlaneWithOffsetJoint (void) | |
virtual Joint::Type | GetJointType (void) const |
virtual std::ostream & | Restart (std::ostream &out) const |
virtual unsigned int | iGetNumDof (void) const |
virtual DofOrder::Order | GetDofType (unsigned int) 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) |
virtual void | Output (OutputHandler &OH) 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) |
virtual void | SetInitialValue (VectorHandler &X) |
virtual void | GetConnectedNodes (std::vector< const Node * > &connectedNodes) 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 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 | 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 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 | SetValue (DataManager *pDM, VectorHandler &, VectorHandler &, SimulationEntity::Hints *ph=0) |
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) |
Private Attributes | |
const StructNode * | pNode1 |
const StructNode * | pNode2 |
const Vec3 | v |
const Vec3 | p |
const Vec3 | q |
doublereal | dF |
Definition at line 156 of file inplanej.h.
InPlaneWithOffsetJoint::InPlaneWithOffsetJoint | ( | unsigned int | uL, |
const DofOwner * | pDO, | ||
const StructNode * | pN1, | ||
const StructNode * | pN2, | ||
const Vec3 & | vT, | ||
const Vec3 & | pT, | ||
const Vec3 & | qT, | ||
flag | fOut | ||
) |
InPlaneWithOffsetJoint::~InPlaneWithOffsetJoint | ( | void | ) |
Definition at line 369 of file inplanej.cc.
References NO_OP.
|
virtual |
Implements Elem.
Definition at line 389 of file inplanej.cc.
References DEBUGCOUT, dF, Vec3::dGet(), StructNode::GetRRef(), StructDispNode::GetXCurr(), DofOwnerOwner::iGetFirstIndex(), StructDispNode::iGetFirstMomentumIndex(), StructDispNode::iGetFirstPositionIndex(), MatCrossCross, pNode1, pNode2, SparseSubMatrixHandler::PutCross(), SparseSubMatrixHandler::PutItem(), SparseSubMatrixHandler::PutMat3x3(), q, SparseSubMatrixHandler::ResizeReset(), VariableSubMatrixHandler::SetSparse(), and v.
|
virtual |
Implements Elem.
Definition at line 464 of file inplanej.cc.
References VectorHandler::Add(), Vec3::Cross(), DEBUGCOUT, dF, Vec3::Dot(), StructNode::GetRCurr(), StructDispNode::GetXCurr(), DofOwnerOwner::iGetFirstIndex(), StructDispNode::iGetFirstMomentumIndex(), p, pNode1, pNode2, VectorHandler::PutCoef(), SubVectorHandler::PutRowIndex(), q, VectorHandler::ResizeReset(), and v.
|
inlinevirtual |
|
inlinevirtual |
Reimplemented from Elem.
Definition at line 191 of file inplanej.h.
References DofOrder::ALGEBRAIC, and ASSERT.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
|
virtual |
Implements SubjectToInitialAssembly.
Definition at line 519 of file inplanej.cc.
References FullSubMatrixHandler::Add(), Vec3::Cross(), grad::Cross(), DEBUGCOUT, dF, Vec3::dGet(), StructNode::GetRRef(), StructDispNode::GetVCurr(), StructNode::GetWRef(), StructDispNode::GetXCurr(), DofOwnerOwner::iGetFirstIndex(), StructDispNode::iGetFirstPositionIndex(), MatCross, MatCrossCross, pNode1, pNode2, FullSubMatrixHandler::PutCoef(), FullSubMatrixHandler::PutColIndex(), FullSubMatrixHandler::PutRowIndex(), q, FullSubMatrixHandler::ResizeReset(), VariableSubMatrixHandler::SetFull(), FullSubMatrixHandler::Sub(), Mat3x3::Transpose(), and v.
|
virtual |
Implements SubjectToInitialAssembly.
Definition at line 670 of file inplanej.cc.
References VectorHandler::Add(), Vec3::Cross(), DEBUGCOUT, dF, Vec3::Dot(), StructNode::GetRCurr(), StructDispNode::GetVCurr(), StructNode::GetWCurr(), StructDispNode::GetXCurr(), DofOwnerOwner::iGetFirstIndex(), StructDispNode::iGetFirstPositionIndex(), p, pNode1, pNode2, VectorHandler::PutCoef(), SubVectorHandler::PutRowIndex(), q, VectorHandler::ResizeReset(), and v.
|
inlinevirtual |
Implements SubjectToInitialAssembly.
Definition at line 216 of file inplanej.h.
|
virtual |
Reimplemented from ToBeOutput.
Definition at line 507 of file inplanej.cc.
References ToBeOutput::bToBeOutput(), dF, WithLabel::GetLabel(), StructNode::GetRCurr(), OutputHandler::Joints(), Joint::Output(), pNode1, v, and Zero3.
|
virtual |
Implements Elem.
Definition at line 375 of file inplanej.cc.
References WithLabel::GetLabel(), p, pNode1, pNode2, q, Joint::Restart(), v, and Vec3::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 726 of file inplanej.cc.
References NO_OP.
|
inlinevirtual |
Implements Elem.
Definition at line 198 of file inplanej.h.
|
private |
Definition at line 165 of file inplanej.h.
Referenced by AssJac(), AssRes(), InitialAssJac(), InitialAssRes(), and Output().
|
private |
Definition at line 162 of file inplanej.h.
Referenced by AssRes(), InitialAssRes(), and Restart().
|
private |
Definition at line 158 of file inplanej.h.
Referenced by AssJac(), AssRes(), GetConnectedNodes(), InitialAssJac(), InitialAssRes(), Output(), and Restart().
|
private |
Definition at line 159 of file inplanej.h.
Referenced by AssJac(), AssRes(), GetConnectedNodes(), InitialAssJac(), InitialAssRes(), and Restart().
|
private |
Definition at line 163 of file inplanej.h.
Referenced by AssJac(), AssRes(), InitialAssJac(), InitialAssRes(), and Restart().
|
private |
Definition at line 161 of file inplanej.h.
Referenced by AssJac(), AssRes(), InitialAssJac(), InitialAssRes(), Output(), and Restart().