MBDyn-1.7.3
|
#include <modalmappingext.h>
Classes | |
struct | NodeData |
Public Member Functions | |
ModalMappingExt (unsigned int uL, DataManager *pDM, const StructNode *pRefNode, std::vector< const StructNode * > &n, SpMapMatrixHandler *pH, bool bOutputAccelerations, ExtFileHandlerBase *pEFH, ExtModalForceBase *pEMF, bool bSendAfterPredict, int iCoupling, ExtModalForceBase::BitMask bm, bool bUseReferenceNodeForces, bool bRotateReferenceNodeForces, flag fOut) | |
virtual | ~ModalMappingExt (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) |
Protected Member Functions inherited from ExtForce | |
void | Send (ExtFileHandlerBase::SendWhen when) |
void | Recv (void) |
Protected Attributes | |
ExtModalForceBase * | pEMF |
unsigned | uFlags |
bool | bOutputAccelerations |
bool | bUseReferenceNodeForces |
bool | bRotateReferenceNodeForces |
const StructNode * | pRefNode |
SpMapMatrixHandler * | pH |
std::vector< NodeData > | Nodes |
Vec3 | F0 |
Vec3 | M0 |
Vec3 | F1 |
Vec3 | M1 |
Vec3 | F2 |
Vec3 | M2 |
STLVectorHandler | f |
STLVectorHandler | p |
STLVectorHandler | x |
STLVectorHandler | xP |
STLVectorHandler | q |
STLVectorHandler | qP |
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 modalmappingext.h.
ModalMappingExt::ModalMappingExt | ( | unsigned int | uL, |
DataManager * | pDM, | ||
const StructNode * | pRefNode, | ||
std::vector< const StructNode * > & | n, | ||
SpMapMatrixHandler * | pH, | ||
bool | bOutputAccelerations, | ||
ExtFileHandlerBase * | pEFH, | ||
ExtModalForceBase * | pEMF, | ||
bool | bSendAfterPredict, | ||
int | iCoupling, | ||
ExtModalForceBase::BitMask | bm, | ||
bool | bUseReferenceNodeForces, | ||
bool | bRotateReferenceNodeForces, | ||
flag | fOut | ||
) |
Definition at line 42 of file modalmappingext.cc.
References ASSERT, ExtModalForceBase::EMF_ALL, ExtModalForceBase::EMF_MODAL, ExtModalForceBase::EMF_RIGID, f, StructNode::GetRCurr(), StructDispNode::GetXCurr(), SparseMatrixHandler::iGetNumRows(), Mat3x3::MulTM(), Mat3x3::MulTV(), Nodes, p, q, qP, uFlags, x, xP, and Zero3.
|
virtual |
|
virtual |
Implements Elem.
Definition at line 282 of file modalmappingext.cc.
References ExtForce::COUPLING_NONE, ExtModalForceBase::EMF_MODAL, ExtModalForceBase::EMF_RIGID, F1, ExtForce::iCoupling, StructDispNode::iGetFirstMomentumIndex(), M1, Nodes, pRefNode, VectorHandler::Put(), SubVectorHandler::PutRowIndex(), ExtForce::Recv(), VectorHandler::Resize(), VectorHandler::ResizeReset(), uFlags, and WorkSpaceDim().
|
virtual |
Reimplemented from Elem.
Definition at line 383 of file modalmappingext.cc.
References Nodes, and pRefNode.
|
virtual |
Implements Force.
Definition at line 263 of file modalmappingext.cc.
References Force::EXTERNALMODAL.
|
virtual |
Reimplemented from ToBeOutput.
Definition at line 332 of file modalmappingext.cc.
References ToBeOutput::bToBeOutput(), ExtModalForceBase::EMF_MODAL, ExtModalForceBase::EMF_RIGID, F0, F1, F2, OutputHandler::FORCES, OutputHandler::Forces(), WithLabel::GetLabel(), M0, M1, M2, Nodes, p, pRefNode, q, qP, uFlags, OutputHandler::UseText(), x, and xP.
|
protectedvirtual |
Implements ExtForce.
Definition at line 141 of file modalmappingext.cc.
References ExtModalForceBase::EMF_RIGID, WithLabel::GetLabel(), SparseMatrixHandler::iGetNumRows(), pEMF, pH, ExtModalForceBase::Prepare(), and uFlags.
|
protectedvirtual |
Implements ExtForce.
Definition at line 200 of file modalmappingext.cc.
References bRotateReferenceNodeForces, ToBeOutput::bToBeOutput(), bUseReferenceNodeForces, grad::Cross(), ExtModalForceBase::EMF_ERR, f, F0, F1, F2, WithLabel::GetLabel(), StructNode::GetRCurr(), StructDispNode::GetXCurr(), M0, M1, M2, MatrixHandler::MatTVecMul(), MBDYN_EXCEPT_ARGS, Nodes, p, pEMF, pH, pRefNode, ExtModalForceBase::Recv(), uFlags, WithLabel::uLabel, and Zero3.
|
protectedvirtual |
Implements ExtForce.
Definition at line 152 of file modalmappingext.cc.
References Vec3::Cross(), ExtModalForceBase::EMF_RIGID, Eye3, WithLabel::GetLabel(), StructNode::GetRCurr(), StructDispNode::GetVCurr(), StructNode::GetWCurr(), StructDispNode::GetXCurr(), MatR2LinParam(), MatrixHandler::MatVecMul(), Mat3x3::MulTM(), Mat3x3::MulTV(), Nodes, pEMF, pH, pRefNode, STLVectorHandler::Put(), q, qP, R, ExtModalForceBase::Send(), uFlags, x, xP, and Zero3.
Implements Elem.
Definition at line 269 of file modalmappingext.cc.
References ExtForce::COUPLING_NONE, ExtForce::iCoupling, Nodes, and pRefNode.
Referenced by AssRes().
|
protected |
Definition at line 50 of file modalmappingext.h.
|
protected |
Definition at line 52 of file modalmappingext.h.
Referenced by Recv().
|
protected |
Definition at line 51 of file modalmappingext.h.
Referenced by Recv().
|
protected |
Definition at line 75 of file modalmappingext.h.
Referenced by ModalMappingExt(), and Recv().
|
protected |
Definition at line 71 of file modalmappingext.h.
|
protected |
Definition at line 72 of file modalmappingext.h.
|
protected |
Definition at line 73 of file modalmappingext.h.
|
protected |
Definition at line 71 of file modalmappingext.h.
|
protected |
Definition at line 72 of file modalmappingext.h.
|
protected |
Definition at line 73 of file modalmappingext.h.
|
protected |
Definition at line 68 of file modalmappingext.h.
Referenced by AssRes(), GetConnectedNodes(), ModalMappingExt(), Output(), Recv(), Send(), and WorkSpaceDim().
|
protected |
Definition at line 76 of file modalmappingext.h.
Referenced by ModalMappingExt(), Output(), and Recv().
|
protected |
Definition at line 48 of file modalmappingext.h.
Referenced by Prepare(), Recv(), Send(), and ~ModalMappingExt().
|
protected |
Definition at line 57 of file modalmappingext.h.
Referenced by Prepare(), Recv(), Send(), and ~ModalMappingExt().
|
protected |
Definition at line 54 of file modalmappingext.h.
Referenced by AssRes(), GetConnectedNodes(), Output(), Recv(), Send(), and WorkSpaceDim().
|
protected |
Definition at line 80 of file modalmappingext.h.
Referenced by ModalMappingExt(), Output(), and Send().
|
protected |
Definition at line 81 of file modalmappingext.h.
Referenced by ModalMappingExt(), Output(), and Send().
|
protected |
Definition at line 49 of file modalmappingext.h.
Referenced by AssRes(), ModalMappingExt(), Output(), Prepare(), Recv(), and Send().
|
protected |
Definition at line 78 of file modalmappingext.h.
Referenced by ModalMappingExt(), Output(), and Send().
|
protected |
Definition at line 79 of file modalmappingext.h.
Referenced by ModalMappingExt(), Output(), and Send().