Replace Atom::count_words with utils::count_words

This commit is contained in:
Richard Berger
2020-05-15 16:18:24 -04:00
parent db46521d64
commit 4a2d3e95cb
56 changed files with 135 additions and 150 deletions

View File

@ -44,6 +44,7 @@
#include "memory.h"
#include "error.h"
#include "math_const.h"
#include "utils.h"
using namespace LAMMPS_NS;
using namespace MathConst;
@ -159,7 +160,7 @@ Thermo::Thermo(LAMMPS *lmp, int narg, char **arg) : Pointers(lmp)
// allocate per-field memory
// process line of keywords
nfield_initial = atom->count_words(line);
nfield_initial = utils::count_words(line);
allocate();
parse_fields(line);