Create argument parser for ALPINE
Instead of requiring positional arguments in an exact order and with no omissions, ALPINE should use its own argument parser to determine the parameters desired by the user. This will increase flexibility and user-friendliness when running ALPINE by providing sensible defaults and reducing redundancy.
Possible command line arguments:
-
--Nx
,--Ny
,--Nz
,--N4
, etc: mesh refinement in each direction -
-N
/--Nall
: equal mesh refinement in all directions -
--particle
/-p
: particle count -
--ppc
/-d
: particles per cell, mutually exclusive with-p
, determines particle count using mesh refinement -
--solver
/-s
: solver choice (default CG for 1D, FFT periodic for 2D or higher) -
--timesteps
/-t
: time steps -
--lb
/-l
: load balancing threshold