Quick question of atom->nlocal, nghost, nall

Dear all,

Is atom->nall equal to atom->nlocal + atom->nghost? Or atom->nall is the maximum nlocal+nghost among processes?

Thanks

Dear all,

Is atom->nall equal to atom->nlocal + atom->nghost? Or atom->nall is the
maximum nlocal+nghost among processes?

there is no atom->nall. only atom->nlocal, atom->nghost and
atom->nmax. see atom.h

atom->nmax is indeed the maximum of atom->nlocal + atom->nghost that
has occured so far during the simulation.

axel.

1 Like