Could you explain these meanings? 1. atom->tag, 2. atom->nlocal, 3.
5. list->numneigh, 6. list->firstneigh. 7. map[type[i]].
These variables are in the directory of src/pair_tersoff.cpp, and they are
in the definition of void PairTersoff :: compute(int eflag, int vflag)
please have a closer look at the code and the explanations of how
lammps is structured and does compute interactions with domain
decomposition and neighbor lists.
these are either the neighbor lists with offsets indicating "local"
and "ghost" atoms and their respective type numbers.
it may be simpler to figure this out by looking at the
PairLJCut class first.