write_cell_row Subroutine

private subroutine write_cell_row(io_unit, x, ub_col, gam)

Write a single row of primitive variables to io_unit in '(4ES20.12)' format. Shared by finalize_runtime and write_snapshot to avoid duplicating the conserved-to-primitive conversion.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: io_unit

Fortran I/O unit (already open for writing).

real(kind=wp), intent(in) :: x

Cell-centre coordinate. [m]

real(kind=wp), intent(in) :: ub_col(3)
real(kind=wp), intent(in) :: gam

Ratio of specific heats γ.