56 subroutine pdd(temp_mm, s_stat, ET)
60 real(dp),
dimension(12),
intent(in) :: temp_mm
61 real(dp),
intent(in) :: s_stat
63 real(dp),
intent(out) :: ET
66 real(dp) :: inv_sqrt2pi, inv_s_stat, inv_sqrt2
69 real(dp),
parameter :: time_year = 1.0_dp, &
70 time_year_inv = 1.0_dp/time_year, &
71 d_time = 1.0_dp/12.0_dp
73 inv_sqrt2pi = 1.0_dp/sqrt(2.0_dp*
pi)
74 inv_s_stat = 1.0_dp/s_stat
75 inv_sqrt2 = 1.0_dp/sqrt(2.0_dp)
81 + ( s_stat*inv_sqrt2pi*exp(-0.5_dp*(temp_mm(n)*inv_s_stat)**2) &
83 *erfc(-temp_mm(n)*inv_s_stat*inv_sqrt2) ) &
87 et = pdd_sum*time_year_inv
Computation of the positive degree days (PDD) with statistical temperature fluctuations; based on sem...
Declarations of kind types for SICOPOLIS.
real(dp), parameter pi
pi: Constant pi
subroutine, public pdd(temp_mm, s_stat, ET)
Main subroutine of pdd_m: Computation of the positive degree days (PDD) with statistical temperature ...
Declarations of global variables for SICOPOLIS.