Go to the documentation of this file. 1 subroutine suntol(sun,navqc,sunrng)
24 #include "tlm_str.fin"
25 #include "navqc_s.fin"
26 type(sun_struct) :: sun(3)
38 if( sunrng(1,isens) .ne. -1 )
then
40 do ilin = sunrng(1,isens), sunrng(2,isens)
41 if( sun(isens)%flag(ilin) .eq. 0 )
then
42 if(( sun(isens)%ang(1,ilin) .lt. navqc%sun_tol_1(1) ) .or.
43 1 ( sun(isens)%ang(1,ilin) .gt. navqc%sun_tol_1(2) ) .or.
44 1 ( sun(isens)%ang(2,ilin) .lt. navqc%sun_tol_2(1) ) .or.
45 1 ( sun(isens)%ang(2,ilin) .gt. navqc%sun_tol_2(2) ) )
46 1 sun(isens)%flag(ilin) = 1
subroutine suntol(sun, navqc, sunrng)