Changeset 1177 for trunk


Ignore:
Timestamp:
Feb 14, 2014, 9:04:37 AM (11 years ago)
Author:
sglmd
Message:

Corrected a mistake in the geometry of the ring's transmission

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/rings.F90

    r1161 r1177  
    125125    do i=1, nb_A
    126126        where(r(:) .ge. A_Rint(i) .and. r(:) .le. A_Rext(i) .and. eclipse(:) .ne. 1000.)
    127             eclipse(:) = 1. - exp(-tau_A(i)/cos(declin))
     127            eclipse(:) = 1. - exp(-tau_A(i)/abs(sin(declin)))
    128128        end where
    129129    end do
     
    131131    do i=1, nb_B
    132132        where(r(:) .ge. B_Rint(i) .and. r(:) .le. B_Rext(i) .and. eclipse(:) .ne. 1000.)
    133             eclipse(:) = 1. - exp(-tau_B(i)/cos(declin))
     133            eclipse(:) = 1. - exp(-tau_B(i)/abs(sin(declin)))
    134134        end where
    135135    enddo
     
    137137    do i=1, nb_C
    138138        where(r(:) .ge. C_Rint(i) .and. r(:) .le. C_Rext(i) .and. eclipse(:) .ne. 1000.)
    139             eclipse(:) = 1. - exp(-tau_C(i)/cos(declin))
     139            eclipse(:) = 1. - exp(-tau_C(i)/abs(sin(declin)))
    140140        end where
    141141    enddo
Note: See TracChangeset for help on using the changeset viewer.