@@ -2482,4 +2482,28 @@ elemental function analytic_sol_L22_med_ionosphere_f444_r8(deln0,fc,Nmf,H1,H2,a,
2482
2482
L22 = trm1* trm2
2483
2483
end function analytic_sol_L22_med_ionosphere_f444_r8
2484
2484
2485
+ ! refraction angle whole atmosphere (medium part).
2486
+ ! formula: 4.42, page: 82
2487
+ elemental function refraction_angle_atmos_L2_med_f442_r4 (deln0 ,fc ,Nmf ,H1 ,H2 ,a ,z0 ) result(L2)
2488
+ if defined(__INTEL_COMPILER) && ! defined(__GNUC__)
2489
+ ! dir$ optimize:3
2490
+ ! dir$ attributes code_align : 32 :: refraction_angle_atmos_L2_med_f442_r4
2491
+ ! dir$ attributes forceinline :: refraction_angle_atmos_L2_med_f442_r4
2492
+ #endif
2493
+
2494
+ real (kind= sp), intent (in ) :: deln0
2495
+ real (kind= sp), intent (in ) :: fc
2496
+ real (kind= sp), intent (in ) :: Nmf
2497
+ real (kind= sp), intent (in ) :: H1
2498
+ real (kind= sp), intent (in ) :: H2
2499
+ real (kind= sp), intent (in ) :: a
2500
+ real (kind= sp), intent (in ) :: z0
2501
+ real (kind= sp) :: L2
2502
+ real (kind= sp), automatic :: L21, L22
2503
+ L21 = analytic_sol_L21_med_ionosphere_f443_r4 (fc,Nmf,H1,H2,a,z0)
2504
+ L22 = analytic_sol_L22_med_ionosphere_f444_r4 (deln0,fc,Nmf,H1,H2,a,z0)
2505
+ L2 = L21+ L22
2506
+ end function refraction_angle_atmos_L2_med_f442_r4
2507
+
2508
+
2485
2509
end module emw_refraction
0 commit comments