use symbolic constants Comm::BRICK / Comm::TILED for Comm::style

This commit is contained in:
Axel Kohlmeyer
2022-10-27 07:03:25 -04:00
parent e6b67683aa
commit 5824534ac6
16 changed files with 46 additions and 51 deletions

View File

@ -94,7 +94,7 @@ FixBalance::FixBalance(LAMMPS *lmp, int narg, char **arg) :
}
}
if (lbstyle == BISECTION && comm->style == 0)
if (lbstyle == BISECTION && comm->style == Comm::BRICK)
error->all(FLERR,"Fix balance rcb cannot be used with comm_style brick");
// create instance of Balance class