use symbolic constants Comm::BRICK / Comm::TILED for Comm::style
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user