Evaluate the linear extensive shift and its requested derivatives.
and . Every temperature
derivative and the amount Hessian are zero. Amounts need not sum
to one; C is a total volume, not a molar volume.
Evaluation fragment:
call model%translation(n, T, C, Cn=Cn)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(ConstantVolumeTranslation), | intent(in) | :: | self |
Model containing the component shifts. |
||
| real(kind=pr), | intent(in) | :: | n(:) |
Component mole amounts [mol]. |
||
| real(kind=pr), | intent(in) | :: | T |
Temperature [K]; unused because the shifts are constant. |
||
| real(kind=pr), | intent(out) | :: | C |
Extensive volume translation [L]. |
||
| real(kind=pr), | intent(out), | optional | :: | CT |
Zero temperature derivative [L/K]. |
|
| real(kind=pr), | intent(out), | optional | :: | CT2 |
Zero second temperature derivative [L/K^2]. |
|
| real(kind=pr), | intent(out), | optional | :: | Cn(size(n)) |
Component shifts, the amount gradient [L/mol]. |
|
| real(kind=pr), | intent(out), | optional | :: | CTn(size(n)) |
Zero temperature/amount derivatives [L/(K mol)]. |
|
| real(kind=pr), | intent(out), | optional | :: | Cn2(size(n),size(n)) |
Zero amount Hessian [L/mol^2]. |