forked from lijiext/lammps
Fix issue with peratom energy/virial in pair_snap_kokkos
This commit is contained in:
parent
92e2df74c1
commit
d7d087ae67
|
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue