MPEquilibriumState_from_X
Function to create a MPEquilibriumState
from the vector of variables
X
used in the multiphase generalized isopleths methods.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | nc |
Number of components |
||
integer, | intent(in) | :: | np |
Number of phases - 1 |
||
real(kind=pr), | intent(in) | :: | z(nc) |
Global composition |
||
character(len=14), | intent(in) | :: | kinds_x(np) |
Kinds of the main phases |
||
character(len=14), | intent(in) | :: | kind_w |
Kind of the reference phase |
||
real(kind=pr), | intent(in) | :: | X(nc*np+np+1+2) |
Vector of variables.
The first |
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=pr), | public | :: | K(np,nc) | ||||
real(kind=pr), | public | :: | P | ||||
real(kind=pr), | public | :: | T | ||||
real(kind=pr), | public | :: | betas(np+1) | ||||
integer, | public | :: | l | ||||
integer, | public | :: | lb | ||||
integer, | public | :: | ub | ||||
real(kind=pr), | public | :: | w(nc) | ||||
real(kind=pr), | public | :: | x_l(np,nc) |