#include "msmpot_internal.h"
Go to the source code of this file.
Defines | |
#define | USE_BIN_HASHING |
Functions | |
int | Msmpot_compute (Msmpot *msm, 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_longrng (Msmpot *msm) |
int | bin_evaluation (Msmpot *msm) |
int | Msmpot_compute_shortrng_bins (Msmpot *msm) |
int | Msmpot_compute_shortrng_bin_neighborhood (Msmpot *msm, float rx, float ry, float rz) |
int | Msmpot_compute_shortrng_bin_hashing (Msmpot *msm) |
int | linklist_hashing (Msmpot *msm, const float *atom, int natoms) |
int | linklist_evaluation (Msmpot *msm, const float *atom) |
int | Msmpot_compute_shortrng_linklist (Msmpot *msm, const float *atom, int natoms) |
|
Definition at line 34 of file msmpot_compute.c. |
|
Definition at line 458 of file msmpot_compute.c. References Msmpot_t::a, ATOM_SIZE, Msmpot_t::bin, Msmpot_t::bincount, Msmpot_t::bindepth, Msmpot_t::boff, Msmpot_t::dx, Msmpot_t::dy, Msmpot_t::dz, Msmpot_t::epotmap, Msmpot_t::invbx, Msmpot_t::invby, Msmpot_t::invbz, IS_SET_X, IS_SET_Y, IS_SET_Z, Msmpot_t::isperiodic, Msmpot_t::lx0, Msmpot_t::ly0, Msmpot_t::lz0, MSMPOT_SUCCESS, Msmpot_t::mx, Msmpot_t::my, Msmpot_t::mz, n, Msmpot_t::nboff, Msmpot_t::nbx, Msmpot_t::nby, Msmpot_t::nbz, Msmpot_t::px, Msmpot_t::py, Msmpot_t::pz, Msmpot_t::split, SPOLY, and z. Referenced by Msmpot_compute_shortrng_bins. |
|
Definition at line 704 of file msmpot_compute.c. References Msmpot_t::a, ATOM_Q, ATOM_X, ATOM_Y, ATOM_Z, Msmpot_t::dx, Msmpot_t::dy, Msmpot_t::dz, Msmpot_t::epotmap, Msmpot_t::first_atom_index, IS_SET_X, IS_SET_Y, IS_SET_Z, Msmpot_t::isperiodic, Msmpot_t::lx, Msmpot_t::lx0, Msmpot_t::ly, Msmpot_t::ly0, Msmpot_t::lz, Msmpot_t::lz0, MSMPOT_SUCCESS, Msmpot_t::mx, Msmpot_t::my, Msmpot_t::mz, n, Msmpot_t::nbx, Msmpot_t::nby, Msmpot_t::nbz, Msmpot_t::next_atom_index, NULL, Msmpot_t::px, Msmpot_t::py, Msmpot_t::pz, Msmpot_t::split, SPOLY, and z. Referenced by Msmpot_compute_shortrng_linklist. |
|
Definition at line 629 of file msmpot_compute.c. References ATOM_Q, ATOM_X, ATOM_Y, ATOM_Z, Msmpot_t::first_atom_index, Msmpot_t::invbx, Msmpot_t::invby, Msmpot_t::invbz, IS_SET_X, IS_SET_Y, IS_SET_Z, Msmpot_t::isperiodic, MSMPOT_SUCCESS, n, Msmpot_t::nbx, Msmpot_t::nby, Msmpot_t::nbz, Msmpot_t::next_atom_index, Msmpot_t::px0, Msmpot_t::py0, Msmpot_t::pz0, and z. Referenced by Msmpot_compute_shortrng_linklist. |
|
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. References Msmpot_t::atom, Msmpot_t::dx, Msmpot_t::dy, Msmpot_t::dz, Msmpot_t::epotmap, ERROR, Msmpot_t::isperiodic, Msmpot_t::lx, Msmpot_t::lx0, Msmpot_t::ly, Msmpot_t::ly0, Msmpot_t::lz, Msmpot_t::lz0, Msmpot_check_params, Msmpot_compute_longrng, Msmpot_compute_shortrng_bins, Msmpot_compute_shortrng_linklist, Msmpot_cuda_compute_shortrng, Msmpot_setup, MSMPOT_SUCCESS, Msmpot_t::mx, Msmpot_t::my, Msmpot_t::mz, Msmpot_t::natoms, Msmpot_t::px, Msmpot_t::py, Msmpot_t::pz, REPORT, SET_X, SET_Y, and SET_Z. Referenced by VolMapCreateCoulombPotentialMSM::compute_frame. |
|
Definition at line 139 of file msmpot_compute.c. References ERRMSG, ERROR, Msmpot_t::interp, Msmpot_compute_longrng_cubic, MSMPOT_ERROR_SUPPORT, MSMPOT_INTERP_CUBIC, and MSMPOT_SUCCESS. |
|
Definition at line 351 of file msmpot_compute.c. References ASSERT, Msmpot_t::atom, ATOM_Q, ATOM_SIZE, ATOM_X, ATOM_Y, ATOM_Z, Msmpot_t::bin, bin, Msmpot_t::bincount, Msmpot_t::bindepth, ERROR, Msmpot_t::invbx, Msmpot_t::invby, Msmpot_t::invbz, IS_SET_X, IS_SET_Y, IS_SET_Z, Msmpot_t::isperiodic, Msmpot_t::maxover, MSMPOT_ERROR_ASSERT, MSMPOT_ERROR_MALLOC, MSMPOT_SUCCESS, n, Msmpot_t::natoms, Msmpot_t::nbx, Msmpot_t::nby, Msmpot_t::nbz, Msmpot_t::nover, NULL, Msmpot_t::over, Msmpot_t::px, Msmpot_t::px0, Msmpot_t::py, Msmpot_t::py0, Msmpot_t::pz, Msmpot_t::pz0, and z. |
|
Definition at line 218 of file msmpot_compute.c. References Msmpot_t::a, Msmpot_t::boff, Msmpot_t::bx, Msmpot_t::by, Msmpot_t::bz, ERROR, Msmpot_t::invbx, Msmpot_t::invby, Msmpot_t::invbz, Msmpot_t::maxboff, MSMPOT_ERROR_MALLOC, MSMPOT_SUCCESS, Msmpot_t::nboff, and NULL. |
|
Definition at line 167 of file msmpot_compute.c. References bin_evaluation, Msmpot_t::bx, Msmpot_t::by, Msmpot_t::bz, ERROR, Msmpot_compute_shortrng_bin_hashing, Msmpot_compute_shortrng_bin_neighborhood, Msmpot_compute_shortrng_linklist, MSMPOT_SUCCESS, Msmpot_t::nover, Msmpot_t::over, and REPORT. |
|
Definition at line 608 of file msmpot_compute.c. References ERROR, linklist_evaluation, linklist_hashing, MSMPOT_SUCCESS, and REPORT. |