Added changes to other FixNH variants (just KOKKOS, in this case)

This commit is contained in:
Aidan Thompson 2018-12-14 18:27:34 -07:00
parent 4f38878cf4
commit 24e2d4bb49
1 changed files with 4 additions and 1 deletions

View File

@ -269,7 +269,10 @@ void FixNHKokkos<DeviceType>::final_integrate()
//atomKK->sync(pressure->execution_space,pressure->datamask_read);
//atomKK->modified(pressure->execution_space,pressure->datamask_modify);
if (pstyle == ISO) pressure->compute_scalar();
else pressure->compute_vector();
else {
temperature->compute_vector();
pressure->compute_vector();
}
couple();
pressure->addstep(update->ntimestep+1);
}