Bnder Subroutine

public subroutine Bnder(nc, rn, Bmix, dBi, dBij)

Bnder

Evaluate the legacy quadratic-mixture covolume and derivatives.

Description

Uses the global binary repulsive interaction data to construct the mixture covolume and its mole-number gradient and Hessian.

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nc

Number of active components.

real(kind=pr), intent(in) :: rn(nc)

Component mole amounts used in mixture rules.

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

Mixture covolume.

real(kind=pr), intent(out) :: dBi(nc)

Mole-number gradient of the mixture covolume.

real(kind=pr), intent(out) :: dBij(nc,nc)

Mole-number Hessian of the mixture covolume.


Called by

proc~~bnder~~CalledByGraph proc~bnder Bnder proc~cubic_v0 cubic_v0 proc~cubic_v0->proc~bnder proc~helmrkpr HelmRKPR proc~helmrkpr->proc~bnder proc~helmsrkpr HelmSRKPR proc~helmsrkpr->proc~bnder proc~ar_rkpr ar_rkpr proc~ar_rkpr->proc~helmrkpr proc~ar_srkpr ar_srkpr proc~ar_srkpr->proc~helmsrkpr

Variables

Type Visibility Attributes Name Initial
real(kind=pr), public :: aux(nc)

Intermediate accumulator.

integer, public :: i

Loop index i.

integer, public :: j

Loop index j.

real(kind=pr), public :: totn

Total number of moles.