Uncomment Kokkos code
This commit is contained in:
@ -399,11 +399,11 @@ void ModifyKokkos::energy_atom(int nlocal, double *energy)
|
|||||||
int i,j;
|
int i,j;
|
||||||
double *eatom;
|
double *eatom;
|
||||||
|
|
||||||
//for (i = 0; i < n_energy_atom; i++) {
|
for (i = 0; i < n_energy_atom; i++) {
|
||||||
// eatom = fix[list_energy_atom[i]]->eatom;
|
eatom = fix[list_energy_atom[i]]->eatom;
|
||||||
// if (!eatom) continue;
|
if (!eatom) continue;
|
||||||
// for (j = 0; j < nlocal; j++) energy[j] += eatom[j];
|
for (j = 0; j < nlocal; j++) energy[j] += eatom[j];
|
||||||
//}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* ----------------------------------------------------------------------
|
/* ----------------------------------------------------------------------
|
||||||
|
|||||||
Reference in New Issue
Block a user