Write this rank's interior cells as "x y rho u v p" (6ES24.12E3), i
fastest, with a blank line after each constant-j row (gnuplot/ParaView
structured grid). This is the per-rank/test-only writer; the production
gathered-field writer is solution_gather_2d.write_global_field. The two
share the same ASCII layout and column format (6ES24.12E3) — this routine
writes per-rank local cells using each cell's global-index offset, while
write_global_field writes the assembled global field on rank 0.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| type(solver_state_2d_t), | intent(in) | :: | state | |||
| character(len=*), | intent(in) | :: | filename | |||
| logical, | intent(out) | :: | is_ok | |||
| character(len=*), | intent(out) | :: | message |