diff --git a/src/USER-SPH/pair_sph_heatconduction.cpp b/src/USER-SPH/pair_sph_heatconduction.cpp index 2eacb71cf2..5f2f3b9002 100644 --- a/src/USER-SPH/pair_sph_heatconduction.cpp +++ b/src/USER-SPH/pair_sph_heatconduction.cpp @@ -26,8 +26,9 @@ using namespace LAMMPS_NS; /* ---------------------------------------------------------------------- */ -PairSPHHeatConduction::PairSPHHeatConduction(LAMMPS *lmp) : - Pair(lmp) { +PairSPHHeatConduction::PairSPHHeatConduction(LAMMPS *lmp) : Pair(lmp) +{ + restartinfo = 0; } /* ---------------------------------------------------------------------- */ diff --git a/src/USER-SPH/pair_sph_idealgas.cpp b/src/USER-SPH/pair_sph_idealgas.cpp index a477ed0602..f18cceacd8 100644 --- a/src/USER-SPH/pair_sph_idealgas.cpp +++ b/src/USER-SPH/pair_sph_idealgas.cpp @@ -26,8 +26,9 @@ using namespace LAMMPS_NS; /* ---------------------------------------------------------------------- */ -PairSPHIdealGas::PairSPHIdealGas(LAMMPS *lmp) : - Pair(lmp) { +PairSPHIdealGas::PairSPHIdealGas(LAMMPS *lmp) : Pair(lmp) +{ + restartinfo = 0; } /* ---------------------------------------------------------------------- */ diff --git a/src/USER-SPH/pair_sph_lj.cpp b/src/USER-SPH/pair_sph_lj.cpp index 4d73ef03f8..e25e1857d8 100644 --- a/src/USER-SPH/pair_sph_lj.cpp +++ b/src/USER-SPH/pair_sph_lj.cpp @@ -26,8 +26,9 @@ using namespace LAMMPS_NS; /* ---------------------------------------------------------------------- */ -PairSPHLJ::PairSPHLJ(LAMMPS *lmp) : - Pair(lmp) { +PairSPHLJ::PairSPHLJ(LAMMPS *lmp) : Pair(lmp) +{ + restartinfo = 0; } /* ---------------------------------------------------------------------- */ diff --git a/src/USER-SPH/pair_sph_rhosum.cpp b/src/USER-SPH/pair_sph_rhosum.cpp index f022e6dc40..3985297dd8 100644 --- a/src/USER-SPH/pair_sph_rhosum.cpp +++ b/src/USER-SPH/pair_sph_rhosum.cpp @@ -29,8 +29,9 @@ using namespace LAMMPS_NS; /* ---------------------------------------------------------------------- */ -PairSPHRhoSum::PairSPHRhoSum(LAMMPS *lmp) : - Pair(lmp) { +PairSPHRhoSum::PairSPHRhoSum(LAMMPS *lmp) : Pair(lmp) +{ + restartinfo = 0; // set comm size needed by this Pair diff --git a/src/USER-SPH/pair_sph_taitwater.cpp b/src/USER-SPH/pair_sph_taitwater.cpp index 86723dd4c8..d709d4cc9b 100644 --- a/src/USER-SPH/pair_sph_taitwater.cpp +++ b/src/USER-SPH/pair_sph_taitwater.cpp @@ -26,8 +26,9 @@ using namespace LAMMPS_NS; /* ---------------------------------------------------------------------- */ -PairSPHTaitwater::PairSPHTaitwater(LAMMPS *lmp) : - Pair(lmp) { +PairSPHTaitwater::PairSPHTaitwater(LAMMPS *lmp) : Pair(lmp) +{ + restartinfo = 0; first = 1; } diff --git a/src/USER-SPH/pair_sph_taitwater_morris.cpp b/src/USER-SPH/pair_sph_taitwater_morris.cpp index d1092cf6e1..1a4dc70cf7 100644 --- a/src/USER-SPH/pair_sph_taitwater_morris.cpp +++ b/src/USER-SPH/pair_sph_taitwater_morris.cpp @@ -26,9 +26,9 @@ using namespace LAMMPS_NS; /* ---------------------------------------------------------------------- */ -PairSPHTaitwaterMorris::PairSPHTaitwaterMorris(LAMMPS *lmp) : - Pair(lmp) { - +PairSPHTaitwaterMorris::PairSPHTaitwaterMorris(LAMMPS *lmp) : Pair(lmp) +{ + restartinfo = 0; first = 1; }