a couple more updates to use the new API

This commit is contained in:
Axel Kohlmeyer
2025-01-09 19:30:34 -05:00
parent 12b6b797b8
commit 195f8a9670
3 changed files with 5 additions and 5 deletions

View File

@ -58,7 +58,7 @@ Dump::Dump(LAMMPS *lmp, int /*narg*/, char **arg) :
id = utils::strdup(arg[0]);
igroup = group->find(arg[1]);
groupbit = group->bitmask[igroup];
groupbit = group->get_bitmask_by_id(FLERR, arg[1], fmt::format("dump {}", arg[2]));
style = utils::strdup(arg[2]);
@ -311,6 +311,7 @@ void Dump::init()
int Dump::count()
{
// group all
if (igroup == 0) return atom->nlocal;
int *mask = atom->mask;