forked from lijiext/lammps
handle granular specific pair style flags consistently and make sure they are never accessed uninitialized
This commit is contained in:
parent
03ee03c043
commit
3cc740b9d3
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue