constant_volume_translation Function

private function constant_volume_translation(base, c) result(model)

constant_volume_translation

Construct a volume-translated EOS from a base model and molar shifts.

Description

c must contain one coefficient per component in base, in the same order. Coefficients are supplied directly, not estimated from critical properties. Zero and negative coefficients are allowed.

Examples

Constructor fragment:

model = ConstantVolumeTranslation(base, c)

Arguments

Type IntentOptional Attributes Name
class(ArModel), intent(in) :: base

Untranslated EOS to copy.

real(kind=pr), intent(in) :: c(:)

Constant component shifts in the base model’s order [L/mol].

Return Value type(ConstantVolumeTranslation)

Initialized EOS with the inherited residual-property interface.


Calls

proc~~constant_volume_translation~~CallsGraph proc~constant_volume_translation constant_volume_translation proc~init VolumeTranslatedModel%init proc~constant_volume_translation->proc~init

Called by

proc~~constant_volume_translation~~CalledByGraph proc~constant_volume_translation constant_volume_translation interface~constantvolumetranslation ConstantVolumeTranslation interface~constantvolumetranslation->proc~constant_volume_translation