157 ESCmd u2cmd(
unsigned u)
const;
161 ExtSocketHandler(UseSocket *pUS,
mbsleep_t SleepTime,
162 int recv_flags,
int send_flags);
163 virtual ~ExtSocketHandler(
void);
171 virtual bool Send_pre(SendWhen when);
277 bool& bSendAfterPredict,
285 std::streamsize& Precision);
virtual bool Send_pre(SendWhen when)
virtual std::ostream * GetOutStream(void)
virtual SubVectorHandler & InitialAssRes(SubVectorHandler &WorkVec, const VectorHandler &XCurr)
virtual std::istream * GetInStream(void)
virtual void AfterPredict(void)=0
virtual int GetInFileDes(void)
virtual int GetOutFileDes(void)
virtual void Prepare_post(bool ok)
virtual bool Recv_post(void)
virtual ~ExtFileHandlerBase(void)
ExtFileHandlerBase(mbsleep_t SleepTime, std::streamsize Precision)
void ReadExtForce(DataManager *pDM, MBDynParser &HP, unsigned int uLabel, ExtFileHandlerBase *&pEFH, bool &bSendAfterPredict, int &iCoupling)
ExtFileHandler(std::string &fin, bool bRemoveIn, std::string &fout, bool bNoClobberOut, mbsleep_t SleepTime, std::streamsize Precision)
std::vector< Hint * > Hints
virtual bool Recv_pre(void)=0
virtual std::istream * GetInStream(void)
ExtForce(unsigned int uL, DataManager *pDM, ExtFileHandlerBase *pEFH, bool bSendAfterPredict, int iCoupling, flag fOut)
virtual Negotiate NegotiateRequest(void) const
virtual ~ExtFileHandler(void)
virtual bool Prepare_pre(void)
virtual bool Prepare(ExtFileHandlerBase *pEFH)=0
virtual bool Send_pre(SendWhen when)=0
void Send(ExtFileHandlerBase::SendWhen when)
virtual int GetRecvFlags(void) const
ExtFileHandlerBase * pEFH
virtual void SetValue(DataManager *pDM, VectorHandler &X, VectorHandler &XP, SimulationEntity::Hints *h=0)
std::streamsize Precision
static const char * cmd2str(int cmd)
void ReadExtFileParams(DataManager *pDM, MBDynParser &HP, unsigned int uLabel, mbsleep_t &SleepTime, std::streamsize &Precision)
virtual std::ostream * GetOutStream(void)
virtual bool Recv_post(void)=0
virtual void Send_post(SendWhen when)
virtual bool Prepare_pre(void)=0
virtual void InitialWorkSpaceDim(integer *piNumRows, integer *piNumCols) const
virtual void Send_post(SendWhen when)=0
virtual bool Recv_pre(void)
virtual void Prepare_post(bool ok)=0
virtual int GetSendFlags(void) const
virtual void Update(const VectorHandler &XCurr, const VectorHandler &XPrimeCurr)
virtual void AfterPredict(void)
virtual VariableSubMatrixHandler & InitialAssJac(VariableSubMatrixHandler &WorkMat, const VectorHandler &XCurr)
virtual void AfterPredict(VectorHandler &X, VectorHandler &XP)
virtual void AfterConvergence(const VectorHandler &X, const VectorHandler &XP)