Cleanup
This commit is contained in:
@ -127,7 +127,7 @@ void FFT3dKokkos<DeviceType>::timing1d(typename FFT_AT::t_FFT_SCALAR_1d d_in, in
|
|||||||
in starting address of input data on this proc
|
in starting address of input data on this proc
|
||||||
out starting address of where output data for this proc
|
out starting address of where output data for this proc
|
||||||
will be placed (can be same as in)
|
will be placed (can be same as in)
|
||||||
flag 1 for forward FFT, -1 for inverse FFT
|
flag 1 for forward FFT, -1 for backward FFT
|
||||||
plan plan returned by previous call to fft_3d_create_plan
|
plan plan returned by previous call to fft_3d_create_plan
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
@ -805,7 +805,7 @@ void FFT3dKokkos<DeviceType>::bifactor(int n, int *factor1, int *factor2)
|
|||||||
Arguments:
|
Arguments:
|
||||||
in starting address of input data on this proc, all set to 0.0
|
in starting address of input data on this proc, all set to 0.0
|
||||||
nsize size of in
|
nsize size of in
|
||||||
flag 1 for forward FFT, -1 for inverse FFT
|
flag 1 for forward FFT, -1 for backward FFT
|
||||||
plan plan returned by previous call to fft_3d_create_plan
|
plan plan returned by previous call to fft_3d_create_plan
|
||||||
------------------------------------------------------------------------- */
|
------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
|||||||
@ -1693,7 +1693,7 @@ void PPPMKokkos<DeviceType>::poisson_ik()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// compute gradients of V(r) in each of 3 dims by transformimg -ik*V(k)
|
// compute gradients of V(r) in each of 3 dims by transforming ik*V(k)
|
||||||
// FFT leaves data in 3d brick decomposition
|
// FFT leaves data in 3d brick decomposition
|
||||||
// copy it into inner portion of vdx,vdy,vdz arrays
|
// copy it into inner portion of vdx,vdy,vdz arrays
|
||||||
|
|
||||||
@ -1868,7 +1868,7 @@ void PPPMKokkos<DeviceType>::poisson_ik_triclinic()
|
|||||||
{
|
{
|
||||||
// int i,j,k,n;
|
// int i,j,k,n;
|
||||||
//
|
//
|
||||||
// // compute gradients of V(r) in each of 3 dims by transformimg -ik*V(k)
|
// // compute gradients of V(r) in each of 3 dims by transforming ik*V(k)
|
||||||
// // FFT leaves data in 3d brick decomposition
|
// // FFT leaves data in 3d brick decomposition
|
||||||
// // copy it into inner portion of vdx,vdy,vdz arrays
|
// // copy it into inner portion of vdx,vdy,vdz arrays
|
||||||
//
|
//
|
||||||
|
|||||||
@ -2059,7 +2059,7 @@ void PPPM::poisson_ik()
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// compute gradients of V(r) in each of 3 dims by transformimg ik*V(k)
|
// compute gradients of V(r) in each of 3 dims by transforming ik*V(k)
|
||||||
// FFT leaves data in 3d brick decomposition
|
// FFT leaves data in 3d brick decomposition
|
||||||
// copy it into inner portion of vdx,vdy,vdz arrays
|
// copy it into inner portion of vdx,vdy,vdz arrays
|
||||||
|
|
||||||
@ -2135,7 +2135,7 @@ void PPPM::poisson_ik_triclinic()
|
|||||||
{
|
{
|
||||||
int i,j,k,n;
|
int i,j,k,n;
|
||||||
|
|
||||||
// compute gradients of V(r) in each of 3 dims by transformimg ik*V(k)
|
// compute gradients of V(r) in each of 3 dims by transforming ik*V(k)
|
||||||
// FFT leaves data in 3d brick decomposition
|
// FFT leaves data in 3d brick decomposition
|
||||||
// copy it into inner portion of vdx,vdy,vdz arrays
|
// copy it into inner portion of vdx,vdy,vdz arrays
|
||||||
|
|
||||||
|
|||||||
@ -1194,7 +1194,7 @@ void PPPMDisp::compute(int eflag, int vflag)
|
|||||||
if (evflag_atom) fieldforce_none_peratom();
|
if (evflag_atom) fieldforce_none_peratom();
|
||||||
}
|
}
|
||||||
|
|
||||||
// update qsum and qsqsum,if atom count has changed and energy needed
|
// update qsum and qsqsum, if atom count has changed and energy needed
|
||||||
|
|
||||||
if ((eflag_global || eflag_atom) && atom->natoms != natoms_original) {
|
if ((eflag_global || eflag_atom) && atom->natoms != natoms_original) {
|
||||||
qsum_qsq();
|
qsum_qsq();
|
||||||
|
|||||||
Reference in New Issue
Block a user