Ignore:
Timestamp:
Jul 1, 2014, 2:44:17 AM (11 years ago)
Author:
bclmd
Message:

LMDZ Generic: slab ocean added for rcm1d

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/rcm1d.F

    r1275 r1303  
    1515      use phyredem, only: physdem0,physdem1
    1616      use comgeomphy, only: initcomgeomphy
     17      use slab_ice_h, only: noceanmx
     18
    1719      implicit none
    1820
     
    115117      REAL hice(1),totcloudfrac(1)
    116118      REAL qzero1D   !initial water amount on the ground
     119
     120!     added by BC for ocean
     121      real rnat(1)
     122      REAL tslab(1,noceanmx),tsea_ice(1),sea_ice(1)
     123      real pctsrf_sic(1)
     124
     125
    117126
    118127!     added by AS to avoid the use of adv trac common
     
    718727
    719728
     729! Initialize slab ocean
     730! -----------------
     731      rnat=1. ! default value for rnat
     732      if(inertiedat(1,1).GE.10000.)then
     733         rnat=0.
     734      endif
     735      if(ok_slab_ocean)then
     736      rnat=0.
     737      tslab(1,1)=tsurf(1)
     738      tslab(1,2)=tsurf(1)
     739      tsea_ice=tsurf
     740      pctsrf_sic=0.
     741      sea_ice=0.
     742      endif
     743
     744
     745
    720746c  Write a "startfi" file
    721747c  --------------------
     
    729755     &                dtphys,time,
    730756     &                tsurf,tsoil,emis,q2,qsurf,
    731      &                cloudfrac,totcloudfrac,hice)
     757     &                cloudfrac,totcloudfrac,hice,
     758     &                rnat,pctsrf_sic,tslab,tsea_ice,sea_ice)
    732759
    733760!      call physdem1(1,"startfi.nc",long,lati,nsoilmx,nq,
     
    891918#include "../dyn3d/disvert.F"
    892919#include "../dyn3d/abort_gcm.F"
     920#include "../dyn3d/diverg.F"
     921#include "../dyn3d/grad.F"
     922#include "../dyn3d/gr_u_scal.F"
     923#include "../dyn3d/gr_v_scal.F"
     924#include "../dyn3d/gr_dyn_fi.F"
     925
Note: See TracChangeset for help on using the changeset viewer.