Approximate the Jacobian of with respect to .
Centered finite differences use the module increments DV_STEP and
DT_STEP.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ArModel), | intent(in) | :: | model |
Equation of state used to evaluate the critical residual Jacobian. |
||
| integer, | intent(in) | :: | nc |
Number of components. |
||
| integer, | intent(in) | :: | i_comp |
One-based index of the pure component. |
||
| real(kind=pr), | intent(in) | :: | V |
Total volume [L]. |
||
| real(kind=pr), | intent(in) | :: | T |
Temperature [K]. |
||
| real(kind=pr), | intent(out) | :: | J(2,2) |
Jacobian rows , columns . |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| real(kind=pr), | private | :: | P_dummy | ||||
| real(kind=pr), | private | :: | f1_T_minus | ||||
| real(kind=pr), | private | :: | f1_T_plus | ||||
| real(kind=pr), | private | :: | f1_V_minus | ||||
| real(kind=pr), | private | :: | f1_V_plus | ||||
| real(kind=pr), | private | :: | f2_T_minus | ||||
| real(kind=pr), | private | :: | f2_T_plus | ||||
| real(kind=pr), | private | :: | f2_V_minus | ||||
| real(kind=pr), | private | :: | f2_V_plus |