write_envelope_TX_MP Subroutine

private subroutine write_envelope_TX_MP(env, unit)

write_envelope_TX_MP

Write the multiphase envelope to a file.

Type Bound

TXEnvelMP

Arguments

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

Envelope to write.

integer, intent(in) :: unit

Unit to write the envelope to.


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.