git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@12976 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp 2015-01-20 23:17:25 +00:00
parent b3a0ee76a0
commit 600f264675
1 changed files with 3 additions and 4 deletions

View File

@ -72,7 +72,6 @@ using namespace MathConst;
#define LARGE 10000.0 #define LARGE 10000.0
#define EPS_HOC 1.0e-7 #define EPS_HOC 1.0e-7
void printArray(double* data,int nx, int ny, int nz) void printArray(double* data,int nx, int ny, int nz)
{ {
for(int i=0;i<nz;i++) for(int i=0;i<nz;i++)
@ -685,9 +684,9 @@ void PPPMCuda::compute(int eflag, int vflag)
domain->x2lamda(atom->nlocal); domain->x2lamda(atom->nlocal);
} }
// extend size of per-atom arrays if necessary // extend size of PPPM per-atom arrays if necessary
// force update of device data, if arrays resized or charges changed // force update of device data, if arrays resized
// NOTE: also need to test for q changed ??
if (cu_atom->update_nmax || old_nmax == 0) { if (cu_atom->update_nmax || old_nmax == 0) {
memory->destroy(part2grid); memory->destroy(part2grid);