79 Vec3& f,
Vec3& m, std::vector<doublereal>& fv) = 0;
94 const std::vector<doublereal>& q,
95 const std::vector<doublereal>& qP) = 0;
112 Vec3& f,
Vec3& m, std::vector<doublereal>& fv);
117 const std::vector<doublereal>& q,
118 const std::vector<doublereal>& qP);
122 RecvFromStream(std::istream& inf,
unsigned uFlags,
unsigned& uLabel,
123 Vec3& f,
Vec3& m, std::vector<doublereal>& fv);
125 RecvFromFileDes(
int infd,
int recv_flags,
unsigned uFlags,
unsigned& uLabel,
126 Vec3& f,
Vec3& m, std::vector<doublereal>& fv);
129 SendToStream(std::ostream& outf,
unsigned uFlags,
unsigned uLabel,
131 const std::vector<doublereal>& q,
132 const std::vector<doublereal>& qP);
134 SendToFileDes(
int outfd,
int send_flags,
unsigned uFlags,
unsigned uLabel,
136 const std::vector<doublereal>& q,
137 const std::vector<doublereal>& qP);
154 std::vector<doublereal>
f;
157 std::vector<doublereal>
q;
158 std::vector<doublereal>
qP;
208 unsigned int uLabel);
std::vector< doublereal > f
ModalExt(unsigned int uL, DataManager *pDM, const Modal *pmodal, const StructNode *pnode, bool bOutputAccelerations, ExtFileHandlerBase *pEFH, ExtModalForceBase *pEMF, bool bSendAfterPredict, int iCoupling, ExtModalForceBase::BitMask bm, flag fOut)
virtual ~ExtModalForce(void)
virtual void Send(ExtFileHandlerBase *pEFH, unsigned uFlags, unsigned uLabel, const Vec3 &x, const Mat3x3 &R, const Vec3 &v, const Vec3 &w, const std::vector< doublereal > &q, const std::vector< doublereal > &qP)
virtual ~ExtModalForceBase(void)
virtual void SendToFileDes(int outfd, int send_flags, unsigned uFlags, unsigned uLabel, const Vec3 &x, const Mat3x3 &R, const Vec3 &v, const Vec3 &w, const std::vector< doublereal > &q, const std::vector< doublereal > &qP)
SubVectorHandler & AssRes(SubVectorHandler &WorkVec, doublereal dCoef, const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
virtual bool Prepare(ExtFileHandlerBase *pEFH, unsigned uLabel, bool bRigid, unsigned uModes)=0
bool Prepare(ExtFileHandlerBase *pEFH)
virtual void Output(OutputHandler &OH) const
Elem * ReadModalExtForce(DataManager *pDM, MBDynParser &HP, unsigned int uLabel)
virtual void GetConnectedNodes(std::vector< const Node * > &connectedNodes) const
std::vector< doublereal > qP
virtual bool Prepare(ExtFileHandlerBase *pEFH, unsigned uLabel, bool bRigid, unsigned uModes)
virtual unsigned RecvFromStream(std::istream &inf, unsigned uFlags, unsigned &uLabel, Vec3 &f, Vec3 &m, std::vector< doublereal > &fv)
virtual unsigned RecvFromFileDes(int infd, int recv_flags, unsigned uFlags, unsigned &uLabel, Vec3 &f, Vec3 &m, std::vector< doublereal > &fv)
virtual void SendToStream(std::ostream &outf, unsigned uFlags, unsigned uLabel, const Vec3 &x, const Mat3x3 &R, const Vec3 &v, const Vec3 &w, const std::vector< doublereal > &q, const std::vector< doublereal > &qP)
ExtFileHandlerBase * pEFH
virtual unsigned Recv(ExtFileHandlerBase *pEFH, unsigned uFlags, unsigned &uLabel, Vec3 &f, Vec3 &m, std::vector< doublereal > &fv)
virtual unsigned Recv(ExtFileHandlerBase *pEFH, unsigned uFlags, unsigned &uLabel, Vec3 &f, Vec3 &m, std::vector< doublereal > &fv)=0
bool bOutputAccelerations
void Send(ExtFileHandlerBase *pEFH, ExtFileHandlerBase::SendWhen when)
virtual Force::Type GetForceType(void) const
void WorkSpaceDim(integer *piNumRows, integer *piNumCols) const
std::vector< doublereal > q
virtual void Send(ExtFileHandlerBase *pEFH, unsigned uFlags, unsigned uLabel, const Vec3 &x, const Mat3x3 &R, const Vec3 &v, const Vec3 &w, const std::vector< doublereal > &q, const std::vector< doublereal > &qP)=0