Fix issue with peratom energy/virial in pair_snap_kokkos
This commit is contained in:
@ -66,7 +66,10 @@ PairSNAPKokkos<DeviceType>::PairSNAPKokkos(LAMMPS *lmp) : PairSNAP(lmp)
|
||||
template<class DeviceType>
|
||||
PairSNAPKokkos<DeviceType>::~PairSNAPKokkos()
|
||||
{
|
||||
//if (copymode) return;
|
||||
if (copymode) return;
|
||||
|
||||
memoryKK->destroy_kokkos(k_eatom,eatom);
|
||||
memoryKK->destroy_kokkos(k_vatom,vatom);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user