Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop' into feature-search-doc
Browse files Browse the repository at this point in the history
  • Loading branch information
hannesbrandt committed Nov 25, 2024
2 parents 6ac2839 + 69e4957 commit ee0b2c2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions example/spheres/spheres2.c
Original file line number Diff line number Diff line change
Expand Up @@ -1073,16 +1073,16 @@ main (int argc, char **argv)
/*** read command line parameters ***/

opt = sc_options_new (argv[0]);
sc_options_add_int (opt, 'l', "minlevel", &g->minlevel, 0, "Lowest level");
sc_options_add_int (opt, 'L', "maxlevel", &g->maxlevel, -1,
sc_options_add_int (opt, 'l', "minlevel", &g->minlevel, 2, "Lowest level");
sc_options_add_int (opt, 'L', "maxlevel", &g->maxlevel, g->minlevel + 5,
"Highest level");
sc_options_add_double (opt, 'r', "rmax", &g->rmax, .5, "Max sphere radius");
sc_options_add_double (opt, 't', "thickness", &g->thickness, .05,
"Relative sphere thickness");
sc_options_add_double (opt, 'f', "lfraction", &g->lfraction, .3,
sc_options_add_double (opt, 'f', "lfraction", &g->lfraction, .7,
"Length density of spheres");
sc_options_add_double (opt, 's', "spherelems", &g->spherelems, 1.,
"Min elements per sphere diameter");
sc_options_add_double (opt, 's', "spherequads", &g->spherelems, 20.,
"Min quadrants per sphere diameter");

g->ntop = g->nint = P4EST_CHILDREN;
sc_options_add_int (opt, 'N', "nbottom", &g->nbot, 24,
Expand Down

0 comments on commit ee0b2c2

Please sign in to comment.