Abstract contract for temperature corrections to cubic attraction.
Implementations return component-wise and its first
two derivatives with respect to reduced temperature. CubicEoS
converts those derivatives to absolute-temperature derivatives.
See AlphaSoave, AlphaRKPR, and AlphaMathiasCopeman.
Evaluate a cubic alpha function and its reduced-temperature derivatives.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(AlphaFunction), | intent(in) | :: | self |
Alpha-function implementation. |
||
| real(kind=pr), | intent(in) | :: | Tr(:) |
Reduced temperatures, one per component. |
||
| real(kind=pr), | intent(out) | :: | a(:) |
Alpha-function values. |
||
| real(kind=pr), | intent(out) | :: | dadt(:) |
First reduced-temperature derivative of alpha. |
||
| real(kind=pr), | intent(out) | :: | dadt2(:) |
Second reduced-temperature derivative of alpha. |