apply clang-format
This commit is contained in:
@ -33,8 +33,9 @@ static constexpr double BIG = 1.0e20;
|
||||
|
||||
/* ---------------------------------------------------------------------- */
|
||||
|
||||
RegCone::RegCone(LAMMPS *lmp, int narg, char **arg) : Region(lmp, narg, arg), lo(0.0), hi(0.0),
|
||||
c1str(nullptr), c2str(nullptr), rlostr(nullptr), rhistr(nullptr), lostr(nullptr), histr(nullptr)
|
||||
RegCone::RegCone(LAMMPS *lmp, int narg, char **arg) :
|
||||
Region(lmp, narg, arg), lo(0.0), hi(0.0), c1str(nullptr), c2str(nullptr), rlostr(nullptr),
|
||||
rhistr(nullptr), lostr(nullptr), histr(nullptr)
|
||||
{
|
||||
options(narg - 9, &arg[9]);
|
||||
|
||||
@ -172,7 +173,6 @@ RegCone::RegCone(LAMMPS *lmp, int narg, char **arg) : Region(lmp, narg, arg), lo
|
||||
radiushi = xscale * utils::numeric(FLERR, arg[6], false, lmp);
|
||||
rhistyle = CONSTANT;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
lostyle = CONSTANT;
|
||||
@ -265,7 +265,7 @@ RegCone::RegCone(LAMMPS *lmp, int narg, char **arg) : Region(lmp, narg, arg), lo
|
||||
if (hi <= lo) error->all(FLERR, "Illegal cone length in region cone command");
|
||||
|
||||
// extent of cone
|
||||
maxradius = ( (radiuslo > radiushi) ? radiuslo : radiushi);
|
||||
maxradius = ((radiuslo > radiushi) ? radiuslo : radiushi);
|
||||
|
||||
if (interior) {
|
||||
bboxflag = 1;
|
||||
|
||||
Reference in New Issue
Block a user