#include "py_commands.h"
#include "CmdIMD.h"
#include "CommandQueue.h"
#include "VMDApp.h"
#include "MoleculeList.h"
#include "IMDMgr.h"
Go to the source code of this file.
Functions | |
PyObject * | py_imdconnect (PyObject *self, PyObject *args, PyObject *kwargs) |
PyObject * | py_imdpause (PyObject *self, PyObject *args) |
PyObject * | py_imddetach (PyObject *self, PyObject *args) |
PyObject * | py_imdkill (PyObject *self, PyObject *args) |
PyObject * | py_imdtransfer (PyObject *self, PyObject *args, PyObject *kwargs) |
PyObject * | py_imdkeep (PyObject *self, PyObject *args, PyObject *kwargs) |
PyObject * | py_copyunitcell (PyObject *self, PyObject *args, PyObject *kwargs) |
PyObject * | py_imdconnected (PyObject *self, PyObject *args) |
PyObject * | py_sendforces (PyObject *self, PyObject *args, PyObject *kwargs) |
PyObject * | initimd () |
Variables | |
const char | connect_doc [] |
const char | pause_doc [] |
const char | detach_doc [] |
const char | kill_doc [] |
const char | transfer_doc [] |
const char | keep_doc [] |
const char | copy_doc [] |
const char | connected_doc [] |
const char | sendforces_doc [] |
PyMethodDef | methods [] |
const char | imd_moddoc [] |
|
Definition at line 336 of file py_imd.C. References imd_moddoc, and methods. |
|
Definition at line 209 of file py_imd.C. References CmdIMDCopyUnitCell::CmdIMDCopyUnitCellCommand, VMDApp::commandQueue, CmdIMDCopyUnitCell::COPYCELL_OFF, CmdIMDCopyUnitCell::COPYCELL_ON, get_vmdapp, VMDApp::imdMgr, NULL, CommandQueue::runcommand, and IMDMgr::set_copyunitcell. |
|
Definition at line 36 of file py_imd.C. References IMDMgr::connected, get_vmdapp, BaseMolecule::id, VMDApp::imd_connect, VMDApp::imdMgr, VMDApp::moleculeList, NULL, and MoleculeList::top. |
|
Definition at line 236 of file py_imd.C. References IMDMgr::connected, get_vmdapp, VMDApp::imdMgr, NULL, and result. |
|
Definition at line 94 of file py_imd.C. References VMDApp::commandQueue, IMDMgr::connected, CmdIMDSim::DETACH, IMDMgr::detach, get_vmdapp, VMDApp::imdMgr, NULL, and CommandQueue::runcommand. |
|
Definition at line 176 of file py_imd.C. References as_int, as_pyint, VMDApp::commandQueue, IMDMgr::get_keep_rate, get_vmdapp, VMDApp::imdMgr, CmdIMDRate::KEEP, NULL, CommandQueue::runcommand, and IMDMgr::set_keep_rate. |
|
Definition at line 114 of file py_imd.C. References VMDApp::commandQueue, IMDMgr::connected, get_vmdapp, VMDApp::imdMgr, CmdIMDSim::KILL, IMDMgr::kill, NULL, and CommandQueue::runcommand. |
|
Definition at line 74 of file py_imd.C. References VMDApp::commandQueue, IMDMgr::connected, get_vmdapp, VMDApp::imdMgr, NULL, CmdIMDSim::PAUSE_TOGGLE, CommandQueue::runcommand, and IMDMgr::togglepause. |
|
Definition at line 139 of file py_imd.C. References as_int, as_pyint, VMDApp::commandQueue, IMDMgr::get_trans_rate, get_vmdapp, VMDApp::imdMgr, NULL, CommandQueue::runcommand, IMDMgr::set_trans_rate, and CmdIMDRate::TRANSFER. |
|
Definition at line 251 of file py_imd.C. References IMDMgr::connected, get_vmdapp, VMDApp::imd_sendforces, VMDApp::imdMgr, n, NULL, and result. |
|
Initial value: "Connect to an IMD server\n\n" "Args:\n" " host (str): Server hostname\n" " port (int): Port running IMD server" |
|
Initial value: "Query if an IMD connection exists\n\n" "Returns:\n" " (bool): True if a connection exists, False otherwise" |
|
Initial value: "Set if unit cell information should be copied from previous frame\n\n" "Args:\n" " copy (bool): If cell information should be copied" |
|
Initial value: "Detach from a running IMD simulation" |
|
Initial value: "Methods for controlling interactive molecular dynamics simulations" Definition at line 321 of file py_imd.C. Referenced by initimd. |
|
Initial value: "Get and/or set how often timesteps are saved.\n\n" "Args:\n" " rate (int): Save frequency, or None to query. Rate must be greater than\n" " or equal to 0\n" "Returns:\n" " (int): Updated save frequency" |
|
Initial value: "Halt a running IMD simulation. Also detaches." |
|
Initial value: { {"connected", (PyCFunction)py_imdconnected, METH_NOARGS, connected_doc}, {"connect", (PyCFunction)py_imdconnect, METH_VARARGS | METH_KEYWORDS, connect_doc}, {"pause", (PyCFunction)py_imdpause, METH_NOARGS, pause_doc}, {"detach", (PyCFunction)py_imddetach, METH_NOARGS, detach_doc}, {"kill", (PyCFunction)py_imdkill, METH_NOARGS, kill_doc}, {"transfer", (PyCFunction)py_imdtransfer, METH_VARARGS | METH_KEYWORDS, transfer_doc}, {"keep", (PyCFunction)py_imdkeep, METH_VARARGS | METH_KEYWORDS, keep_doc}, {"copyunitcell", (PyCFunction)py_copyunitcell, METH_VARARGS | METH_KEYWORDS, copy_doc}, {"sendforces", (PyCFunction)py_sendforces, METH_VARARGS | METH_KEYWORDS, sendforces_doc}, {NULL, NULL} } Definition at line 307 of file py_imd.C. Referenced by initimd. |
|
Initial value: "Pause a running IMD simulation" |
|
Initial value: "Send forces to connected MD engine\n\n" "Args:\n" " indices (list of ints): Atomic indices to which forces will be applied\n" " forces (flat nx3 list): forces that will be applied to the individual atoms\n" |
|
Initial value: "Get and/or set how often timesteps are sent to the IMD server\n\n" "Args:\n" " rate (int): New transfer rate, or None to query. Rate must be greater\n" " than 0\n" "Returns:\n" " (int): Updated transfer rate" |