MBDyn-1.7.3
|
#include <point_contact.h>
Public Member Functions | |
PointSurfaceContact (unsigned int uL, const DofOwner *pDO, const StructNode *pN1, const StructNode *pNs, const Vec3 &SDir, const doublereal Ek, flag fOut) | |
virtual | ~PointSurfaceContact (void) |
virtual Joint::Type | GetJointType (void) const |
virtual std::ostream & | Restart (std::ostream &out) const |
virtual void | Output (OutputHandler &OH) const |
virtual unsigned int | iGetNumDof (void) const |
virtual void | WorkSpaceDim (integer *piNumRows, integer *piNumCols) const |
virtual VariableSubMatrixHandler & | AssJac (VariableSubMatrixHandler &WorkMat, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual SubVectorHandler & | AssRes (SubVectorHandler &WorkVec, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
virtual unsigned int | iGetInitialNumDof (void) 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) |
![]() | |
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 DofOrder::Order | GetDofType (unsigned int) 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 |
virtual void | GetConnectedNodes (std::vector< const Node * > &connectedNodes) const |
![]() | |
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 |
![]() | |
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) |
![]() | |
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)) |
![]() | |
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 |
![]() | |
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 |
![]() | |
GravityOwner (void) | |
virtual | ~GravityOwner (void) |
void | PutGravity (const Gravity *pG) |
virtual bool | bGetGravity (const Vec3 &X, Vec3 &Acc) const |
![]() | |
ElemWithDofs (unsigned int uL, const DofOwner *pDO, flag fOut) | |
virtual | ~ElemWithDofs (void) |
![]() | |
DofOwnerOwner (const DofOwner *pDO) | |
virtual | ~DofOwnerOwner () |
virtual const DofOwner * | pGetDofOwner (void) const |
virtual integer | iGetFirstIndex (void) const |
![]() | |
InitialAssemblyElem (unsigned int uL, flag fOut) | |
virtual | ~InitialAssemblyElem (void) |
![]() | |
SubjectToInitialAssembly (void) | |
virtual | ~SubjectToInitialAssembly (void) |
Protected Member Functions | |
void | AssMat (FullSubMatrixHandler &WM, doublereal dCoef) |
void | AssVec (SubVectorHandler &WorkVec, doublereal dCoef) |
![]() | |
virtual void | OutputPrepare_int (const std::string &type, OutputHandler &OH, std::string &name) |
![]() | |
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 | |
const StructNode * | pNode1 |
const StructNode * | pSup |
Vec3 | SupDirection |
doublereal | dDeltaL |
doublereal | ElasticStiffness |
Vec3 | FNode1 |
Vec3 | Farm |
Vec3 | FSup |
Vec3 | MSup |
Vec3 | n |
![]() | |
unsigned int | uLabel |
std::string | sName |
![]() | |
flag | fOutput |
![]() | |
Gravity * | pGravity |
Definition at line 42 of file point_contact.h.
PointSurfaceContact::PointSurfaceContact | ( | unsigned int | uL, |
const DofOwner * | pDO, | ||
const StructNode * | pN1, | ||
const StructNode * | pNs, | ||
const Vec3 & | SDir, | ||
const doublereal | Ek, | ||
flag | fOut | ||
) |
Definition at line 50 of file point_contact.cc.
References ASSERT, ElasticStiffness, StructDispNode::GetNodeType(), pNode1, pSup, and Node::STRUCTURAL.
|
virtual |
Definition at line 69 of file point_contact.cc.
References NO_OP.
|
virtual |
Implements Elem.
Definition at line 162 of file point_contact.cc.
References AssMat(), dDeltaL, DEBUGCOUT, StructDispNode::iGetFirstMomentumIndex(), StructDispNode::iGetFirstPositionIndex(), pNode1, pSup, FullSubMatrixHandler::PutColIndex(), FullSubMatrixHandler::PutRowIndex(), FullSubMatrixHandler::ResizeReset(), VariableSubMatrixHandler::SetFull(), VariableSubMatrixHandler::SetNullMatrix(), and WorkSpaceDim().
|
protected |
Definition at line 206 of file point_contact.cc.
References FullSubMatrixHandler::Add(), Vec3::Cross(), ElasticStiffness, Farm, FSup, n, FullSubMatrixHandler::Sub(), and Vec3::Tens().
Referenced by AssJac(), and InitialAssJac().
|
virtual |
Implements Elem.
Definition at line 93 of file point_contact.cc.
References AssVec(), StructDispNode::iGetFirstMomentumIndex(), pNode1, pSup, SubVectorHandler::PutRowIndex(), VectorHandler::ResizeReset(), and WorkSpaceDim().
|
protected |
Definition at line 122 of file point_contact.cc.
References VectorHandler::Add(), Vec3::Cross(), dDeltaL, Vec3::Dot(), ElasticStiffness, Farm, FNode1, FSup, StructNode::GetRCurr(), StructDispNode::GetXCurr(), MSup, n, pNode1, pSup, and SupDirection.
Referenced by AssRes(), and InitialAssRes().
|
inlinevirtual |
Implements Joint.
Definition at line 87 of file point_contact.h.
References Joint::POINT_SURFACE_CONTACT.
|
inlinevirtual |
Implements SubjectToInitialAssembly.
Definition at line 134 of file point_contact.h.
|
inlinevirtual |
|
virtual |
Implements SubjectToInitialAssembly.
Definition at line 286 of file point_contact.cc.
References AssMat(), dDeltaL, DEBUGCOUT, StructDispNode::iGetFirstMomentumIndex(), StructDispNode::iGetFirstPositionIndex(), pNode1, pSup, FullSubMatrixHandler::PutColIndex(), FullSubMatrixHandler::PutRowIndex(), FullSubMatrixHandler::ResizeReset(), VariableSubMatrixHandler::SetFull(), VariableSubMatrixHandler::SetNullMatrix(), and WorkSpaceDim().
|
virtual |
Implements SubjectToInitialAssembly.
Definition at line 256 of file point_contact.cc.
References AssVec(), DEBUGCOUT, StructDispNode::iGetFirstMomentumIndex(), pNode1, pSup, SubVectorHandler::PutRowIndex(), VectorHandler::ResizeReset(), and WorkSpaceDim().
|
inlinevirtual |
Implements SubjectToInitialAssembly.
Definition at line 138 of file point_contact.h.
|
virtual |
|
virtual |
Implements Elem.
Definition at line 76 of file point_contact.cc.
|
inlinevirtual |
Implements Elem.
Definition at line 114 of file point_contact.h.
Referenced by AssJac(), AssRes(), InitialAssJac(), and InitialAssRes().
|
protected |
Definition at line 56 of file point_contact.h.
Referenced by AssJac(), AssVec(), and InitialAssJac().
|
protected |
Definition at line 59 of file point_contact.h.
Referenced by AssMat(), AssVec(), and PointSurfaceContact().
|
protected |
Definition at line 64 of file point_contact.h.
|
protected |
Definition at line 62 of file point_contact.h.
Referenced by AssVec().
|
protected |
Definition at line 66 of file point_contact.h.
|
protected |
Definition at line 67 of file point_contact.h.
Referenced by AssVec().
|
protected |
Definition at line 69 of file point_contact.h.
|
protected |
Definition at line 47 of file point_contact.h.
Referenced by AssJac(), AssRes(), AssVec(), InitialAssJac(), InitialAssRes(), and PointSurfaceContact().
|
protected |
Definition at line 50 of file point_contact.h.
Referenced by AssJac(), AssRes(), AssVec(), InitialAssJac(), InitialAssRes(), and PointSurfaceContact().
|
protected |
Definition at line 53 of file point_contact.h.
Referenced by AssVec().