Evaluate the legacy quadratic-mixture covolume and derivatives.
Uses the global binary repulsive interaction data to construct the mixture covolume and its mole-number gradient and Hessian.
| Type | Intent | Optional | 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. |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=pr), | public | :: | aux(nc) |
Intermediate accumulator. |
|||
| integer, | public | :: | i |
Loop index |
|||
| integer, | public | :: | j |
Loop index |
|||
| real(kind=pr), | public | :: | totn |
Total number of moles. |