diff --git a/src/EVPFFT/src/write_micro_state.cpp b/src/EVPFFT/src/write_micro_state.cpp index 22f6deaf9..4120b5702 100644 --- a/src/EVPFFT/src/write_micro_state.cpp +++ b/src/EVPFFT/src/write_micro_state.cpp @@ -505,7 +505,7 @@ void EVPFFT::write_micro_state_pvtu() for (int jj = 1; jj <= 3; jj++) { dum += defgradavg(ii,jj)*xtmp[jj-1]; } - xintp(ii,kx,ky,kz) = dum; + xintp(ii,kx,ky,kz) = dum*delt(ii); } }); // end FOR_ALL_CLASS Kokkos::fence(); diff --git a/src/LS-EVPFFT/src/evpfft.cpp b/src/LS-EVPFFT/src/evpfft.cpp index fa98dbb84..7b08c4e0c 100644 --- a/src/LS-EVPFFT/src/evpfft.cpp +++ b/src/LS-EVPFFT/src/evpfft.cpp @@ -424,7 +424,7 @@ void EVPFFT::init_defgrad() { for (int ii = 1; ii <= 3; ii++) { defgradavg(jj,ii) = 0.0; } - defgradavg(jj,jj) = delt(jj); + defgradavg(jj,jj) = 1.0; } }); // end FOR_ALL_CLASS diff --git a/src/LS-EVPFFT/src/write_micro_state.cpp b/src/LS-EVPFFT/src/write_micro_state.cpp index c04b8e6fc..b86b70ab2 100644 --- a/src/LS-EVPFFT/src/write_micro_state.cpp +++ b/src/LS-EVPFFT/src/write_micro_state.cpp @@ -599,7 +599,7 @@ void EVPFFT::write_micro_state_pvtu() for (int jj = 1; jj <= 3; jj++) { dum += defgradavg_dual(ii,jj)*xtmp[jj-1]; } - xintp(ii,kx,ky,kz) = dum + ufintp(ii,kx,ky,kz); + xintp(ii,kx,ky,kz) = (dum + ufintp(ii,kx,ky,kz))*delt(ii); } }); // end FOR_ALL_CLASS Kokkos::fence();