get_P Function

public function get_P(pt, T) result(P)

Get pressure

Get the saturation pressure for a given temperature.

Description

This function returns the saturation pressure for a given temperature. The function uses an interpolator to get the required value.

Examples

P = pt%get_P(T)

Type Bound

PurePsat

Arguments

Type IntentOptional Attributes Name
class(PurePsat), intent(inout) :: pt
real(kind=pr), intent(in) :: T

Return Value real(kind=pr)