write_EquilibriumState Subroutine

public subroutine write_EquilibriumState(eq, unit, iotype, v_list, iostat, iomsg)

write_EquilibriumState

Format a two-phase equilibrium state for formatted derived-type I/O.

Description

Writes the phase kind, temperature, pressure, phase fraction, and phase compositions to the requested Fortran I/O unit.

Type Bound

EquilibriumState

Arguments

Type IntentOptional Attributes Name
class(EquilibriumState), intent(in) :: eq

State to serialize.

integer, intent(in) :: unit

Output unit number.

character(len=*), intent(in) :: iotype

Fortran formatted-I/O mode string.

integer, intent(in) :: v_list(:)

Format control list supplied by the runtime.

integer, intent(out) :: iostat

I/O status returned to the runtime.

character(len=*), intent(inout) :: iomsg

I/O error message buffer.


Variables

Type Visibility Attributes Name Initial
character(len=*), public, parameter :: nl = new_line("G")