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
type(TMOptimizeData), public :: data
real(kind=pr), public :: di(size(z))
real(kind=pr), public :: dx(size(w))
integer, public :: i
real(kind=pr), public :: lnphi_z(size(z))
real(kind=pr), public :: mins(size(w))
type(PowellWrapper), public :: opt
integer, public :: stat
real(kind=pr), public :: ws(size(w),size(w))