Unverified Commit a3f7d041 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

no need to overload Pair::init_style() when doing exactly the same in USER-CGDNA styles

parent d684b705
Loading
Loading
Loading
Loading
+0 −14
Changes for src/USER-CGDNA/pair_oxdna2_coaxstk.cpp: 0 added lines, 14 removed lines.
Original line number Diff line number Diff line
@@ -676,20 +676,6 @@ void PairOxdna2Coaxstk::coeff(int narg, char **arg)

}

/* ----------------------------------------------------------------------
   init specific to this pair style
------------------------------------------------------------------------- */

void PairOxdna2Coaxstk::init_style()
{
  int irequest;

  // request regular neighbor lists

  irequest = neighbor->request(this,instance_me);

}

/* ----------------------------------------------------------------------
   neighbor callback to inform pair style of neighbor list to use regular
------------------------------------------------------------------------- */
+0 −1
Changes for src/USER-CGDNA/pair_oxdna2_coaxstk.h: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -31,7 +31,6 @@ class PairOxdna2Coaxstk : public Pair {
  virtual void compute(int, int);
  void settings(int, char **);
  void coeff(int, char **);
  void init_style();
  void init_list(int, class NeighList *);
  double init_one(int, int);
  void write_restart(FILE *);
+0 −13
Changes for src/USER-CGDNA/pair_oxdna2_dh.cpp: 0 added lines, 13 removed lines.
Original line number Diff line number Diff line
@@ -358,19 +358,6 @@ void PairOxdna2Dh::coeff(int narg, char **arg)
  if (count == 0) error->all(FLERR,"Incorrect args for pair coefficients in oxdna/dh");
}

/* ----------------------------------------------------------------------
   init specific to this pair style
------------------------------------------------------------------------- */

void PairOxdna2Dh::init_style()
{
  int irequest;

  // request regular neighbor lists

  irequest = neighbor->request(this,instance_me);
}

/* ----------------------------------------------------------------------
   neighbor callback to inform pair style of neighbor list to use regular
------------------------------------------------------------------------- */
+0 −1
Changes for src/USER-CGDNA/pair_oxdna2_dh.h: 0 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -32,7 +32,6 @@ class PairOxdna2Dh : public Pair {
  virtual void compute(int, int);
  void settings(int, char **);
  void coeff(int, char **);
  void init_style();
  void init_list(int, class NeighList *);
  double init_one(int, int);
  void write_restart(FILE *);
+0 −14
Changes for src/USER-CGDNA/pair_oxdna_coaxstk.cpp: 0 added lines, 14 removed lines.
Original line number Diff line number Diff line
@@ -822,20 +822,6 @@ void PairOxdnaCoaxstk::coeff(int narg, char **arg)

}

/* ----------------------------------------------------------------------
   init specific to this pair style
------------------------------------------------------------------------- */

void PairOxdnaCoaxstk::init_style()
{
  int irequest;

  // request regular neighbor lists

  irequest = neighbor->request(this,instance_me);

}

/* ----------------------------------------------------------------------
   neighbor callback to inform pair style of neighbor list to use regular
------------------------------------------------------------------------- */
Loading