Unverified Commit 9bff4315 authored by Axel Kohlmeyer's avatar Axel Kohlmeyer
Browse files

make sure coulomb tables are initialized in all coul/long GPU pair styles

parent 0b57549f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -177,6 +177,10 @@ void PairBornCoulLongGPU::init_style()
    error->all(FLERR,"Pair style requires a KSpace style");
  g_ewald = force->kspace->g_ewald;

  // setup force tables

  if (ncoultablebits) init_tables(cut_coul,cut_respa);

  int maxspecial=0;
  if (atom->molecular)
    maxspecial=atom->maxspecial;
+4 −0
Original line number Diff line number Diff line
@@ -173,6 +173,10 @@ void PairBuckCoulLongGPU::init_style()
    error->all(FLERR,"Pair style requires a KSpace style");
  g_ewald = force->kspace->g_ewald;

  // setup force tables

  if (ncoultablebits) init_tables(cut_coul,cut_respa);

  int maxspecial=0;
  if (atom->molecular)
    maxspecial=atom->maxspecial;