Go to the source code of this file.
Typedefs | |
typedef Msmpot_t | Msmpot |
typedef enum MsmpotRetcode_t | MsmpotRetcode |
Return codes for Msmpot library calls. More... | |
Enumerations | |
enum | { MSMPOT_INTERP_CUBIC = 0, MSMPOT_INTERP_QUINTIC, MSMPOT_INTERP_QUINTIC2, MSMPOT_INTERP_SEPTIC, MSMPOT_INTERP_SEPTIC3, MSMPOT_INTERP_NONIC, MSMPOT_INTERP_NONIC4, MSMPOT_INTERPMAX } |
enum | { MSMPOT_SPLIT_TAYLOR2 = 0, MSMPOT_SPLIT_TAYLOR3, MSMPOT_SPLIT_TAYLOR4, MSMPOT_SPLIT_TAYLOR5, MSMPOT_SPLIT_TAYLOR6, MSMPOT_SPLIT_TAYLOR7, MSMPOT_SPLIT_TAYLOR8, MSMPOT_SPLITMAX } |
enum | MsmpotRetcode_t { MSMPOT_SUCCESS = 0, MSMPOT_ERROR_ASSERT, MSMPOT_ERROR_MALLOC, MSMPOT_ERROR_PARAM, MSMPOT_ERROR_SUPPORT, MSMPOT_ERROR_CUDA_DEVREQ, MSMPOT_ERROR_CUDA_MALLOC, MSMPOT_ERROR_CUDA_MEMCPY, MSMPOT_ERROR_CUDA_KERNEL, MSMPOT_ERROR_CUDA_SUPPORT, MSMPOT_ERROR_UNKNOWN } |
Functions | |
Msmpot * | Msmpot_create (void) |
Constructor. More... | |
void | Msmpot_destroy (Msmpot *) |
Destructor. More... | |
int | Msmpot_compute (Msmpot *pm, float *epotmap, int mx, int my, int mz, float lx, float ly, float lz, float x0, float y0, float z0, float vx, float vy, float vz, const float *atom, int natoms) |
Calculate the electrostatic potential map for the provided array of charged atoms. The result is stored in epotmap . Returns MSMPOT_SUCCESS for success or nonzero error code indicating failure. More... | |
int | Msmpot_compute_exact (Msmpot *pm, float *epotmap, int mx, int my, int mz, float lx, float ly, float lz, float x0, float y0, float z0, float vx, float vy, float vz, const float *atom, int natoms) |
Calculate the exact electrostatic potential map for the provided array of charged atoms. The result is stored in epotmap . Returns MSMPOT_SUCCESS for success or nonzero error code indicating failure. More... | |
int | Msmpot_use_cuda (Msmpot *, const int *devlist, int listlen, int cuda_optional) |
const char * | Msmpot_error_string (int retcode) |
int | Msmpot_configure (Msmpot *, int interp, int split, float cutoff, float hmin, int nlevels, float density, float binfill, float errtol, int usecuda) |
Definition in file msmpot.h.
|
Private MSM data structure |
|
Return codes for Msmpot library calls.
Zero is success, nonzero is failure. |
|
|
|
|
|
|
Calculate the electrostatic potential map for the provided array of charged atoms. The result is stored in
Definition at line 36 of file msmpot_compute.c. |
|
Calculate the exact electrostatic potential map for the provided array of charged atoms. The result is stored in The parameters are identical to Msmpot_compute().
Referenced by VolMapCreateCoulombPotentialMSM::compute_frame. |
|
Definition at line 75 of file msmpot_setup.c. |
|
Constructor.
|
|
Destructor.
Definition at line 84 of file msmpot.c. Referenced by VolMapCreateCoulombPotentialMSM::compute_frame, and Msmpot_create. |
|
Definition at line 41 of file msmpot.c. References MSMPOT_INTERP_CUBIC, MSMPOT_INTERP_NONIC, MSMPOT_INTERP_NONIC4, MSMPOT_INTERP_QUINTIC, MSMPOT_INTERP_QUINTIC2, MSMPOT_INTERP_SEPTIC, MSMPOT_INTERP_SEPTIC3, and MSMPOT_INTERPMAX. Referenced by VolMapCreateCoulombPotentialMSM::compute_frame. |
|
|