|
MBDyn-1.7.3
|
#include <strmappingext.h>


Classes | |
| struct | NodeData |
| struct | OffsetData |
Public Member Functions | |
| StructMappingExtForce (unsigned int uL, DataManager *pDM, const StructNode *pRefNode, bool bUseReferenceNodeForces, bool bRotateReferenceNodeForces, std::vector< const StructDispNode * > &Nodes, std::vector< Vec3 > &Offsets, std::vector< unsigned > &Labels, SpMapMatrixHandler *pH, std::vector< uint32_t > &MappedLabels, bool bLabels, bool bOutputAccelerations, unsigned uRRot, ExtFileHandlerBase *pEFH, bool bSendAfterPredict, int iCoupling, flag fOut) | |
| virtual | ~StructMappingExtForce (void) |
| virtual Force::Type | GetForceType (void) const |
| void | WorkSpaceDim (integer *piNumRows, integer *piNumCols) const |
| SubVectorHandler & | AssRes (SubVectorHandler &WorkVec, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
| virtual void | Output (OutputHandler &OH) const |
| 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 unsigned int | iGetNumDof (void) 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 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 |
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 | 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, 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 ExtForce | |
| ExtForce (unsigned int uL, DataManager *pDM, ExtFileHandlerBase *pEFH, bool bSendAfterPredict, int iCoupling, flag fOut) | |
| virtual | ~ExtForce (void) |
| virtual void | SetValue (DataManager *pDM, VectorHandler &X, VectorHandler &XP, SimulationEntity::Hints *h=0) |
| virtual void | Update (const VectorHandler &XCurr, const VectorHandler &XPrimeCurr) |
| virtual void | AfterConvergence (const VectorHandler &X, const VectorHandler &XP) |
| virtual void | AfterPredict (VectorHandler &X, VectorHandler &XP) |
| virtual void | InitialWorkSpaceDim (integer *piNumRows, integer *piNumCols) const |
| virtual VariableSubMatrixHandler & | InitialAssJac (VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr) |
| virtual SubVectorHandler & | InitialAssRes (SubVectorHandler &WorkVec, const VectorHandler &XCurr) |
Public Member Functions inherited from Force | |
| Force (unsigned int uL, flag fOut) | |
| virtual | ~Force (void) |
| virtual Elem::Type | GetElemType (void) const |
| virtual VariableSubMatrixHandler & | AssJac (VariableSubMatrixHandler &WorkMat, doublereal, const VectorHandler &, const VectorHandler &) |
| virtual std::ostream & | Restart (std::ostream &out) const |
| virtual unsigned int | iGetInitialNumDof (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) |
Protected Member Functions | |
| bool | Prepare (ExtFileHandlerBase *pEFH) |
| void | Send (ExtFileHandlerBase *pEFH, ExtFileHandlerBase::SendWhen when) |
| void | Recv (ExtFileHandlerBase *pEFH) |
| virtual void | SendToStream (std::ostream &outf, ExtFileHandlerBase::SendWhen when) |
| virtual void | SendToFileDes (int outfd, ExtFileHandlerBase::SendWhen when) |
| virtual void | RecvFromStream (std::istream &inf) |
| virtual void | RecvFromFileDes (int infd) |
Protected Member Functions inherited from ExtForce | |
| void | Send (ExtFileHandlerBase::SendWhen when) |
| void | Recv (void) |
Protected Attributes | |
| const StructNode * | pRefNode |
| bool | bUseReferenceNodeForces |
| bool | bRotateReferenceNodeForces |
| Vec3 | F0 |
| Vec3 | M0 |
| Vec3 | F1 |
| Vec3 | M1 |
| Vec3 | F2 |
| Vec3 | M2 |
| SpMapMatrixHandler * | pH |
| unsigned | m_uResSize |
| std::vector< NodeData > | Nodes |
| unsigned | uPoints |
| unsigned | uMappedPoints |
| bool | bLabels |
| bool | bOutputAccelerations |
| unsigned | uRRot |
| std::vector< uint32_t > | m_qlabels |
| STLVectorHandler | m_x |
| STLVectorHandler | m_xP |
| STLVectorHandler | m_xPP |
| STLVectorHandler | m_q |
| STLVectorHandler | m_qP |
| STLVectorHandler | m_qPP |
| STLVectorHandler | m_f |
| STLVectorHandler | m_p |
Protected Attributes inherited from WithLabel | |
| unsigned int | uLabel |
| std::string | sName |
Protected Attributes inherited from ToBeOutput | |
| flag | fOutput |
Protected Attributes inherited from ExtForce | |
| Converged | c |
| ExtFileHandlerBase * | pEFH |
| bool | bSendAfterPredict |
| int | iCoupling |
| int | iCouplingCounter |
| bool | bFirstSend |
| bool | bFirstRecv |
Definition at line 46 of file strmappingext.h.
| StructMappingExtForce::StructMappingExtForce | ( | unsigned int | uL, |
| DataManager * | pDM, | ||
| const StructNode * | pRefNode, | ||
| bool | bUseReferenceNodeForces, | ||
| bool | bRotateReferenceNodeForces, | ||
| std::vector< const StructDispNode * > & | Nodes, | ||
| std::vector< Vec3 > & | Offsets, | ||
| std::vector< unsigned > & | Labels, | ||
| SpMapMatrixHandler * | pH, | ||
| std::vector< uint32_t > & | MappedLabels, | ||
| bool | bLabels, | ||
| bool | bOutputAccelerations, | ||
| unsigned | uRRot, | ||
| ExtFileHandlerBase * | pEFH, | ||
| bool | bSendAfterPredict, | ||
| int | iCoupling, | ||
| flag | fOut | ||
| ) |
Definition at line 47 of file strmappingext.cc.
References ASSERT, WithLabel::GetLabel(), SparseMatrixHandler::iGetNumCols(), SparseMatrixHandler::iGetNumRows(), m_qPP, m_uResSize, m_xPP, MBC_ROT_EULER_123, MBC_ROT_MAT, MBC_ROT_THETA, MBDYN_EXCEPT_ARGS, Nodes, uMappedPoints, uPoints, and Zero3.

|
virtual |
Definition at line 223 of file strmappingext.cc.
References NO_OP.
|
virtual |
Implements Elem.
Definition at line 987 of file strmappingext.cc.
References VectorHandler::Add(), ASSERT, bRotateReferenceNodeForces, ToBeOutput::bToBeOutput(), bUseReferenceNodeForces, ExtForce::COUPLING_NONE, grad::Cross(), F0, F1, F2, StructNode::GetRCurr(), StructDispNode::GetXCurr(), ExtForce::iCoupling, StructDispNode::iGetFirstMomentumIndex(), M0, M1, M2, m_uResSize, Nodes, pRefNode, SubVectorHandler::PutRowIndex(), ExtForce::Recv(), VectorHandler::Resize(), VectorHandler::ResizeReset(), and Zero3.

|
virtual |
Reimplemented from Elem.
Definition at line 1126 of file strmappingext.cc.
References Nodes, and pRefNode.
|
inlinevirtual |
Implements Force.
Definition at line 126 of file strmappingext.h.
References Force::EXTERNALSTRUCTURAL.
|
virtual |
Reimplemented from ToBeOutput.
Definition at line 1096 of file strmappingext.cc.
References ToBeOutput::bToBeOutput(), F0, F1, F2, OutputHandler::FORCES, OutputHandler::Forces(), WithLabel::GetLabel(), M0, M1, M2, Nodes, pRefNode, and OutputHandler::UseText().

|
protectedvirtual |
Implements ExtForce.
Definition at line 242 of file strmappingext.cc.
References bLabels, bOutputAccelerations, buf, ExtFileHandlerBase::GetInFileDes(), ExtFileHandlerBase::GetInStream(), WithLabel::GetLabel(), ExtFileHandlerBase::GetOutFileDes(), ExtFileHandlerBase::GetOutStream(), ExtFileHandlerBase::GetRecvFlags(), ExtFileHandlerBase::GetSendFlags(), MBC_ACCELS, MBC_LABELS, MBC_MODAL, MBC_MODAL_NODAL_MASK, MBC_NODAL, MBC_REF_NODE, MBC_REF_NODE_ROT_MASK, MBC_ROT_MASK, MBC_ROT_NONE, MBC_U_ROT_2_REF_NODE_ROT, MBDYN_EXCEPT_ARGS, ExtFileHandlerBase::NEGOTIATE_CLIENT, ExtFileHandlerBase::NEGOTIATE_NO, ExtFileHandlerBase::NEGOTIATE_SERVER, ExtFileHandlerBase::NegotiateRequest(), pH, pRefNode, uMappedPoints, uPoints, and uRRot.

|
protectedvirtual |
Implements ExtForce.
Definition at line 765 of file strmappingext.cc.
References ExtFileHandlerBase::GetInFileDes(), ExtFileHandlerBase::GetInStream(), RecvFromFileDes(), and RecvFromStream().

|
protectedvirtual |
Reimplemented in StructMembraneMappingExtForce.
Definition at line 830 of file strmappingext.cc.
References bLabels, buf, F0, WithLabel::GetLabel(), StructNode::GetRCurr(), ExtFileHandlerBase::GetRecvFlags(), labels, M0, m_f, m_p, m_qlabels, MatrixHandler::MatTVecMul(), MBDYN_EXCEPT_ARGS, Nodes, ExtForce::pEFH, pH, pRefNode, and Zero3.
Referenced by Recv().

|
protectedvirtual |
Reimplemented in StructMembraneMappingExtForce.
Definition at line 777 of file strmappingext.cc.
References bLabels, F0, WithLabel::GetLabel(), M0, MBC_ROT_NONE, MBDYN_EXCEPT_ARGS, Nodes, Vec3::pGetVec(), pRefNode, and uRRot.
Referenced by Recv().

|
protectedvirtual |
Implements ExtForce.
Definition at line 417 of file strmappingext.cc.
References ExtFileHandlerBase::GetOutFileDes(), ExtFileHandlerBase::GetOutStream(), SendToFileDes(), and SendToStream().

|
protectedvirtual |
Reimplemented in StructMembraneMappingExtForce.
Definition at line 600 of file strmappingext.cc.
References bLabels, bOutputAccelerations, Vec3::Cross(), dRaDegr, WithLabel::GetLabel(), StructNode::GetRCurr(), StructDispNode::GetVCurr(), StructNode::GetWCurr(), StructNode::GetWPCurr(), StructDispNode::GetXCurr(), StructDispNode::GetXPPCurr(), m_q, m_qlabels, m_qP, m_qPP, m_x, m_xP, m_xPP, MatR2EulerAngles123(), MatrixHandler::MatVecMul(), MBC_ROT_EULER_123, MBC_ROT_MAT, MBC_ROT_THETA, MBDYN_EXCEPT_ARGS, Mat3x3::MulTV(), Nodes, Mat3x3::pGetMat(), Vec3::pGetVec(), pH, pRefNode, STLVectorHandler::Put(), R, uRRot, and RotManip::VecRot().
Referenced by Send().

|
protectedvirtual |
Reimplemented in StructMembraneMappingExtForce.
Definition at line 429 of file strmappingext.cc.
References a, bLabels, bOutputAccelerations, Vec3::Cross(), grad::Cross(), dRaDegr, WithLabel::GetLabel(), StructNode::GetRCurr(), StructDispNode::GetVCurr(), StructNode::GetWCurr(), StructNode::GetWPCurr(), StructDispNode::GetXCurr(), StructDispNode::GetXPPCurr(), MatR2EulerAngles123(), MBC_ROT_EULER_123, MBC_ROT_MAT, MBC_ROT_NONE, MBC_ROT_THETA, Mat3x3::MulTM(), Mat3x3::MulTV(), Nodes, pRefNode, R, and RotManip::VecRot().
Referenced by Send().

Implements Elem.
Definition at line 229 of file strmappingext.cc.
References ExtForce::COUPLING_NONE, ExtForce::iCoupling, Nodes, and pRefNode.
|
protected |
Definition at line 77 of file strmappingext.h.
Referenced by Prepare(), RecvFromFileDes(), StructMembraneMappingExtForce::RecvFromFileDes(), RecvFromStream(), StructMembraneMappingExtForce::RecvFromStream(), SendToFileDes(), StructMembraneMappingExtForce::SendToFileDes(), SendToStream(), and StructMembraneMappingExtForce::SendToStream().
|
protected |
Definition at line 78 of file strmappingext.h.
Referenced by Prepare(), SendToFileDes(), StructMembraneMappingExtForce::SendToFileDes(), SendToStream(), and StructMembraneMappingExtForce::SendToStream().
|
protected |
Definition at line 50 of file strmappingext.h.
Referenced by AssRes().
|
protected |
Definition at line 49 of file strmappingext.h.
Referenced by AssRes().
|
protected |
Definition at line 51 of file strmappingext.h.
Referenced by AssRes(), Output(), RecvFromFileDes(), StructMembraneMappingExtForce::RecvFromFileDes(), RecvFromStream(), and StructMembraneMappingExtForce::RecvFromStream().
|
protected |
Definition at line 52 of file strmappingext.h.
|
protected |
Definition at line 53 of file strmappingext.h.
|
protected |
Definition at line 51 of file strmappingext.h.
Referenced by AssRes(), Output(), RecvFromFileDes(), StructMembraneMappingExtForce::RecvFromFileDes(), RecvFromStream(), and StructMembraneMappingExtForce::RecvFromStream().
|
protected |
Definition at line 52 of file strmappingext.h.
|
protected |
Definition at line 53 of file strmappingext.h.
|
protected |
Definition at line 91 of file strmappingext.h.
Referenced by RecvFromFileDes(), and StructMembraneMappingExtForce::RecvFromFileDes().
|
protected |
Definition at line 92 of file strmappingext.h.
Referenced by RecvFromFileDes(), and StructMembraneMappingExtForce::RecvFromFileDes().
|
protected |
Definition at line 87 of file strmappingext.h.
Referenced by SendToFileDes(), and StructMembraneMappingExtForce::SendToFileDes().
|
protected |
Definition at line 82 of file strmappingext.h.
Referenced by RecvFromFileDes(), StructMembraneMappingExtForce::RecvFromFileDes(), SendToFileDes(), and StructMembraneMappingExtForce::SendToFileDes().
|
protected |
Definition at line 88 of file strmappingext.h.
Referenced by SendToFileDes(), and StructMembraneMappingExtForce::SendToFileDes().
|
protected |
Definition at line 89 of file strmappingext.h.
Referenced by SendToFileDes(), StructMembraneMappingExtForce::SendToFileDes(), and StructMappingExtForce().
|
protected |
Definition at line 71 of file strmappingext.h.
Referenced by AssRes(), and StructMappingExtForce().
|
protected |
Definition at line 84 of file strmappingext.h.
Referenced by SendToFileDes(), and StructMembraneMappingExtForce::SendToFileDes().
|
protected |
Definition at line 85 of file strmappingext.h.
Referenced by SendToFileDes(), and StructMembraneMappingExtForce::SendToFileDes().
|
protected |
Definition at line 86 of file strmappingext.h.
Referenced by SendToFileDes(), StructMembraneMappingExtForce::SendToFileDes(), and StructMappingExtForce().
|
protected |
Definition at line 73 of file strmappingext.h.
Referenced by AssRes(), GetConnectedNodes(), Output(), RecvFromFileDes(), StructMembraneMappingExtForce::RecvFromFileDes(), RecvFromStream(), StructMembraneMappingExtForce::RecvFromStream(), SendToFileDes(), StructMembraneMappingExtForce::SendToFileDes(), SendToStream(), StructMembraneMappingExtForce::SendToStream(), StructMappingExtForce(), StructMembraneMappingExtForce::StructMembraneMappingExtForce(), and WorkSpaceDim().
|
protected |
Definition at line 56 of file strmappingext.h.
Referenced by Prepare(), RecvFromFileDes(), StructMembraneMappingExtForce::RecvFromFileDes(), SendToFileDes(), and StructMembraneMappingExtForce::SendToFileDes().
|
protected |
Definition at line 48 of file strmappingext.h.
Referenced by AssRes(), GetConnectedNodes(), Output(), Prepare(), RecvFromFileDes(), StructMembraneMappingExtForce::RecvFromFileDes(), RecvFromStream(), StructMembraneMappingExtForce::RecvFromStream(), SendToFileDes(), StructMembraneMappingExtForce::SendToFileDes(), SendToStream(), StructMembraneMappingExtForce::SendToStream(), and WorkSpaceDim().
|
protected |
Definition at line 75 of file strmappingext.h.
Referenced by Prepare(), and StructMappingExtForce().
|
protected |
Definition at line 74 of file strmappingext.h.
Referenced by Prepare(), and StructMappingExtForce().
|
protected |
Definition at line 80 of file strmappingext.h.
Referenced by Prepare(), RecvFromStream(), StructMembraneMappingExtForce::RecvFromStream(), SendToFileDes(), and StructMembraneMappingExtForce::SendToFileDes().