Draft: Redesigned ALPINE argument parsing
RFC1: an example implementation of a unified, more user friendly command line parser for ALPINE using GNU getopt
and a configuration file parser.
Moves signal handling and argument parsing to new files to reduce clutter and increase focus in ChargedParticles.hpp
.
Warns the user in case the particle count is set to zero but doesn't introduce any other protections for the moment.
Closes #172; implements the flags mentioned in the issue. Example configuration file, equivalent to --Nx 8 --Ny 16 --Nz 32 --ppc 1 --timesteps 2
:
N1=8
Ny=16
Nz=32
ppc=1
timesteps=2
Edited by vinciguerra_a