Build the MPI Cartesian decomposition and store it on the state (MPI runs).
Derives periodicity from state % cfg boundary condition strings, calls cart_setup_2d, and updates state % nx_local / state % ny_local to the per-rank local sizes so allocate_work_arrays_2d sizes correctly.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(solver_state_2d_t), | intent(inout) | :: | state |