Changeset 5023 for LMDZ6/trunk


Ignore:
Timestamp:
Jul 5, 2024, 4:53:42 PM (2 months ago)
Author:
Sebastien Nguyen
Message:

change pbl_surface and associated routines to symlinks towards phylmd routines

Location:
LMDZ6/trunk/libf/phylmdiso
Files:
8 added
4 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/trunk/libf/phylmdiso/phys_local_var_mod.F90

    r5007 r5023  
    10421042      ALLOCATE(xtrunoff_diag(niso,klon))
    10431043      ALLOCATE(h1_diag(klon),runoff_diag(klon))
     1044!SN
     1045      runoff_diag(:)=0. ; xtrunoff_diag(:,:)=0. ! because variables are only given values on knon grid points
    10441046#endif
    10451047!
  • LMDZ6/trunk/libf/phylmdiso/phys_output_ctrlout_mod.F90

    r5007 r5023  
    20002000  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_xtoliq(:)
    20012001  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_xtcond(:)
     2002  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_xtrunoff_diag(:)
    20022003  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_dxtdyn(:)
    20032004  TYPE(ctrl_out), SAVE, ALLOCATABLE :: o_dxtldyn(:)
     
    20972098  TYPE(ctrl_out), SAVE :: o_runoff = ctrl_out((/ 1, 1, 10, 1, 10, 10, 11, 11, 11, 11/), &
    20982099    'runoff', 'Run-off rate land ice', 'kg/m2/s', (/ ('', i=1, 10) /))
     2100#ifdef ISO
     2101  TYPE(ctrl_out), SAVE :: o_runoff_diag = ctrl_out((/ 1, 1, 10, 1, 10, 10, 11, 11, 11, 11/), &
     2102    'runoffland', 'Run-off rate land for bucket', 'kg/m2/s', (/ ('', i=1, 10) /))
     2103#endif
    20992104  TYPE(ctrl_out), SAVE :: o_albslw3 = ctrl_out((/ 1, 1, 1, 1, 10, 10, 11, 11, 11, 11/), &
    21002105    'albslw3', 'Surface albedo LW3', '-', (/ ('', i=1, 10) /))
  • LMDZ6/trunk/libf/phylmdiso/phys_output_mod.F90

    r4817 r5023  
    178178    ALLOCATE(o_xtoliq(ntraciso))
    179179    ALLOCATE(o_xtcond(ntraciso))
     180    ALLOCATE(o_xtrunoff_diag(ntraciso))
    180181    ALLOCATE(o_dxtdyn(ntraciso))
    181182    ALLOCATE(o_dxtldyn(ntraciso))
     
    569570      o_xtcond  (ixt)=ctrl_out(flag,  'ocond'//TRIM(outiso),       'Condensed water', unit, [('',i=1,nfiles)])
    570571
     572      flag = [1,  1,  1, 10, 5, 10, 11, 11, 11, 11]; unit = 'kg/m2/s'
     573      o_xtrunoff_diag  (ixt)=ctrl_out(flag, 'runoffland'//TRIM(outiso), 'Run-off rate land for bucket', unit, [('',i=1,nfiles)])
     574
    571575      flag = [4, 10, 10, 10, 10, 10, 11, 11, 11, 11]; unit = '(kg/kg)/s'
    572576      o_dxtdyn  (ixt)=ctrl_out(flag,  'dqdyn'//TRIM(outiso),           'Dynamics dQ', unit, [('',i=1,nfiles)])
  • LMDZ6/trunk/libf/phylmdiso/physiq_mod.F90

    r5007 r5023  
    26832683    ENDDO
    26842684#ifdef ISO
    2685     do ixt=1,ntraciso
     2685    DO ixt=1,ntraciso
    26862686    xtql1(ixt,:)=0.0
    26872687    DO k = 1, klev
     
    26942694      ENDIF
    26952695    ENDDO !DO k = 1, klev
    2696     enddo !do ixt=1,ntraciso
     2696    ENDDO !DO ixt=1,ntraciso
    26972697#endif
    26982698    ENDIF
Note: See TracChangeset for help on using the changeset viewer.