call mpp_define_domains( (/1,nlon,1,nlat/), layout, Domain, xhalo=2, yhalo=2)
call mpp_get_global_domains(Domain, xbegin=indices (:,1), xend=indices (:,2), &
& ybegin=indices (:,3), yend=indices (:,4), &
& xsize =indices (:,5), ysize=indices(:,6))
print *, "Indices:", indices
Describe the bug
The output to calls to mpp_get_global_domains is all zeroes instead of the expected results.
To Reproduce
The following code can reproduce the behavior:
The output is all zeroes
Expected behavior
Either the output to mpp_get_global_domains should be correct, or the function should be deprecated and not used.
System Environment
This happens in any system
Additional context
N/A