diff --git a/src/pair.cpp b/src/pair.cpp index cc8e0f2551..174e845465 100644 --- a/src/pair.cpp +++ b/src/pair.cpp @@ -1486,8 +1486,11 @@ void Pair::write_file(int narg, char **arg) // initialize potentials before evaluating pair potential // insures all pair coeffs are set and force constants + // also initialize neighbor so that neighbor requests are processed + // NOTE: might be safest to just do lmp->init() force->init(); + neighbor->init(); // if pair style = any of EAM, swap in dummy fp vector