Changeset 1133 for trunk/LMDZ.GENERIC
- Timestamp:
- Dec 27, 2013, 1:53:08 AM (11 years ago)
- Location:
- trunk/LMDZ.GENERIC/libf/phystd
- Files:
-
- 1 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.GENERIC/libf/phystd/callcorrk.F90
r1026 r1133 697 697 else 698 698 do nw=1,L_NSPECTV 699 stel_fract(nw)= stel(nw) * fract(ig) 699 stel_fract(nw)= stel(nw) * fract(ig)*(1.-eclipse(ig)) 700 700 end do 701 701 endif -
trunk/LMDZ.GENERIC/libf/phystd/callkeys.h
r1026 r1133 30 30 & , co2supsat & 31 31 & , cloudlvl & 32 & , pceil 32 & , pceil & 33 & , rings_shadow 33 34 34 35 logical callrad,corrk,calldifv,UseTurbDiff & … … 36 37 & , season,diurnal,tlocked,lwrite & 37 38 & , callstats,calleofdump & 38 & , callgasvis,continuum,H2Ocont_simple,graybody 39 & , callgasvis,continuum,H2Ocont_simple,graybody & 40 & , rings_shadow 39 41 40 42 logical enertest -
trunk/LMDZ.GENERIC/libf/phystd/inifis.F
r1026 r1133 153 153 write(*,*) "tlocked = ",tlocked 154 154 155 write(*,*) "Saturn ring shadowing ?" 156 rings_shadow = .false. 157 call getin("rings_shadow", rings_shadow) 158 write(*,*) "rings_shadow = ", rings_shadow 159 155 160 ! Test of incompatibility: 156 161 ! if tlocked, then diurnal should be false -
trunk/LMDZ.GENERIC/libf/phystd/physiq.F90
r1016 r1133 11 11 use watercommon_h, only : RLVTT, Psat_water,epsi 12 12 use gases_h 13 use radcommon_h, only: sigma 13 use radcommon_h, only: sigma, eclipse 14 14 use radii_mod, only: h2o_reffrad, co2_reffrad, h2o_cloudrad 15 15 use aerosol_mod … … 112 112 ! Loops converted to F90 matrix format: J. Leconte (2012) 113 113 ! No more ngridmx/nqmx, F90 commons and adaptation to parallel: A. Spiga (2012) 114 !115 114 !================================================================== 116 115 … … 460 459 ALLOCATE(fract(ngrid)) 461 460 461 !! this is defined in radcommon_h 462 ALLOCATE(eclipse(ngrid)) 463 462 464 ! variables set to 0 463 465 ! ~~~~~~~~~~~~~~~~~~ … … 700 702 ! WARNING: this function appears not to work in 1D 701 703 704 endif 705 706 !! Eclipse incoming sunlight (e.g. Saturn ring shadowing) 707 if (rings_shadow) then 708 if (diurnal) then 709 call rings(ngrid, declin, ptime, rad, 0., eclipse) 710 call writediagfi(ngrid,"shad","rings"," ", 2, 1.-eclipse) 711 write(*,*) "Ring shadow activated." 712 else 713 write(*,*) "Ring shadow + diurnal=F not supported yet." 714 endif 715 else 716 eclipse(:) = 0.0 702 717 endif 703 718 … … 1891 1906 IF ( ALLOCATED(sinlon)) DEALLOCATE(sinlon) 1892 1907 IF ( ALLOCATED(coslon)) DEALLOCATE(coslon) 1893 1894 1908 endif 1895 1909 -
trunk/LMDZ.GENERIC/libf/phystd/radcommon_h.F90
r1016 r1133 135 135 save Cmk 136 136 137 ! extinction of incoming sunlight (Saturn's rings, eclipses, etc...) 138 REAL, DIMENSION(:), ALLOCATABLE :: eclipse 137 139 138 140 end module radcommon_h
Note: See TracChangeset
for help on using the changeset viewer.