ln_activity_coefficient Subroutine

public subroutine ln_activity_coefficient(self, n, T, lngamma, dlngammadT, dlngammadn)

Calculate natural logarithm of activity coefficients.

Type Bound

GeModel

Arguments

Type IntentOptional Attributes Name
class(GeModel), intent(in) :: self

Model

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

Moles vector

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

Temperature [K]

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

Natural logarithm of activity coefficients

real(kind=pr), intent(out), optional :: dlngammadT(size(n))

real(kind=pr), intent(out), optional :: dlngammadn(size(n),size(n))


Variables

Type Visibility Attributes Name Initial
real(kind=pr), public :: Ge
real(kind=pr), public :: GeTn(size(n))
real(kind=pr), public :: Gen(size(n))
real(kind=pr), public :: Gen2(size(n),size(n))
logical, public :: dn
logical, public :: dt
logical, public :: tt