apply clang-format

This commit is contained in:
Axel Kohlmeyer
2024-07-22 23:58:10 -04:00
parent 70ee5495a2
commit b459d0c9b9
26 changed files with 69 additions and 80 deletions

View File

@ -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;