add suffix_flag settings to GPU package styles

This commit is contained in:
Axel Kohlmeyer
2020-01-10 15:29:53 -05:00
parent 7b8498fab6
commit f073a64549
56 changed files with 112 additions and 1 deletions

View File

@ -35,6 +35,7 @@
#include "domain.h"
#include "gpu_extra.h"
#include "math_special.h"
#include "suffix.h"
using namespace LAMMPS_NS;
using namespace MathSpecial;
@ -68,6 +69,7 @@ PairBeckGPU::PairBeckGPU(LAMMPS *lmp) : PairBeck(lmp), gpu_mode(GPU_FORCE)
respa_enable = 0;
reinitflag = 0;
cpu_time = 0.0;
suffix_flag |= Suffix::GPU;
GPU_EXTRA::gpu_ready(lmp->modify, lmp->error);
}