#include <IMDSimBlocking.h>
Inheritance diagram for IMDSimBlocking:
Public Methods | |
IMDSimBlocking (const char *, int) | |
initialize with host and port. More... | |
virtual | ~IMDSimBlocking () |
virtual void | update () |
Check for available data from the socket. More... | |
virtual void | get_next_ts (float *, IMDEnergies *) |
Fetch last received coordinates and energies. Ask for both at the same time so that they at least have a chance of being in sync with each other. More... | |
virtual void | send_forces (int, int *, float *) |
virtual void | pause () |
virtual void | unpause () |
virtual void | detach () |
virtual void | kill () |
virtual void | set_transrate (int) |
Definition at line 29 of file IMDSimBlocking.h.
|
initialize with host and port.
Definition at line 28 of file IMDSimBlocking.C. References NULL. |
|
Definition at line 33 of file IMDSimBlocking.C. |
|
Reimplemented from IMDSim. Definition at line 123 of file IMDSimBlocking.C. References IMDSim::disconnect, imd_disconnect, IMDSim::IMDOFFLINE, IMDSim::isConnected, IMDSim::simstate, and IMDSim::sock. |
|
Fetch last received coordinates and energies. Ask for both at the same time so that they at least have a chance of being in sync with each other.
Implements IMDSim. Definition at line 89 of file IMDSimBlocking.C. References IMDSim::new_coords_ready, IMDSim::numcoords, and IMDSim::swap4_aligned. |
|
Reimplemented from IMDSim. Definition at line 131 of file IMDSimBlocking.C. References IMDSim::disconnect, imd_kill, IMDSim::IMDOFFLINE, IMDSim::isConnected, IMDSim::simstate, and IMDSim::sock. |
|
Reimplemented from IMDSim. Definition at line 109 of file IMDSimBlocking.C. References IMDSim::getSimState, imd_pause, IMDSim::IMDOFFLINE, IMDSim::IMDRUNNING, IMDSim::isConnected, IMDSim::simstate, and IMDSim::sock. |
|
Implements IMDSim. Definition at line 96 of file IMDSimBlocking.C. References IMDSim::disconnect, imd_send_mdcomm, IMDSim::isConnected, num, IMDSim::sock, and IMDSim::swap4_aligned. |
|
Reimplemented from IMDSim. Definition at line 139 of file IMDSimBlocking.C. References imd_trate, IMDSim::isConnected, and IMDSim::sock. |
|
Reimplemented from IMDSim. Definition at line 116 of file IMDSimBlocking.C. References IMDSim::getSimState, imd_pause, IMDSim::IMDPAUSED, IMDSim::IMDRUNNING, IMDSim::isConnected, IMDSim::simstate, and IMDSim::sock. |
|
Check for available data from the socket.
Reimplemented from IMDSim. Definition at line 37 of file IMDSimBlocking.C. References IMDSim::disconnect, IMD_ENERGIES, IMD_FCOORDS, IMD_IOERROR, IMD_MDCOMM, imd_recv_header, IMDType, IMDSim::isConnected, length, IMDSim::sock, and vmdsock_selread. |