sim.args #
fn parse_args #
fn parse_args(config ParserSettings) ?SimArgs
type SimArgs #
type SimArgs = ParallelArgs | SequentialArgs
struct ParallelArgs #
struct ParallelArgs {
SequentialArgs
pub:
workers int = args.max_parallel_workers
}
struct ParserSettings #
struct ParserSettings {
sequential bool
img bool
extra_workers int
}
struct SequentialArgs #
struct SequentialArgs {
pub:
params sim.SimParams
grid sim.GridSettings
filename string
}