#include "msmpot_internal.h"
Go to the source code of this file.
Defines | |
#define | OK MSMPOT_SUCCESS |
#define | USE_FACTORED_GRID_TRANSFERS |
Enumerations | |
enum | { R_STENCIL = 3, DIAM_STENCIL = 2*R_STENCIL + 1 } |
Functions | |
int | anterpolation (Msmpot *msm) |
int | interpolation_factored (Msmpot *msm) |
int | interpolation (Msmpot *msm) |
int | restriction (Msmpot *msm, int level) |
int | prolongation (Msmpot *msm, int level) |
int | latticecutoff (Msmpot *msm, int level) |
int | Msmpot_compute_longrng_cubic (Msmpot *msm) |
Variables | |
const float | PHI_FACTORED [DIAM_STENCIL] |
|
Definition at line 32 of file msmpot_cubic.c. Referenced by anterpolation, interpolation, interpolation_factored, latticecutoff, Msmpot_compute_longrng_cubic, prolongation, and restriction. |
|
Definition at line 40 of file msmpot_cubic.c. |
|
Definition at line 847 of file msmpot_cubic.c. |
|
Definition at line 150 of file msmpot_cubic.c. References ASSERT, Msmpot_t::atom, GRID_INDEX, GRID_INDEX_CHECK, GRID_ZERO, Msmpot_t::hx, Msmpot_t::hy, Msmpot_t::hz, IS_SET_ANY, Msmpot_t::isperiodic, Msmpot_t::lx0, Msmpot_t::ly0, Msmpot_t::lz0, n, Msmpot_t::natoms, OK, Msmpot_t::px0, Msmpot_t::py0, Msmpot_t::pz0, and Msmpot_t::qh. Referenced by Msmpot_compute_longrng_cubic. |
|
Definition at line 472 of file msmpot_cubic.c. References ASSERT, Msmpot_t::dx, Msmpot_t::dy, Msmpot_t::dz, Msmpot_t::eh, Msmpot_t::epotmap, GRID_INDEX, GRID_INDEX_CHECK, Msmpot_t::hx, Msmpot_t::hy, Msmpot_t::hz, IS_SET_ANY, Msmpot_t::isperiodic, Msmpot_t::lx0, Msmpot_t::ly0, Msmpot_t::lz0, Msmpot_t::mx, Msmpot_t::my, Msmpot_t::mz, OK, Msmpot_t::px0, Msmpot_t::py0, Msmpot_t::pz0, and z. Referenced by Msmpot_compute_longrng_cubic. |
|
Definition at line 315 of file msmpot_cubic.c. References Msmpot_t::cycle_x, Msmpot_t::cycle_y, Msmpot_t::cycle_z, Msmpot_t::eh, Msmpot_t::epotmap, Msmpot_t::eyzd, Msmpot_t::ezd, Msmpot_t::hx_dx, Msmpot_t::hy_dy, Msmpot_t::hz_dz, IS_SET_X, IS_SET_Y, IS_SET_Z, Msmpot_t::isperiodic, Msmpot_t::mx, Msmpot_t::my, Msmpot_t::mz, NULL, OK, Msmpot_t::phi_x, Msmpot_t::phi_y, Msmpot_t::phi_z, Msmpot_t::rmap_x, Msmpot_t::rmap_y, and Msmpot_t::rmap_z. Referenced by Msmpot_compute_longrng_cubic. |
|
Definition at line 1154 of file msmpot_cubic.c. References ASSERT, Msmpot_t::eh, Msmpot_t::gc, GRID_INDEX, GRID_INDEX_CHECK, IS_SET_X, IS_SET_Y, IS_SET_Z, Msmpot_t::isperiodic, OK, and Msmpot_t::qh. Referenced by Msmpot_compute_longrng_cubic. |
|
Definition at line 54 of file msmpot_cubic.c. References anterpolation, Msmpot_t::epotmap, ERROR, interpolation, interpolation_factored, latticecutoff, Msmpot_t::lx, Msmpot_t::ly, Msmpot_t::lz, Msmpot_cuda_compute_latcut, Msmpot_cuda_condense_qgrids, Msmpot_cuda_expand_egrids, Msmpot_t::nlevels, OK, prolongation, Msmpot_t::px, Msmpot_t::py, Msmpot_t::pz, REPORT, and restriction. |
|
Definition at line 1011 of file msmpot_cubic.c. References DIAM_STENCIL, Msmpot_t::eh, IS_SET_X, IS_SET_Y, IS_SET_Z, Msmpot_t::isperiodic, Msmpot_t::lyzd, Msmpot_t::lzd, NULL, OK, PHI_FACTORED, and R_STENCIL. Referenced by Msmpot_compute_longrng_cubic. |
|
Definition at line 857 of file msmpot_cubic.c. References DIAM_STENCIL, IS_SET_X, IS_SET_Y, IS_SET_Z, Msmpot_t::isperiodic, Msmpot_t::lyzd, Msmpot_t::lzd, NULL, OK, PHI_FACTORED, Msmpot_t::qh, and R_STENCIL. Referenced by Msmpot_compute_longrng_cubic. |
|
Initial value: { -0.0625f, 0, 0.5625f, 1, 0.5625f, 0, -0.0625f } Definition at line 852 of file msmpot_cubic.c. Referenced by prolongation, and restriction. |