min_tpd Subroutine

public subroutine min_tpd(model, z, P, T, mintpd, w, all_minima)

Arguments

Type IntentOptional Attributes Name
class(ArModel), target :: model

Thermodynamic model

real(kind=pr), intent(in) :: z(:)

Feed composition

real(kind=pr), intent(in) :: P

Pressure [bar]

real(kind=pr), intent(in) :: T

Temperature [K]

real(kind=pr), intent(out) :: mintpd

Minimal value of

real(kind=pr), intent(out) :: w(:)

Trial composition

real(kind=pr), intent(out), optional :: all_minima(:,:)

All the found minima


Variables

Type Visibility Attributes Name Initial
real(kind=pr), public :: V
real(kind=pr), public :: di(size(z))
real(kind=pr), public :: dw(size(w))
real(kind=pr), public :: dx(size(w))
integer, public :: i
integer, public :: j
real(kind=pr), public :: lnphi_w(size(w))
real(kind=pr), public :: lnphi_z(size(z))
real(kind=pr), public :: mins(size(w))
integer, public :: nc
integer, public :: stat
real(kind=pr), public :: ws(size(w),size(w))