Skip to content

program options

Tim Younkin edited this page Jan 30, 2020 · 1 revision

ASGarD options can be viewed using the help option

./asgard -h

This will display the following:

usage:
  asgard  options

where options are:
  -?, -h, --help                            display usage information
  -c, --cfl <cfl>                           the Courant-Friedrichs-Lewy (CFL)
                                            condition
  -d, --degree <degree>                     Terms in legendre basis
                                            polynomials
  -f, --full_grid                           Use full grid (vs. sparse grid)
  -i, --implicit                            Use implicit time advance (vs.
                                            explicit)
  -l, --level <level>                       Hierarchical levels (resolution)
  -n, --num_steps <time steps>              Number of iterations
  -p, --pde <selected_pde>                  PDE to solve; see options.hpp for
                                            list
  -s, --solve_poisson                       Do poisson solve for electric
                                            field
  -w, --write_freq <write_frequency>        Frequency in steps for writing
                                            wavelet space output
  -r, --real_freq                           Frequency in steps for writing
  <realspace_output_freq>                   realspace output

Greater detail of these options is given below.

The CFL option -c' or -cfl` is followed by a real number which is a multiplier on the CFL time-step (less than one decreases time step). The default is 0.01.

Clone this wiki locally