MBDyn-1.7.3
|
#include <strnode.h>
Public Types | |
enum | Type { UNKNOWN = -1, OFFSET = 0, RELATIVEFRAME, PIVOTRELATIVEFRAME, LASTTYPE } |
Public Types inherited from StructDispNode | |
enum | Type { UNKNOWN = -1, DYNAMIC = 0, STATIC, LASTSTRUCTDISPNODETYPE } |
enum | Output { OUTPUT_ACCELERATIONS = (ToBeOutput::OUTPUT_PRIVATE << 0), OUTPUT_INERTIA = (ToBeOutput::OUTPUT_PRIVATE << 1) } |
Public Types inherited from Node | |
enum | Type { UNKNOWN = -1, ABSTRACT = 0, STRUCTURAL, ELECTRIC, THERMAL, PARAMETER, HYDRAULIC, LASTNODETYPE } |
Public Types inherited from SimulationEntity | |
typedef std::vector< Hint * > | Hints |
Public Types inherited from ToBeOutput | |
enum | { OUTPUT = 0x1U, OUTPUT_MASK = 0xFU, OUTPUT_PRIVATE = 0x10U, OUTPUT_PRIVATE_MASK = ~OUTPUT_MASK } |
Public Types inherited from StructNode | |
enum | Type { UNKNOWN = -1, DYNAMIC = 0, STATIC, MODAL, DUMMY, LASTSTRUCTNODETYPE } |
Public Member Functions | |
DummyStructNode (unsigned int uL, const DofOwner *pDO, const StructNode *pNode, OrientationDescription ood, flag fOut) | |
virtual | ~DummyStructNode (void) |
virtual DummyStructNode::Type | GetDummyType (void) const =0 |
virtual StructDispNode::Type | GetStructDispNodeType (void) const |
virtual unsigned int | iGetNumDof (void) const |
virtual const doublereal & | dGetDofValue (int iDof, int iOrder=0) const |
virtual const doublereal & | dGetDofValuePrev (int iDof, int iOrder=0) const |
virtual void | SetDofValue (const doublereal &dValue, unsigned int iDof, unsigned int iOrder=0) |
virtual StructNode::Type | GetStructNodeType (void) const |
virtual unsigned int | iGetInitialNumDof (void) const |
virtual integer | iGetFirstPositionIndex (void) const |
virtual integer | iGetFirstMomentumIndex (void) const |
virtual void | DerivativesUpdate (const VectorHandler &X, const VectorHandler &XP) |
virtual void | InitialUpdate (const VectorHandler &X) |
virtual void | SetInitialValue (VectorHandler &X) |
virtual void | SetValue (DataManager *pDM, VectorHandler &X, VectorHandler &XP, SimulationEntity::Hints *ph=0) |
virtual void | BeforePredict (VectorHandler &X, VectorHandler &XP, VectorHandler &XPrev, VectorHandler &XPPrev) const |
virtual void | AfterPredict (VectorHandler &X, VectorHandler &XP) |
virtual bool | bComputeAccelerations (void) const |
virtual bool | ComputeAccelerations (bool b) |
Public Member Functions inherited from StructDispNode | |
StructDispNode (unsigned int uL, const DofOwner *pDO, const Vec3 &X0, const Vec3 &V0, const StructNode *pRN, const RigidBodyKinematics *pRBK, doublereal dPosStiff, doublereal dVelStiff, OrientationDescription od, flag fOut) | |
virtual | ~StructDispNode (void) |
virtual Node::Type | GetNodeType (void) const |
const RigidBodyKinematics * | pGetRBK (void) const |
const Vec3 & | GetX (void) const |
const Vec3 & | GetV (void) const |
const Vec3 & | GetXPP (void) const |
virtual DofOrder::Order | GetDofType (unsigned int) const |
virtual const Vec3 & | GetXPrev (void) const |
virtual const Vec3 & | GetXCurr (void) const |
virtual const Vec3 & | GetVPrev (void) const |
virtual const Vec3 & | GetVCurr (void) const |
virtual const Vec3 & | GetXPPPrev (void) const |
virtual const Vec3 & | GetXPPCurr (void) const |
virtual const doublereal & | dGetPositionStiffness (void) const |
virtual const doublereal & | dGetVelocityStiffness (void) const |
virtual bool | bOutputAccelerations (void) const |
virtual void | OutputAccelerations (bool bOut) |
Public Member Functions inherited from Node | |
Node (unsigned int uL, const DofOwner *pDO, flag fOut) | |
virtual | ~Node (void) |
const Node * | GetNode (void) const |
virtual integer | iGetFirstRowIndex (void) const |
virtual integer | iGetFirstColIndex (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 | AfterConvergence (const VectorHandler &X, const VectorHandler &XP) |
virtual std::ostream & | OutputAppend (std::ostream &out) const |
virtual void | ReadInitialState (MBDynParser &HP) |
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 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 RigidBodyKinematics | |
virtual | ~RigidBodyKinematics (void) |
virtual void | Update (void) |
Public Member Functions inherited from StructNode | |
StructNode (unsigned int uL, const DofOwner *pDO, const Vec3 &X0, const Mat3x3 &R0, const Vec3 &V0, const Vec3 &W0, const StructNode *pRN, const RigidBodyKinematics *pRBK, doublereal dPosStiff, doublereal dVelStiff, bool bOmRot, OrientationDescription ood, flag fOut) | |
virtual | ~StructNode (void) |
const Mat3x3 & | GetR (void) const |
const Vec3 & | GetW (void) const |
const Vec3 & | GetWP (void) const |
virtual std::ostream & | Restart (std::ostream &out) 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 const Vec3 & | GetgRef (void) const |
virtual const Vec3 & | GetgCurr (void) const |
virtual const Vec3 & | GetgPRef (void) const |
virtual const Vec3 & | GetgPCurr (void) const |
virtual const Mat3x3 & | GetRPrev (void) const |
virtual const Mat3x3 & | GetRRef (void) const |
virtual const Mat3x3 & | GetRCurr (void) const |
virtual const Vec3 & | GetWPrev (void) const |
virtual const Vec3 & | GetWRef (void) const |
virtual const Vec3 & | GetWCurr (void) const |
virtual const Vec3 & | GetWPCurr (void) const |
virtual const Vec3 & | GetWPPrev (void) const |
virtual bool | bOmegaRotates (void) const |
virtual void | OutputPrepare (OutputHandler &OH) |
virtual void | Output (OutputHandler &OH) const |
virtual void | Update (const VectorHandler &X, const VectorHandler &XP) |
void | Update (const VectorHandler &X, InverseDynamics::Order iOrder) |
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 |
Protected Member Functions | |
virtual void | Update_int (void)=0 |
Protected Attributes | |
const StructNode * | pNode |
Protected Attributes inherited from StructDispNode | |
Vec3 | XPrev |
Vec3 | XCurr |
Vec3 | VPrev |
Vec3 | VCurr |
Vec3 | XPPCurr |
Vec3 | XPPPrev |
const StructNode * | pRefNode |
OrientationDescription | od |
doublereal | dPositionStiffness |
doublereal | dVelocityStiffness |
const RigidBodyKinematics * | pRefRBK |
bool | bOutputAccels |
Protected Attributes inherited from WithLabel | |
unsigned int | uLabel |
std::string | sName |
Protected Attributes inherited from ToBeOutput | |
flag | fOutput |
Protected Attributes inherited from StructNode | |
Mat3x3 | RPrev |
Mat3x3 | RRef |
Mat3x3 | RCurr |
Vec3 | gRef |
Vec3 | gCurr |
Vec3 | gPRef |
Vec3 | gPCurr |
Vec3 | WPrev |
Vec3 | WRef |
Vec3 | WCurr |
Vec3 | WPCurr |
Vec3 | WPPrev |
bool | bOmegaRot |
Enumerator | |
---|---|
UNKNOWN | |
OFFSET | |
RELATIVEFRAME | |
PIVOTRELATIVEFRAME | |
LASTTYPE |
Definition at line 1649 of file strnode.h.
DummyStructNode::DummyStructNode | ( | unsigned int | uL, |
const DofOwner * | pDO, | ||
const StructNode * | pNode, | ||
OrientationDescription | ood, | ||
flag | fOut | ||
) |
Definition at line 3516 of file strnode.cc.
|
virtual |
Definition at line 3531 of file strnode.cc.
References NO_OP.
|
virtual |
Reimplemented from StructDispNode.
Definition at line 3634 of file strnode.cc.
References RigidBodyKinematics::Update().
|
inlinevirtual |
Reimplemented from StructDispNode.
Reimplemented in PivotRelFrameDummyStructNode, and RelFrameDummyStructNode.
Definition at line 1778 of file strnode.h.
|
virtual |
Reimplemented from StructDispNode.
Reimplemented in PivotRelFrameDummyStructNode, and RelFrameDummyStructNode.
Definition at line 3640 of file strnode.cc.
References pNode.
|
virtual |
Reimplemented from StructDispNode.
Definition at line 3586 of file strnode.cc.
References RigidBodyKinematics::Update().
|
virtual |
Reimplemented from StructDispNode.
Definition at line 3553 of file strnode.cc.
References WithLabel::GetLabel(), and MBDYN_EXCEPT_ARGS.
|
virtual |
Reimplemented from StructDispNode.
Definition at line 3564 of file strnode.cc.
References WithLabel::GetLabel(), and MBDYN_EXCEPT_ARGS.
|
pure virtual |
Implemented in PivotRelFrameDummyStructNode, RelFrameDummyStructNode, and OffsetDummyStructNode.
|
virtual |
Implements StructDispNode.
Definition at line 3545 of file strnode.cc.
References StructDispNode::UNKNOWN.
|
virtual |
|
inlinevirtual |
Implements StructDispNode.
Definition at line 1753 of file strnode.h.
References WithLabel::GetLabel(), and MBDYN_EXCEPT_ARGS.
|
inlinevirtual |
Reimplemented from StructDispNode.
Definition at line 1744 of file strnode.h.
References WithLabel::GetLabel(), and MBDYN_EXCEPT_ARGS.
|
inlinevirtual |
Reimplemented from StructDispNode.
|
inlinevirtual |
Implements SimulationEntity.
|
virtual |
|
virtual |
Reimplemented from StructDispNode.
Definition at line 3575 of file strnode.cc.
References WithLabel::GetLabel(), and MBDYN_EXCEPT_ARGS.
|
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 StructDispNode.
Definition at line 3605 of file strnode.cc.
References NO_OP.
|
virtual |
Reimplemented from StructDispNode.
Definition at line 3612 of file strnode.cc.
References RigidBodyKinematics::Update().
|
protectedpure virtual |
Implemented in PivotRelFrameDummyStructNode, RelFrameDummyStructNode, and OffsetDummyStructNode.
|
protected |
Definition at line 1660 of file strnode.h.
Referenced by ComputeAccelerations(), RelFrameDummyStructNode::ComputeAccelerations(), PivotRelFrameDummyStructNode::ComputeAccelerations(), DummyStructNode(), OffsetDummyStructNode::OffsetDummyStructNode(), PivotRelFrameDummyStructNode::PivotRelFrameDummyStructNode(), RelFrameDummyStructNode::RelFrameDummyStructNode(), OffsetDummyStructNode::Update_int(), and RelFrameDummyStructNode::Update_int().