Build pair attractive parameters and their temperature derivatives.
Evaluates each pure attractive parameter, applies the configured binary interaction law, and symmetrizes the resulting pair matrix.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | ntd |
Flag selecting temperature-dependent derivative calculations. |
||
| integer, | intent(in) | :: | nc |
Number of active components. |
||
| real(kind=pr), | intent(in) | :: | T |
Temperature [K]. |
||
| real(kind=pr), | intent(out) | :: | aij(nc,nc) |
Pair attractive-parameter matrix. |
||
| real(kind=pr), | intent(out) | :: | daijdT(nc,nc) |
Temperature derivative of the pair attractive parameters. |
||
| real(kind=pr), | intent(out) | :: | daijdT2(nc,nc) |
Second temperature derivative of the pair attractive parameters. |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=pr), | public | :: | ai(nc) |
Pure-component attractive parameters. |
|||
| real(kind=pr), | public | :: | aux(nc,nc) |
Intermediate accumulator. |
|||
| real(kind=pr), | public | :: | daidT(nc) | ||||
| real(kind=pr), | public | :: | daidT2(nc) | ||||
| integer, | public | :: | i |
Loop index |
|||
| integer, | public | :: | j |
Loop index |
|||
| real(kind=pr), | public | :: | ratK(nc,nc) |