Changeset 1561 for LMDZ5/trunk/libf


Ignore:
Timestamp:
Aug 23, 2011, 9:10:27 AM (13 years ago)
Author:
Ehouarn Millour
Message:

Bug correction on the initialiaation of surface pressure in "academic" and aqua/terra-planet cases.
EM
PS: Don't forget that the aqua-terra planet case is so far only implemented in the seqiuential case.

Location:
LMDZ5/trunk/libf
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dyn3d/iniacademic.F90

    r1529 r1561  
    209209        ! surface pressure
    210210        if (iflag_phys>2) then
     211           ! specific value for CMIP5 aqua/terra planets
     212           ! "Specify the initial dry mass to be equivalent to
     213           !  a global mean surface pressure (101325 minus 245) Pa."
     214           ps(:)=101080. 
     215        else
     216           ! use reference surface pressure
    211217           ps(:)=preff
    212         else
    213            ps(:)=101080.
    214218        endif
     219       
    215220        ! ground geopotential
    216221        phis(:)=0.
  • LMDZ5/trunk/libf/dyn3dpar/iniacademic.F90

    r1520 r1561  
    115115  endif
    116116
    117   academic_case: if (iflag_phys == 2) then
     117  academic_case: if (iflag_phys >= 2) then
    118118     ! initializations
    119119
     
    208208     IF (.NOT. read_start) THEN
    209209        ! surface pressure
    210         ps(:)=preff
     210        if (iflag_phys>2) then
     211           ! specific value for CMIP5 aqua/terra planets
     212           ! "Specify the initial dry mass to be equivalent to
     213           !  a global mean surface pressure (101325 minus 245) Pa."
     214           ps(:)=101080. 
     215        else
     216           ! use reference surface pressure
     217           ps(:)=preff
     218        endif
     219       
    211220        ! ground geopotential
    212221        phis(:)=0.
Note: See TracChangeset for help on using the changeset viewer.