Added interpolation timing for the cpu version

This commit is contained in:
Trung Nguyen
2022-09-14 16:11:43 -05:00
parent cd3a00c2c4
commit 0359d40580

View File

@ -940,9 +940,16 @@ void PairAmoeba::umutual1(double **field, double **fieldp)
double ****gridpost = (double ****) ic_kspace->post_convolution();
// get potential
double time0, time1;
MPI_Barrier(world);
time0 = MPI_Wtime();
fphi_uind(gridpost,fdip_phi1,fdip_phi2,fdip_sum_phi);
time1 = MPI_Wtime();
time_fphi_uind += (time1 - time0);
// store fractional reciprocal potentials for OPT method
if (poltyp == OPT) {