write_envelope_PX_MP Subroutine

private subroutine write_envelope_PX_MP(env, unit)

write_envelope_PX_MP

Write a multiphase PX envelope in the tabular format used by plotting tools.

Type Bound

PXEnvelMP

Arguments

Type IntentOptional Attributes Name
class(PXEnvelMP), intent(in) :: env

Envelope result to serialize.

integer, intent(in) :: unit

Output unit number.


Variables

Type Visibility Attributes Name Initial
real(kind=pr), private :: P
real(kind=pr), private :: T
real(kind=pr), private :: alpha
real(kind=pr), private, allocatable :: betas(:)

Phase fractions for the main phases.

integer, private :: i

Loop index i.

integer, private :: j

Loop index j.

integer, private :: nc

Number of components.

integer, private :: np

Number of phases.

real(kind=pr), private, allocatable :: w(:)

Reference/trial phase composition.

real(kind=pr), private, allocatable :: x_l(:,:)

Main-phase compositions.