10 super(SWEArgumentParser, self).
__init__(
11 description=
"ExaHyPE 2 - Shallow Water Application Argument Parser"
19 help=
"Time step size for fixed time-stepping.",
23 "--time-step-relaxation",
26 help=
"Time step relaxation safety factor for adaptive time-stepping.",
33 help=
"Specify size of domain in meters as [x, y] as string (e.g. [10, 10], [7e6, 4e6]).",
41 help=
"Specify offset of domain in meters as [x, y] as string (e.g. [-10, -10], [-7e6, -4e6]).",
49 help=
"Output path for project solutions output. The project will create a new folder at the given path. Default is 'solutions'.",
54 "--periodic-boundary-conditions-x",
56 help=
"Use periodic boundary conditions in the x-axis.",
60 "--periodic-boundary-conditions-y",
62 help=
"Use periodic boundary conditions in the y-axis.",
68 choices=peano4.api.output.CompileModes,
69 default=peano4.api.output.CompileModes[0],
70 help=
"|".join(peano4.api.output.CompileModes),
78 help=
"End time of the simulation.",
82 "--number-of-snapshots",
85 help=
"Number of snapshots (plots).",
93 help=
"Number of finite volumes per axis (dimension) per patch.",
100 help=
"Order of discretisation for Discontinuous Galerkin.",
107 help=
"Determines maximum size of a single cell on each axis.",
114 help=
"Number of AMR grid levels on top of max. size of a cell.",
120 choices=[e.name
for e
in exahype2.solvers.Storage],
122 help=
"The storage scheme to use."
125 available_load_balancing_strategies = [
128 "SpreadOutHierarchically",
129 "SpreadOutOnceGridStagnates",
130 "RecursiveBipartition",
131 "SplitOversizedTree",
132 "cascade::SpreadOut_RecursiveBipartition",
133 "cascade::SpreadOut_SplitOversizedTree",
137 "--load-balancing-strategy",
138 choices=available_load_balancing_strategies,
139 default=
"SpreadOutOnceGridStagnates",
140 help=
"|".join(available_load_balancing_strategies),
144 "--load-balancing-quality",
147 help=
"The quality of the load balancing.",
153 help=
"Number of trees (partitions) per rank after initial decomposition.",
159 help=
"Number of threads per rank.",
166 help=
"Use stateless PDE terms (needed for GPU offloading).",
172 help=
"Enable a floating-point exception handler.",