force initialization

This commit is contained in:
Axel Kohlmeyer
2024-08-23 00:09:41 -04:00
parent f6d0d91e2b
commit d8329b30e1

View File

@ -33,6 +33,7 @@ enum { CONSTANT, VARIABLE };
RegCylinder::RegCylinder(LAMMPS *lmp, int narg, char **arg) :
Region(lmp, narg, arg), c1str(nullptr), c2str(nullptr), rstr(nullptr)
{
c1style = c2style = CONSTANT;
options(narg - 8, &arg[8]);
// check open face settings