validate_decomp_2d Subroutine

public subroutine validate_decomp_2d(d)

Abort with a clear message if either local tile dimension is too small to hold the halo cells the chosen reconstruction scheme requires. Mirrors the 1D validate_decomp; called from the 2D driver right after the decomposition is built (an over-fine MPI process grid, e.g. a thin axis from MPI_Dims_create, would otherwise silently over-read halos).

Arguments

Type IntentOptional Attributes Name
type(decomp_2d_t), intent(in) :: d