MBDyn-1.7.3
|
#include <beamslider.h>
Public Member Functions | |
BeamSliderJoint (unsigned int uL, const DofOwner *pDO, const StructNode *pN, enum Type iT, unsigned int nB, const BeamConn *const *pB, unsigned int uIB, unsigned int uIN, doublereal dl, const Vec3 &fTmp, const Mat3x3 &RTmp, flag fOut) | |
~BeamSliderJoint (void) | |
virtual std::ostream & | Restart (std::ostream &out) const |
virtual Joint::Type | GetJointType (void) const |
virtual unsigned int | iGetNumDof (void) const |
DofOrder::Order | GetDofType (unsigned int i) 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) |
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 | 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 | SetInitialValue (VectorHandler &) |
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 | |
unsigned int | nRotConstr |
unsigned int | nBeams |
unsigned int | iCurrBeam |
enum Type | iType |
const StructNode * | pNode |
const BeamConn *const * | ppBeam |
Vec3 | f |
Mat3x3 | R |
Vec3 | F |
Vec3 | m |
Vec3 | M |
doublereal | sRef |
doublereal | s |
int | activeNode |
doublereal | dL |
doublereal | dW [2] |
Vec3 | xNod [Beam::NUMNODES] |
Vec3 | fTmp [Beam::NUMNODES] |
Vec3 | xTmp [Beam::NUMNODES] |
doublereal | dN [Beam::NUMNODES] |
doublereal | dNp [Beam::NUMNODES] |
doublereal | dNpp [Beam::NUMNODES] |
Vec3 | x |
Vec3 | l |
Vec3 | fb |
Vec3 | xc |
Mat3x3 | Rb |
Additional Inherited Members | |
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 |
Protected Attributes inherited from WithLabel | |
unsigned int | uLabel |
std::string | sName |
Protected Attributes inherited from ToBeOutput | |
flag | fOutput |
Protected Attributes inherited from GravityOwner | |
Gravity * | pGravity |
Definition at line 95 of file beamslider.h.
Enumerator | |
---|---|
SPHERICAL | |
CLASSIC | |
SPLINE |
Definition at line 97 of file beamslider.h.
BeamSliderJoint::BeamSliderJoint | ( | unsigned int | uL, |
const DofOwner * | pDO, | ||
const StructNode * | pN, | ||
enum Type | iT, | ||
unsigned int | nB, | ||
const BeamConn *const * | pB, | ||
unsigned int | uIB, | ||
unsigned int | uIN, | ||
doublereal | dl, | ||
const Vec3 & | fTmp, | ||
const Mat3x3 & | RTmp, | ||
flag | fOut | ||
) |
Definition at line 74 of file beamslider.cc.
References activeNode, ASSERT, CLASSIC, iCurrBeam, iType, nBeams, Beam::NODE1, Beam::NODE2, Beam::NODE3, nRotConstr, pNode, ppBeam, s, SPLINE, and sRef.
BeamSliderJoint::~BeamSliderJoint | ( | void | ) |
Definition at line 135 of file beamslider.cc.
References NO_OP.
|
virtual |
Implements Elem.
Definition at line 183 of file beamslider.cc.
References activeNode, FullSubMatrixHandler::Add(), Vec3::Cross(), grad::Cross(), DEBUGCOUT, FullSubMatrixHandler::DecCoef(), Vec3::dGet(), dL, dN, dNp, dNpp, dW, F, fb, fTmp, Mat3x3::GetVec(), iCurrBeam, DofOwnerOwner::iGetFirstIndex(), StructDispNode::iGetFirstMomentumIndex(), StructDispNode::iGetFirstPositionIndex(), iGetNumDof(), FullSubMatrixHandler::IncCoef(), iType, l, m, M, MatCross, MatCrossCross, Beam::NUMNODES, BeamConn::pGetNode(), pNode, ppBeam, FullSubMatrixHandler::PutColIndex(), FullSubMatrixHandler::PutRowIndex(), Rb, FullSubMatrixHandler::ResizeReset(), VariableSubMatrixHandler::SetFull(), SPHERICAL, FullSubMatrixHandler::Sub(), WorkSpaceDim(), xc, xNod, xTmp, and Zero3.
|
virtual |
Implements Elem.
Definition at line 509 of file beamslider.cc.
References activeNode, VectorHandler::Add(), CLASSIC, Vec3::Cross(), grad::Cross(), DEBUGCOUT, dL, dN, dNp, dNpp, dS, dW, f, F, fb, fTmp, BeamConn::Getf(), StructNode::GetRCurr(), Mat3x3::GetVec(), StructDispNode::GetXCurr(), iCurrBeam, DofOwnerOwner::iGetFirstIndex(), StructDispNode::iGetFirstMomentumIndex(), iGetNumDof(), iType, l, m, M, nBeams, NO_OP, Beam::NUMNODES, ORD_D1, ORD_D2, BeamConn::pGetNode(), pNode, ppBeam, Vec3::Put(), VectorHandler::PutCoef(), SubVectorHandler::PutRowIndex(), R, Rb, VectorHandler::ResizeReset(), s, ShapeFunc3N(), SPHERICAL, SPLINE, sRef, VectorHandler::Sub(), WorkSpaceDim(), x, xc, xNod, xTmp, and Zero3.
|
inlinevirtual |
Reimplemented from Elem.
Definition at line 212 of file beamslider.h.
References nBeams, Beam::NUMNODES, BeamConn::pGetNode(), pNode, and ppBeam.
|
inlinevirtual |
Reimplemented from Elem.
Definition at line 155 of file beamslider.h.
References DofOrder::ALGEBRAIC, ASSERT, and iGetNumDof().
|
inlinevirtual |
|
inlinevirtual |
Implements SubjectToInitialAssembly.
Definition at line 180 of file beamslider.h.
Referenced by InitialWorkSpaceDim().
|
inlinevirtual |
Reimplemented from Elem.
Definition at line 151 of file beamslider.h.
References nRotConstr.
Referenced by AssJac(), AssRes(), GetDofType(), and WorkSpaceDim().
|
virtual |
Implements SubjectToInitialAssembly.
Definition at line 718 of file beamslider.cc.
References VariableSubMatrixHandler::SetNullMatrix().
|
virtual |
Implements SubjectToInitialAssembly.
Definition at line 730 of file beamslider.cc.
References VectorHandler::Resize().
|
inlinevirtual |
Implements SubjectToInitialAssembly.
Definition at line 185 of file beamslider.h.
References iGetInitialNumDof(), and Beam::NUMNODES.
|
virtual |
Reimplemented from ToBeOutput.
Definition at line 148 of file beamslider.cc.
References ToBeOutput::bToBeOutput(), F, WithLabel::GetLabel(), StructNode::GetRCurr(), iCurrBeam, OutputHandler::Joints(), l, M, Joint::Output(), pNode, ppBeam, R, and sRef.
|
virtual |
Implements Elem.
Definition at line 141 of file beamslider.cc.
Implements Elem.
Definition at line 160 of file beamslider.h.
References iGetNumDof(), and Beam::NUMNODES.
Referenced by AssJac(), and AssRes().
|
private |
Definition at line 114 of file beamslider.h.
Referenced by AssJac(), AssRes(), and BeamSliderJoint().
|
private |
Definition at line 115 of file beamslider.h.
|
private |
Definition at line 121 of file beamslider.h.
|
private |
Definition at line 122 of file beamslider.h.
|
private |
Definition at line 123 of file beamslider.h.
|
private |
Definition at line 116 of file beamslider.h.
|
private |
Definition at line 107 of file beamslider.h.
Referenced by AssRes().
|
private |
Definition at line 109 of file beamslider.h.
|
private |
Definition at line 127 of file beamslider.h.
|
private |
Definition at line 119 of file beamslider.h.
|
private |
Definition at line 101 of file beamslider.h.
Referenced by AssJac(), AssRes(), BeamSliderJoint(), and Output().
|
private |
Definition at line 103 of file beamslider.h.
Referenced by AssJac(), AssRes(), and BeamSliderJoint().
|
private |
Definition at line 125 of file beamslider.h.
|
private |
Definition at line 110 of file beamslider.h.
|
private |
Definition at line 111 of file beamslider.h.
|
private |
Definition at line 100 of file beamslider.h.
Referenced by AssRes(), BeamSliderJoint(), and GetConnectedNodes().
|
private |
Definition at line 99 of file beamslider.h.
Referenced by BeamSliderJoint(), and iGetNumDof().
|
private |
Definition at line 105 of file beamslider.h.
Referenced by AssJac(), AssRes(), BeamSliderJoint(), GetConnectedNodes(), and Output().
|
private |
Definition at line 106 of file beamslider.h.
Referenced by AssJac(), AssRes(), BeamSliderJoint(), GetConnectedNodes(), and Output().
|
private |
Definition at line 108 of file beamslider.h.
|
private |
Definition at line 129 of file beamslider.h.
|
private |
Definition at line 113 of file beamslider.h.
Referenced by AssRes(), and BeamSliderJoint().
|
private |
Definition at line 112 of file beamslider.h.
Referenced by AssRes(), BeamSliderJoint(), and Output().
|
private |
Definition at line 124 of file beamslider.h.
Referenced by AssRes().
|
private |
Definition at line 128 of file beamslider.h.
|
private |
Definition at line 118 of file beamslider.h.
|
private |
Definition at line 120 of file beamslider.h.