Commit b76c7ddc authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

correct some incorrect writedata and single_enable settings

parent d1255ab5
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -46,7 +46,6 @@ using namespace LAMMPS_NS;

PairILPGrapheneHBN::PairILPGrapheneHBN(LAMMPS *lmp) : Pair(lmp)
{
  writedata = 1;
  restartinfo = 0;

  // initialize element to parameter maps
+0 −2
Original line number Diff line number Diff line
@@ -46,8 +46,6 @@ using namespace LAMMPS_NS;

PairKolmogorovCrespiFull::PairKolmogorovCrespiFull(LAMMPS *lmp) : Pair(lmp)
{
  writedata = 1;

  // initialize element to parameter maps
  nelements = 0;
  elements = NULL;
+442 −442
Original line number Diff line number Diff line
@@ -42,7 +42,7 @@ using namespace LAMMPS_NS;

PairKolmogorovCrespiZ::PairKolmogorovCrespiZ(LAMMPS *lmp) : Pair(lmp)
{
  writedata = 1;
  single_enable = 0;
  restartinfo = 0;

  // initialize element to parameter maps
+1 −0
Original line number Diff line number Diff line
@@ -68,6 +68,7 @@ static int srp_instance = 0;
PairSRP::PairSRP(LAMMPS *lmp) : Pair(lmp)
{
  writedata = 1;
  single_enable = 0;

  if (lmp->citeme) lmp->citeme->add(cite_srp);