must generate coulomb tables with pair style lj/class2/coul/long/gpu

This commit is contained in:
Axel Kohlmeyer
2020-02-14 15:34:12 -05:00
parent c23f164639
commit 0b57549f4c

View File

@ -170,6 +170,10 @@ void PairLJClass2CoulLongGPU::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;