Grid-location-aware checksum: derives the array extents from
grid + loc (no hand-written bounds at the call site), runs
the device-side reductions, and emits one CHKSUM row. Resolves
by rank — 3D field trio / 2D BT-work variant.
Location-aware 3D checksum: derives (nx, ny) from grid + loc
and nz from the array, so a new instrumentation site is one
line with no hand-written bounds. Gated by the probe window.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(hgrid_t), | intent(in) | :: | grid | |||
| real(kind=wp), | intent(in) | :: | arr(:,:,:) | |||
| character(len=*), | intent(in) | :: | label | |||
| character(len=*), | intent(in) | :: | field | |||
| integer, | intent(in) | :: | stage | |||
| integer, | intent(in) | :: | step | |||
| type(chksum_probe_t), | intent(inout) | :: | probe | |||
| integer, | intent(in) | :: | loc |
2D twin of rdb_debug_chksum_3d (BT-work fields).
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(hgrid_t), | intent(in) | :: | grid | |||
| real(kind=wp), | intent(in) | :: | arr(:,:) | |||
| character(len=*), | intent(in) | :: | label | |||
| character(len=*), | intent(in) | :: | field | |||
| integer, | intent(in) | :: | stage | |||
| integer, | intent(in) | :: | step | |||
| type(chksum_probe_t), | intent(inout) | :: | probe | |||
| integer, | intent(in) | :: | loc |