Given command-line arguments, determine how much data to load. It's deciding splits without consulting arguments for now. This decomposes the domain into tiles because, when we parallelize with the parallel package, each task needs at least a few seconds of work to do in order to make data transfer worthwhile.

plan_domain_decomposition(available, options)

Arguments

available

A description of what data could be processed.

options

These parameters define blocksize and single_tile_max.

Value

The same list with an added tiles member that describes the dimensions of computational tiles relative to the origin of the domain_extent, the portion we will compute.