Skip to content

Commit 4e62463

Browse files
authored
Added refraction_angle_atmos_L2_med_f442_r4
1 parent c5f65e8 commit 4e62463

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Radiolocation/GMS_emw_refraction.f90

+24
Original file line numberDiff line numberDiff line change
@@ -2482,4 +2482,28 @@ elemental function analytic_sol_L22_med_ionosphere_f444_r8(deln0,fc,Nmf,H1,H2,a,
24822482
L22 = trm1*trm2
24832483
end function analytic_sol_L22_med_ionosphere_f444_r8
24842484

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+
24852509
end module emw_refraction

0 commit comments

Comments
 (0)