#include <limits.h>
Go to the source code of this file.
Classes | |
struct | IMDEnergies |
Defines | |
#define | SimTK_MOLMODEL_EXPORT |
Typedefs | |
typedef short | int32 |
typedef enum IMDType_t | IMDType |
IMD command message type enumerations. | |
Enumerations | |
enum | IMDType_t { IMD_DISCONNECT, IMD_ENERGIES, IMD_FCOORDS, IMD_GO, IMD_HANDSHAKE, IMD_KILL, IMD_MDCOMM, IMD_PAUSE, IMD_TRATE, IMD_IOERROR } |
Functions | |
int | imd_disconnect (void *) |
leave sim running but close IMD | |
int | imd_pause (void *) |
pause simulation | |
int | imd_kill (void *) |
kill simulation, shutdown IMD | |
int | imd_handshake (void *) |
check endianness, version compat | |
int | imd_trate (void *, int32) |
set IMD update transmission rate | |
int | imd_send_mdcomm (void *, int32, const int32 *, const float *) |
Send MDComm compatible forces, units are Kcal/mol/angstrom. | |
int | imd_send_energies (void *, const IMDEnergies *) |
Send energies. | |
int | imd_send_fcoords (void *, int32, const float *) |
Send atom forces and coordinates, units are Kcal/mol/angstrom. | |
int | imd_recv_handshake (void *) |
recv_handshake returns 0 if server and client have the same relative endianism; returns 1 if they have opposite endianism, and -1 if there was an error in the handshake process. | |
IMDType | imd_recv_header (void *, int32 *) |
Receive header and data. | |
int | imd_recv_mdcomm (void *, int32, int32 *, float *) |
Receive MDComm-style forces, units are Kcal/mol/angstrom. | |
int | imd_recv_energies (void *, IMDEnergies *) |
Receive energies. | |
int | imd_recv_fcoords (void *, int32, float *) |
Receive atom coordinates and forces, units are Kcal/mol/angstrom. |
#define SimTK_MOLMODEL_EXPORT |
typedef short int32 |
enum IMDType_t |
int imd_disconnect | ( | void * | ) |
int imd_handshake | ( | void * | ) |
int imd_kill | ( | void * | ) |
kill simulation, shutdown IMD
int imd_pause | ( | void * | ) |
pause simulation
int imd_recv_energies | ( | void * | , | |
IMDEnergies * | ||||
) |
Receive energies.
int imd_recv_fcoords | ( | void * | , | |
int32 | , | |||
float * | ||||
) |
Receive atom coordinates and forces, units are Kcal/mol/angstrom.
int imd_recv_handshake | ( | void * | ) |
recv_handshake returns 0 if server and client have the same relative endianism; returns 1 if they have opposite endianism, and -1 if there was an error in the handshake process.
Receive MDComm-style forces, units are Kcal/mol/angstrom.
int imd_send_energies | ( | void * | , | |
const IMDEnergies * | ||||
) |
Send energies.
int imd_send_fcoords | ( | void * | , | |
int32 | , | |||
const float * | ||||
) |
Send atom forces and coordinates, units are Kcal/mol/angstrom.
Referenced by VmdConnection::sendCoordinates().
Send MDComm compatible forces, units are Kcal/mol/angstrom.
int imd_trate | ( | void * | , | |
int32 | ||||
) |
set IMD update transmission rate