GeModelAdiff Derived Type

type, public, abstract, extends(GeModel) :: GeModelAdiff


Components

Type Visibility Attributes Name Initial
type(Substances), public :: components

Substances contained in the module


Type-Bound Procedures

procedure(hyperdual_Ge), public, deferred :: Ge

  • function hyperdual_Ge(self, n, t) Prototype

    Arguments

    Type IntentOptional Attributes Name
    class(GeModelAdiff) :: self
    type(hyperdual), intent(in) :: n(:)
    type(hyperdual), intent(in) :: t

    Return Value type(hyperdual)

procedure, public :: excess_enthalpy

  • public subroutine excess_enthalpy(self, n, T, He, HeT, Hen)

    Calculate Excess enthalpy and its derivatives.

    Read more…

    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 :: He

    Excess enthalpy

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

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

procedure, public :: excess_entropy

  • public subroutine excess_entropy(self, n, T, Se, SeT, Sen)

    Calculate Excess entropy and its derivatives.

    Read more…

    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 :: Se

    Excess entropy

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

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

procedure, public :: excess_gibbs

  • public subroutine excess_gibbs(self, n, t, Ge, GeT, GeT2, Gen, GeTn, Gen2)

    Arguments

    Type IntentOptional Attributes Name
    class(GeModelAdiff), intent(in) :: self
    real(kind=pr), intent(in) :: n(:)
    real(kind=pr), intent(in) :: t
    real(kind=pr), intent(out), optional :: Ge
    real(kind=pr), intent(out), optional :: GeT
    real(kind=pr), intent(out), optional :: GeT2
    real(kind=pr), intent(out), optional, dimension(size(n)) :: Gen
    real(kind=pr), intent(out), optional, dimension(size(n)) :: GeTn
    real(kind=pr), intent(out), optional :: Gen2(size(n),size(n))

procedure, public :: ln_activity_coefficient

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

    Calculate natural logarithm of activity coefficients.

    Read more…

    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))