Skip to content

Commit

Permalink
Merge pull request #88 from CarrieFilion/main
Browse files Browse the repository at this point in the history
editing defaults for consistency
  • Loading branch information
michael-petersen authored Dec 16, 2024
2 parents 04e4f5b + 283f9d8 commit 1f1aa8b
Show file tree
Hide file tree
Showing 9 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion expui/BiorthBasis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ namespace BasisClasses
nmax = 18;
mmax = 6;
mlim = std::numeric_limits<int>::max();
lmaxfid = 128;
lmaxfid = 72;
nmaxfid = 64;
ncylnx = 256;
ncylny = 128;
Expand Down
2 changes: 1 addition & 1 deletion src/expand.H
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
KEYWORD EXPLANATION DEFAULT
---------- ---------------------------- --------
lmax = maximum harmonic order 4
nmax = maxinum radial order 10
nmax = maximum radial order 18
nlog = interval between log output 10
nlist = interval between p-s output 50
nsteps = total number of steps to run 500
Expand Down
4 changes: 2 additions & 2 deletions utils/ICs/cylcache.cc
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ main(int ac, char **av)
("ctype", "DiskHalo radial coordinate scaling type (one of: Linear, Log, Rat)",
cxxopts::value<string>(ctype)->default_value("Log"))
("LMAXFID", "Maximum angular order for spherical basis in adaptive construction of the cylindrical basis",
cxxopts::value<int>(LMAXFID)->default_value("32"))
cxxopts::value<int>(LMAXFID)->default_value("72"))
("NMAXFID", "Maximum radial order for the spherical basis in adapative construction of the cylindrical basis",
cxxopts::value<int>(NMAXFID)->default_value("32"))
("MMAX", "Maximum azimuthal order for the cylindrical basis",
Expand All @@ -341,7 +341,7 @@ main(int ac, char **av)
("NCYLODD", "Number of vertically odd basis functions per harmonic order",
cxxopts::value<int>(NCYLODD)->default_value("6"))
("NMAX", "Total number of basis functions per harmonic order",
cxxopts::value<int>(NMAX)->default_value("20"))
cxxopts::value<int>(NMAX)->default_value("18"))
("VFLAG", "Diagnostic flag for EmpCylSL",
cxxopts::value<int>(VFLAG)->default_value("31"))
("expcond", "Use analytic target density rather than particle distribution",
Expand Down
8 changes: 4 additions & 4 deletions utils/ICs/initial.cc
Original file line number Diff line number Diff line change
Expand Up @@ -398,9 +398,9 @@ main(int ac, char **av)
("LMAX", "Harmonic order for halo expansion",
cxxopts::value<int>(LMAX)->default_value("18"))
("LMAXFID", "Harmonic order for EOF spherical model",
cxxopts::value<int>(LMAXFID)->default_value("48"))
cxxopts::value<int>(LMAXFID)->default_value("72"))
("NMAXFID", "Radial order for EOF spherical model",
cxxopts::value<int>(NMAXFID)->default_value("48"))
cxxopts::value<int>(NMAXFID)->default_value("64"))
("MMAX", "Aximuthal order for Cylindrical expansion",
cxxopts::value<int>(MMAX)->default_value("6"))
("NUMX", "Number of knots in radial dimension of meridional grid",
Expand Down Expand Up @@ -434,7 +434,7 @@ main(int ac, char **av)
("NOUT", "Number of radial terms in diagnostic basis file for cylinder",
cxxopts::value<int>(NOUT)->default_value("18"))
("NODD", "Number of vertically odd terms in cylindrical expansion",
cxxopts::value<int>(NODD)->default_value("6"))
cxxopts::value<int>(NODD)->default_value("9"))
("NMAXH", "Number of radial terms for spherical expansion",
cxxopts::value<int>(NMAXH)->default_value("18"))
("NMAXD", "Number of radial terms for cylindrical expansion",
Expand Down Expand Up @@ -518,7 +518,7 @@ main(int ac, char **av)
("SCSPH", "Scale for Spherical SL coordinate mapping",
cxxopts::value<double>(SCSPH)->default_value("1.0"))
("RSPHSL", "Maximum halo expansion radius",
cxxopts::value<double>(RSPHSL)->default_value("47.5"))
cxxopts::value<double>(RSPHSL)->default_value("1.95"))
("ASCALE", "Radial scale length for disk basis construction",
cxxopts::value<double>(ASCALE)->default_value("1.0"))
("ASHIFT", "Fraction of scale length for shift in conditioning function",
Expand Down
2 changes: 1 addition & 1 deletion utils/SL/diskpot.cc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ main(int argc, char** argv)
int cmap = 0;
double scale = 1.0;

int Lmax=16, Nmax=10;
int Lmax=16, Nmax=18;
int numr=10000;
double rmin=0.0001, rmax=1.0;
double delr=0.01, xmax=1.0, zmax=0.1;
Expand Down
2 changes: 1 addition & 1 deletion utils/SL/oftest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ int main(int argc, char** argv)
("N,mc", "number of particles for Monte Carlo realization",
cxxopts::value<int>(N)->default_value("10000"))
("nmax", "maximum number of radial harmonics in the expansion",
cxxopts::value<int>(nmax)->default_value("10"))
cxxopts::value<int>(nmax)->default_value("18"))
("r,rmin", "minimum radius for the SL grid",
cxxopts::value<double>(rmin)->default_value("0.0001"))
("R,rmax", "maximum radius for the SL grid",
Expand Down
2 changes: 1 addition & 1 deletion utils/SL/qtest.cc
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ int main(int argc, char** argv)
("Lmax", "maximum number of angular harmonics in the expansion",
cxxopts::value<int>(Lmax)->default_value("2"))
("nmax", "maximum number of radial harmonics in the expansion",
cxxopts::value<int>(nmax)->default_value("10"))
cxxopts::value<int>(nmax)->default_value("18"))
("numr", "radial knots for the SL grid",
cxxopts::value<int>(numr)->default_value("1000"))
("rmin", "minimum radius for the SL grid",
Expand Down
2 changes: 1 addition & 1 deletion utils/SL/slabchk.cc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ main(int argc, char** argv)
("K,kmax", "maximum order of in-plane harmonics",
cxxopts::value<int>(kmax)->default_value("4"))
("N,nmax", "maximum number of vertical harmonics",
cxxopts::value<int>(nmax)->default_value("10"))
cxxopts::value<int>(nmax)->default_value("18"))
("n,numz", "size of vertical grid",
cxxopts::value<int>(numz)->default_value("1000"))
("Z,zmax", "maximum extent of vertical grid",
Expand Down
2 changes: 1 addition & 1 deletion utils/SL/slshift.cc
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,7 @@ main(int argc, char** argv)
("Lmax", "maximum number of angular harmonics in the expansion",
cxxopts::value<int>(Lmax)->default_value("2"))
("nmax", "maximum number of radial harmonics in the expansion",
cxxopts::value<int>(nmax)->default_value("10"))
cxxopts::value<int>(nmax)->default_value("18"))
("numr", "radial knots in the shift operator",
cxxopts::value<int>(numr)->default_value("1000"))
("rmin", "minimum radius for the shift operator",
Expand Down

0 comments on commit 1f1aa8b

Please sign in to comment.