- Timestamp:
- Dec 20, 2019, 12:56:43 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
dynamico_lmdz/simple_physics/phyparam/physics/astronomy.F90
r4191 r4192 7 7 REAL, PARAMETER :: unitastr=149.597927, & ! millions of km 8 8 pi=2.*ASIN(1.) 9 9 10 CONTAINS 10 11 … … 166 167 END SUBROUTINE iniorbit 167 168 169 PURE SUBROUTINE orbite(pls,pdist_sol,pdecli) 170 !======================================================================= 171 ! 172 ! Objet: 173 ! ------ 174 ! 175 ! Distance from sun and declimation as a function of the solar 176 ! longitude Ls 177 ! 178 ! Arguments: 179 ! ---------- 180 ! 181 ! Input: 182 ! ------ 183 ! pls Ls 184 ! 185 ! Output: 186 ! ------- 187 ! pdist_sol Distance Sun-Planet in UA 188 ! pdecli declinaison ( en radians ) 189 ! 190 !======================================================================= 191 !----------------------------------------------------------------------- 192 ! Declarations: 193 ! ------------- 194 195 ! arguments: 196 ! ---------- 197 198 REAL, INTENT(IN) :: pls 199 REAL, INTENT(OUT) :: pdist_sol,pdecli 200 201 !----------------------------------------------------------------------- 202 203 ! Distance Sun-Planet 204 205 pdist_sol=p_elips/(1.+e_elips*cos(pls+timeperi)) 206 207 ! Solar declination 208 209 pdecli= asin (sin(pls)*sin(obliquit*pi/180.)) 210 211 END SUBROUTINE orbite 212 168 213 END MODULE astronomy 169 214
Note: See TracChangeset
for help on using the changeset viewer.