Ignore:
Timestamp:
Mar 7, 2014, 4:53:30 PM (11 years ago)
Author:
msylvestre
Message:

rings.F90 : calculation of the shadow under the Cassini Division was omitted in the previous version

File:
1 edited

Legend:

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

    r1200 r1204  
    1818    REAL :: rpol   ! polar radius of the planet
    1919    REAL :: e      ! shape excentricity of the planet : (1-e*e) = (1-f)*(1-f)   
    20     INTEGER, PARAMETER :: nb_a=4 ! number of subdivisions of the A ring
    21     INTEGER, PARAMETER :: nb_b=3 ! number of subdivisions of the B ring
    22     INTEGER, PARAMETER :: nb_c=3 ! number of subdivisions of the C ring
     20    INTEGER, PARAMETER :: nb_a = 4 ! number of subdivisions of the A ring
     21    INTEGER, PARAMETER :: nb_b = 3 ! number of subdivisions of the B ring
     22    INTEGER, PARAMETER :: nb_c = 3 ! number of subdivisions of the C ring
    2323    INTEGER, PARAMETER :: nb_ca = 2 ! number of subdivisions in the Cassini division
    2424    INTEGER :: i
     
    109109               
    110110    tau_B(1) = 1.29
    111     tau_B(2) = 5.13  
    112     tau_B(3) = 2.84
     111    tau_B(2) = 5.13
     112    tau_B(3) = 2.84 
    113113   
    114114    tau_C(1) = 0.06
     
    176176    enddo
    177177
     178    do i=1, nb_ca
     179        where(r(:) .ge. Ca_Rint(i) .and. r(:) .le. Ca_Rext(i) .and. eclipse(:) .ne. 1000.)
     180            eclipse(:) = 1. - exp(-tau_Ca(i)/abs(sin(declin)))
     181        end where
     182    enddo
     183
    178184    ! At the other places and the excluded ones, eclipse is 0.
    179185    where(eclipse(:) .eq. 2000. .or. eclipse(:) .eq. 1000.)
Note: See TracChangeset for help on using the changeset viewer.