cart_is_setup Function

public function cart_is_setup() result(yes)

True once cart_setup_2d / setup_decomp_2d has created the Cartesian comm.

Uses a save flag rather than comparing g_cart /= MPI_COMM_NULL to avoid relying on derived-type comparison operators in the mpi_f08 path.

Arguments

None

Return Value logical