MBDyn-1.7.3
|
#include <strmappingext.h>
Classes | |
struct | NodeConnData |
Public Member Functions | |
StructMembraneMappingExtForce (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, std::vector< NodeConnData > &NodesConn, SpMapMatrixHandler *pH, std::vector< uint32_t > &MappedLabels, bool bLabels, bool bOutputAccelerations, unsigned uRRot, ExtFileHandlerBase *pEFH, bool bSendAfterPredict, int iCoupling, flag fOut) | |
virtual | ~StructMembraneMappingExtForce (void) |
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 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) | |
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 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 | |
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 StructMappingExtForce | |
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 | |
std::vector< NodeConnData > | NodesConn |
Protected Attributes inherited from WithLabel | |
unsigned int | uLabel |
std::string | sName |
Protected Attributes inherited from ToBeOutput | |
flag | fOutput |
Protected Attributes inherited from StructMappingExtForce | |
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 ExtForce | |
Converged | c |
ExtFileHandlerBase * | pEFH |
bool | bSendAfterPredict |
int | iCoupling |
int | iCouplingCounter |
bool | bFirstSend |
bool | bFirstRecv |
Definition at line 151 of file strmappingext.h.
StructMembraneMappingExtForce::StructMembraneMappingExtForce | ( | 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, | ||
std::vector< NodeConnData > & | NodesConn, | ||
SpMapMatrixHandler * | pH, | ||
std::vector< uint32_t > & | MappedLabels, | ||
bool | bLabels, | ||
bool | bOutputAccelerations, | ||
unsigned | uRRot, | ||
ExtFileHandlerBase * | pEFH, | ||
bool | bSendAfterPredict, | ||
int | iCoupling, | ||
flag | fOut | ||
) |
Definition at line 1149 of file strmappingext.cc.
References StructMappingExtForce::Nodes, and NodesConn.
|
virtual |
Definition at line 1181 of file strmappingext.cc.
References NO_OP.
|
protectedvirtual |
Reimplemented from StructMappingExtForce.
Definition at line 1628 of file strmappingext.cc.
References StructMappingExtForce::bLabels, buf, StructMappingExtForce::F0, WithLabel::GetLabel(), StructNode::GetRCurr(), ExtFileHandlerBase::GetRecvFlags(), labels, StructMappingExtForce::M0, StructMappingExtForce::m_f, StructMappingExtForce::m_p, StructMappingExtForce::m_qlabels, MatrixHandler::MatTVecMul(), MBDYN_EXCEPT_ARGS, StructMappingExtForce::Nodes, NodesConn, ExtForce::pEFH, StructMappingExtForce::pH, StructMappingExtForce::pRefNode, and Zero3.
|
protectedvirtual |
Reimplemented from StructMappingExtForce.
Definition at line 1575 of file strmappingext.cc.
References StructMappingExtForce::bLabels, StructMappingExtForce::F0, WithLabel::GetLabel(), StructMappingExtForce::M0, MBC_ROT_NONE, MBDYN_EXCEPT_ARGS, StructMappingExtForce::Nodes, Vec3::pGetVec(), StructMappingExtForce::pRefNode, and StructMappingExtForce::uRRot.
|
protectedvirtual |
Reimplemented from StructMappingExtForce.
Definition at line 1361 of file strmappingext.cc.
References StructMappingExtForce::bLabels, StructMappingExtForce::bOutputAccelerations, Vec3::Cross(), dRaDegr, WithLabel::GetLabel(), StructNode::GetRCurr(), StructDispNode::GetVCurr(), StructNode::GetWCurr(), StructNode::GetWPCurr(), StructDispNode::GetXCurr(), StructDispNode::GetXPPCurr(), StructMappingExtForce::m_q, StructMappingExtForce::m_qlabels, StructMappingExtForce::m_qP, StructMappingExtForce::m_qPP, StructMappingExtForce::m_x, StructMappingExtForce::m_xP, StructMappingExtForce::m_xPP, MatR2EulerAngles123(), MatrixHandler::MatVecMul(), MBC_ROT_EULER_123, MBC_ROT_MAT, MBC_ROT_THETA, MBDYN_EXCEPT_ARGS, Mat3x3::MulTV(), StructMappingExtForce::Nodes, NodesConn, Vec3::Norm(), Mat3x3::pGetMat(), Vec3::pGetVec(), StructMappingExtForce::pH, StructMappingExtForce::pRefNode, STLVectorHandler::Put(), R, StructMappingExtForce::uRRot, and RotManip::VecRot().
|
protectedvirtual |
Reimplemented from StructMappingExtForce.
Definition at line 1190 of file strmappingext.cc.
References a, StructMappingExtForce::bLabels, StructMappingExtForce::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(), StructMappingExtForce::Nodes, StructMappingExtForce::pRefNode, R, and RotManip::VecRot().
|
protected |
Definition at line 160 of file strmappingext.h.
Referenced by RecvFromFileDes(), SendToFileDes(), and StructMembraneMappingExtForce().