#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.
[static]
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.
[static]
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.
[static]
Definition at line 236 of file py_imd.C.
References IMDMgr::connected, get_vmdapp, VMDApp::imdMgr, NULL, and result.
[static]
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.
[static]
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.
[static]
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.
[static]
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.
[static]
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.
[static]
Definition at line 251 of file py_imd.C.
References IMDMgr::connected, get_vmdapp, VMDApp::imd_sendforces, VMDApp::imdMgr, n, NULL, and result.
[static]
Initial value:
"Connect to an IMD server\n\n" "Args:\n" " host (str): Server hostname\n" " port (int): Port running IMD server"
[static]
Initial value:
"Query if an IMD connection exists\n\n" "Returns:\n" " (bool): True if a connection exists, False otherwise"
[static]
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"
[static]
[static]
Initial value:
"Methods for controlling interactive molecular dynamics simulations"
Definition at line 321 of file py_imd.C.
Referenced by initimd.
[static]
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"
[static]
Initial value:
"Halt a running IMD simulation. Also detaches."
[static]
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.
[static]
[static]
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"
[static]
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"