linear_translation Subroutine

private subroutine linear_translation(self, n, T, C, CT, CT2, Cn, CTn, Cn2)

Evaluate the extensive shift and its requested derivatives.

Type Bound

LinearVolumeTranslation

Arguments

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

Translation model.

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

Component amounts [mol].

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

Temperature [K].

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

Extensive shift [L].

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

Temperature derivative [L/K].

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

Second temperature derivative [L/K²].

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

Amount gradient [L/mol].

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

Temperature/amount derivatives [L/(mol K)].

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

Amount Hessian [L/mol²].