Calculates the Jacobian of the critical point function F_critical.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ArModel), | intent(in) | :: | model |
Equation of state model |
||
| real(kind=pr), | intent(in) | :: | X(4) |
Vector of variables |
||
| integer, | intent(in) | :: | ns |
Position of the specification variable |
||
| real(kind=pr), | intent(in) | :: | S |
Specification variable value |
||
| real(kind=pr), | intent(in) | :: | z0(:) |
Molar fractions of the first fluid |
||
| real(kind=pr), | intent(in) | :: | zi(:) |
Molar fractions of the second fluid |
||
| real(kind=pr), | intent(inout) | :: | u(:) |
Eigen-vector |
Jacobian of the critical point function
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=pr), | private | :: | F1(4) |
Criticality residuals evaluated at X - dx. |
|||
| real(kind=pr), | private | :: | F2(4) |
Criticality residuals evaluated at X + dx. |
|||
| real(kind=pr), | private | :: | a | ||||
| real(kind=pr), | private | :: | dx(4) |
Perturbation vector with one nonzero entry for each Jacobian column. |
|||
| real(kind=pr), | private | :: | eps |
Small numerical tolerance or perturbation. |
|||
| integer, | private | :: | i |
Loop/index variable. |
|||
| integer, | private | :: | nc |
Number of components. |