From c8a544cbaed8f7e693c1fa9d7c1121a91efee2b5 Mon Sep 17 00:00:00 2001 From: sjplimp Date: Tue, 25 Oct 2011 15:30:10 +0000 Subject: [PATCH] git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@7190 f3b2605a-c512-4ea7-a41b-209d697bcdaa --- src/USER-SPH/pair_sph_heatconduction.cpp | 5 +++-- src/USER-SPH/pair_sph_idealgas.cpp | 5 +++-- src/USER-SPH/pair_sph_lj.cpp | 5 +++-- src/USER-SPH/pair_sph_rhosum.cpp | 5 +++-- src/USER-SPH/pair_sph_taitwater.cpp | 5 +++-- src/USER-SPH/pair_sph_taitwater_morris.cpp | 6 +++--- 6 files changed, 18 insertions(+), 13 deletions(-) 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; }