Commit 0af9203f authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

remove useless and incorrect neighbor list request in fix qeq/comb/omp

parent c24fca61
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -70,17 +70,6 @@ void FixQEQCombOMP::init()

  ngroup = group->count(igroup);
  if (ngroup == 0) error->all(FLERR,"Fix qeq/comb group has no atoms");

  // determine status of neighbor flag of the omp package command
  int ifix = modify->find_fix("package_omp");
  int use_omp = 0;
  if (ifix >=0) {
     FixOMP * fix = static_cast<FixOMP *>(lmp->modify->fix[ifix]);
     if (fix->get_neighbor()) use_omp = 1;
  }

  int irequest = neighbor->request(this,instance_me);
  neighbor->requests[irequest]->omp = use_omp;
}

/* ---------------------------------------------------------------------- */