handle granular specific pair style flags consistently and make sure they are never accessed uninitialized

This commit is contained in:
Axel Kohlmeyer 2019-03-28 11:46:04 -04:00
parent 03ee03c043
commit 3cc740b9d3
No known key found for this signature in database
GPG Key ID: D9B44E93BF0C375A
2 changed files with 3 additions and 2 deletions

View File

@ -26,8 +26,6 @@ namespace LAMMPS_NS {
class PairGranHookeHistory : public Pair {
public:
int nondefault_history_transfer;
PairGranHookeHistory(class LAMMPS *);
virtual ~PairGranHookeHistory();
virtual void compute(int, int);

View File

@ -100,6 +100,9 @@ Pair::Pair(LAMMPS *lmp) : Pointers(lmp)
num_tally_compute = 0;
list_tally_compute = NULL;
nondefault_history_transfer = 0;
beyond_contact = 0;
// KOKKOS per-fix data masks
execution_space = Host;