2D COPY_SOLUTION reply header: like the 1D encoder but with the grid
shape (nx, ny) alongside n = nx*ny, so the client can reshape each
offset block C-order to (ny, nx). Offsets are byte offsets in request
order, one block of nx*ny little-endian float64 per primitive, packed
i-fastest (x-contiguous) to match solution_gather_2d.write_global_field.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | req_id | |||
| integer, | intent(in) | :: | nx | |||
| integer, | intent(in) | :: | ny | |||
| character(len=*), | intent(in) | :: | prim_names(:) | |||
| integer(kind=int8), | intent(out), | allocatable | :: | header_bytes(:) |