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


Public Types | |
| enum | SendWhen { SEND_FIRST_TIME, SEND_REGULAR, SEND_AFTER_CONVERGENCE } |
| enum | Negotiate { NEGOTIATE_NO, NEGOTIATE_CLIENT, NEGOTIATE_SERVER } |
| enum | OutputFlags { OUTPUT_KIN = 0x1000, OUTPUT_DYN = 0x2000, OUTPUT_REF = 0x4000, OUTPUT_REF_KIN = (OUTPUT_REF | OUTPUT_KIN), OUTPUT_REF_DYN = (OUTPUT_REF | OUTPUT_DYN) } |
Public Member Functions | |
| ExtFileHandlerBase (mbsleep_t SleepTime, std::streamsize Precision) | |
| virtual | ~ExtFileHandlerBase (void) |
| virtual bool | Prepare_pre (void)=0 |
| virtual Negotiate | NegotiateRequest (void) const |
| virtual void | Prepare_post (bool ok)=0 |
| virtual void | AfterPredict (void)=0 |
| virtual bool | Send_pre (SendWhen when)=0 |
| virtual void | Send_post (SendWhen when)=0 |
| virtual bool | Recv_pre (void)=0 |
| virtual bool | Recv_post (void)=0 |
| virtual std::ostream * | GetOutStream (void) |
| virtual std::istream * | GetInStream (void) |
| virtual int | GetOutFileDes (void) |
| virtual int | GetSendFlags (void) const |
| virtual int | GetInFileDes (void) |
| virtual int | GetRecvFlags (void) const |
Protected Attributes | |
| std::streamsize | Precision |
| mbsleep_t | SleepTime |
| bool | bOK |
Definition at line 51 of file extforce.h.
| Enumerator | |
|---|---|
| NEGOTIATE_NO | |
| NEGOTIATE_CLIENT | |
| NEGOTIATE_SERVER | |
Definition at line 59 of file extforce.h.
| Enumerator | |
|---|---|
| OUTPUT_KIN | |
| OUTPUT_DYN | |
| OUTPUT_REF | |
| OUTPUT_REF_KIN | |
| OUTPUT_REF_DYN | |
Definition at line 65 of file extforce.h.
| Enumerator | |
|---|---|
| SEND_FIRST_TIME | |
| SEND_REGULAR | |
| SEND_AFTER_CONVERGENCE | |
Definition at line 53 of file extforce.h.
| ExtFileHandlerBase::ExtFileHandlerBase | ( | mbsleep_t | SleepTime, |
| std::streamsize | Precision | ||
| ) |
|
virtual |
Definition at line 57 of file extforce.cc.
References NO_OP.
|
pure virtual |
Implemented in ExtFileHandler, and ExtFileHandlerEDGE.
Referenced by ExtForce::AfterPredict().
|
virtual |
Definition at line 99 of file extforce.cc.
References MBDYN_EXCEPT_ARGS.
Referenced by StructExtForce::Prepare(), StructMappingExtForce::Prepare(), ExtModalForce::Prepare(), StructExtForce::Recv(), StructMappingExtForce::Recv(), and ExtModalForce::Recv().
|
virtual |
Reimplemented in ExtFileHandler, and ExtFileHandlerEDGE.
Definition at line 78 of file extforce.cc.
Referenced by StructExtForce::Prepare(), StructMappingExtForce::Prepare(), ExtModalForce::Prepare(), ExtRigidForceEDGE::Recv(), ExtModalForceEDGE::Recv(), StructExtForce::Recv(), StructMappingExtForce::Recv(), and ExtModalForce::Recv().
|
virtual |
Definition at line 85 of file extforce.cc.
References MBDYN_EXCEPT_ARGS.
Referenced by StructExtForce::Prepare(), StructMappingExtForce::Prepare(), ExtModalForce::Prepare(), StructExtForce::Send(), StructMappingExtForce::Send(), and ExtModalForce::Send().
|
virtual |
Reimplemented in ExtFileHandler, and ExtFileHandlerEDGE.
Definition at line 72 of file extforce.cc.
Referenced by StructExtForce::Prepare(), StructMappingExtForce::Prepare(), ExtModalForce::Prepare(), ExtRigidForceEDGE::Send(), ExtModalForceEDGE::Send(), StructExtForce::Send(), StructMappingExtForce::Send(), ExtModalForce::Send(), and StructExtForce::StructExtForce().
|
virtual |
Definition at line 106 of file extforce.cc.
References MBDYN_EXCEPT_ARGS.
Referenced by StructExtForce::Prepare(), StructMappingExtForce::Prepare(), ExtModalForce::Prepare(), ExtModalForce::Recv(), StructMappingExtForce::RecvFromFileDes(), and StructMembraneMappingExtForce::RecvFromFileDes().
|
virtual |
Definition at line 92 of file extforce.cc.
References MBDYN_EXCEPT_ARGS.
Referenced by StructExtForce::Prepare(), StructMappingExtForce::Prepare(), ExtModalForce::Prepare(), and ExtModalForce::Send().
|
virtual |
Definition at line 63 of file extforce.cc.
References NEGOTIATE_NO.
Referenced by StructExtForce::Prepare(), StructMappingExtForce::Prepare(), and ExtModalForce::Prepare().
|
pure virtual |
Implemented in ExtFileHandler, and ExtFileHandlerEDGE.
Referenced by ExtForce::SetValue().
|
pure virtual |
Implemented in ExtFileHandler, and ExtFileHandlerEDGE.
Referenced by ExtForce::SetValue().
|
pure virtual |
Implemented in ExtFileHandler, and ExtFileHandlerEDGE.
Referenced by ExtForce::Recv().
|
pure virtual |
Implemented in ExtFileHandler, and ExtFileHandlerEDGE.
Referenced by ExtForce::Recv().
|
pure virtual |
Implemented in ExtFileHandler, and ExtFileHandlerEDGE.
Referenced by ExtForce::Send().
Implemented in ExtFileHandler, and ExtFileHandlerEDGE.
Referenced by ExtForce::Send().
|
protected |
Definition at line 77 of file extforce.h.
Referenced by ExtFileHandler::Recv_pre().
|
protected |
Definition at line 75 of file extforce.h.
Referenced by ExtFileHandlerEDGE::Send_pre(), and ExtFileHandler::Send_pre().
|
protected |
Definition at line 76 of file extforce.h.
Referenced by ExtFileHandlerEDGE::CheckFlag(), ExtFileHandlerEDGE::Recv_pre(), ExtFileHandler::Recv_pre(), ExtFileHandlerEDGE::Send_pre(), and ExtFileHandler::Send_pre().