|
NAMD
|
#include <LjPmeMgr.h>
Public Member Functions | |
| LjPmeMgr () | |
| ~LjPmeMgr () | |
| void | initialize (const SimParameters *simParams, const int nAtoms) |
| void | computeLongRange (const double *ljPmeCoord, const Lattice &lattice, const double &alphaLJ, double *force, double &energy, double virial[][3], bool doEnergy) |
| void | optimizeFFT () |
| void | setScaledCoordinates (const double *refPos, const Lattice &lattice) |
| void | gridCalculation (const double &alpha, const Lattice &lattice) |
| double | selfCompute (const double &alphaLJ) |
Definition at line 48 of file LjPmeMgr.h.
|
inline |
Definition at line 50 of file LjPmeMgr.h.
| LjPmeMgr::~LjPmeMgr | ( | ) |
Definition at line 69 of file LjPmeMgr.C.
| void LjPmeMgr::computeLongRange | ( | const double * | ljPmeCoord, |
| const Lattice & | lattice, | ||
| const double & | alphaLJ, | ||
| double * | force, | ||
| double & | energy, | ||
| double | virial[][3], | ||
| bool | doEnergy | ||
| ) |
Definition at line 157 of file LjPmeMgr.C.
References LjPmeRealSpace::compute_scaledForces(), LjPmeGrid::dim3, LjPmeRealSpace::fill_charges(), gridCalculation(), selfCompute(), and setScaledCoordinates().
Referenced by LjPmeCompute::computeLJpotential().
| void LjPmeMgr::gridCalculation | ( | const double & | alpha, |
| const Lattice & | lattice | ||
| ) |
Calculates and return the self-energy term for LJ-PME
Definition at line 250 of file LjPmeMgr.C.
References LjPmeKSpace::compute_energy(), LjPmeGrid::dim2, LjPmeGrid::dim3, LjPmeGrid::K1, LjPmeGrid::K2, and NAMD_die().
Referenced by computeLongRange().
| void LjPmeMgr::initialize | ( | const SimParameters * | simParams, |
| const int | nAtoms | ||
| ) |
Calculate and add force and energy for reciprocal LJ-PME
Copyright (c) 1995, 1996, 1997, 1998, 1999, 2000 by The Board of Trustees of the University of Illinois. All rights reserved.
Definition at line 14 of file LjPmeMgr.C.
References LjPmeGrid::block1, LjPmeGrid::block2, LjPmeGrid::dim2, LjPmeGrid::dim3, LjPmeGrid::K1, LjPmeGrid::K2, LjPmeGrid::K3, NAMD_die(), optimizeFFT(), LjPmeGrid::order, and simParams.
Referenced by LjPmeCompute::initialize().
| void LjPmeMgr::optimizeFFT | ( | ) |
Store the charge and scaled coordinates into dataArr buffer
Definition at line 87 of file LjPmeMgr.C.
References LjPmeGrid::dim2, LjPmeGrid::dim3, endi(), iINFO(), iout, LjPmeGrid::K1, LjPmeGrid::K2, LjPmeGrid::K3, and NAMD_die().
Referenced by initialize().
| double LjPmeMgr::selfCompute | ( | const double & | alphaLJ | ) |
Definition at line 323 of file LjPmeMgr.C.
Referenced by computeLongRange().
| void LjPmeMgr::setScaledCoordinates | ( | const double * | refPos, |
| const Lattice & | lattice | ||
| ) |
Definition at line 201 of file LjPmeMgr.C.
References Lattice::a_r(), Lattice::b_r(), Lattice::c_r(), LjPmeGrid::K1, LjPmeGrid::K2, LjPmeGrid::K3, LjPmeGrid::order, Lattice::origin(), Vector::x, Vector::y, and Vector::z.
Referenced by computeLongRange().
1.8.14