get_T Function

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

Get temperature

Get the saturation temperature for a given pressure.

Description

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

Examples

T = pt%get_T(P)

Type Bound

PurePsat

Arguments

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

Return Value real(kind=pr)