MONC
Functions/Subroutines
test_saturation_mod Module Reference

Functions/Subroutines

subroutine test_qsaturation_zero
 
subroutine test_dqwsatdt_zero
 
subroutine test_dqwsatdt_temp_qsa3
 

Function/Subroutine Documentation

◆ test_dqwsatdt_temp_qsa3()

subroutine test_saturation_mod::test_dqwsatdt_temp_qsa3 ( )

Definition at line 28 of file test_saturation.F90.

28  real(kind=DEFAULT_PRECISION) :: res
29  real(kind=DEFAULT_PRECISION),parameter :: expected = 0.0_default_precision
30  res = dqwsatdt(0.0_default_precision,35.86_default_precision)
31  call assert_equals(expected, res, "Result when T=qsa3 should be 0")
32  write(*,*)res
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_dqwsatdt_zero()

subroutine test_saturation_mod::test_dqwsatdt_zero ( )

Definition at line 20 of file test_saturation.F90.

20  real(kind=DEFAULT_PRECISION) :: res
21  real(kind=DEFAULT_PRECISION),parameter :: expected = 0.0_default_precision
22  res = dqwsatdt(0.0_default_precision, 0.0_default_precision)
23  call assert_equals(expected, res, "Result when SAT=0 and T=0 is 0")
Here is the call graph for this function:
Here is the caller graph for this function:

◆ test_qsaturation_zero()

subroutine test_saturation_mod::test_qsaturation_zero ( )

Definition at line 12 of file test_saturation.F90.

12  real(kind=DEFAULT_PRECISION) :: res
13  real(kind=DEFAULT_PRECISION),parameter :: expected = -0.62203306596824359_default_precision
14  res = qsaturation(0.0_default_precision, 0.0_default_precision)
15  call assert_equals(expected, res, "Result when P=0 and T=0")
Here is the call graph for this function:
Here is the caller graph for this function: