NAMD
|
#include <PmeKSpace.h>
Public Member Functions | |
PmeKSpace (PmeGrid grid, int K2_start, int K2_end, int K3_start, int K3_end) | |
~PmeKSpace () | |
double | compute_energy (float q_arr[], const Lattice &lattice, double ewald, double virial[], int useCkLoop) |
double | compute_energy_orthogonal_helper (float q_arr[], const Lattice &lattice, double ewald, double virial[]) |
void | compute_energy_orthogonal_subset (float q_arr[], double *recips, double partialVirial[], double *partialEnergy, int k1from, int k1to) |
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.
Definition at line 16 of file PmeKSpace.h.
PmeKSpace::PmeKSpace | ( | PmeGrid | grid, |
int | K2_start, | ||
int | K2_end, | ||
int | K3_start, | ||
int | K3_end | ||
) |
Definition at line 63 of file PmeKSpace.C.
References compute_b_moduli(), PmeGrid::K1, PmeGrid::K2, PmeGrid::K3, PmeGrid::order, and order.
PmeKSpace::~PmeKSpace | ( | ) |
Definition at line 125 of file PmeKSpace.C.
double PmeKSpace::compute_energy | ( | float | q_arr[], |
const Lattice & | lattice, | ||
double | ewald, | ||
double | virial[], | ||
int | useCkLoop | ||
) |
Definition at line 321 of file PmeKSpace.C.
References Lattice::a(), Lattice::a_r(), Lattice::b(), Lattice::b_r(), Lattice::c(), Lattice::c_r(), compute_energy_orthogonal_helper(), PmeGrid::K1, PmeGrid::K2, PmeGrid::K3, Vector::length(), M_PI, Lattice::orthogonal(), Vector::unit(), Lattice::volume(), Vector::x, Vector::y, and Vector::z.
Referenced by ComputePmeMgr::gridCalc2R(), and PmeXPencil::pme_kspace().
double PmeKSpace::compute_energy_orthogonal_helper | ( | float | q_arr[], |
const Lattice & | lattice, | ||
double | ewald, | ||
double | virial[] | ||
) |
Definition at line 240 of file PmeKSpace.C.
References Lattice::a_r(), ALLOCA, Lattice::b_r(), Lattice::c_r(), compute_energy_orthogonal_ckloop(), PmeGrid::K1, PmeGrid::K2, PmeGrid::K3, M_PI, Lattice::volume(), Vector::x, Vector::y, and Vector::z.
Referenced by compute_energy().
void PmeKSpace::compute_energy_orthogonal_subset | ( | float | q_arr[], |
double * | recips, | ||
double | partialVirial[], | ||
double * | partialEnergy, | ||
int | k1from, | ||
int | k1to | ||
) |
Definition at line 135 of file PmeKSpace.C.
References PmeGrid::K1, PmeGrid::K2, and PmeGrid::K3.
Referenced by compute_energy_orthogonal_ckloop().