Changeset 3432 for LMDZ6


Ignore:
Timestamp:
Jan 18, 2019, 6:29:40 PM (6 years ago)
Author:
lguez
Message:

Move the call to config_ocean_skin out of !$OMP MASTER in procedure
conf_phys. Definition of jcool, jwarm and rain_effect must be done by
all threads.

Use keywords in call to bulk_flux in procedure surf_ocean, for clarity.

Define CPP_KEY IN_LMDZ in makelmdz_fcm. This could be useful for any
external code used with LMDZ.

Move the Ocean_skin folder out of the LMDZ tree. This is more
convenient and clearer because Ocean_skin stays under Git control for
now. So we do not declare a phylmd/Ocean_skin folder in
"bld.cfg". Instead, we use the option -ext_src of makelmdz_fcm.

Location:
LMDZ6/branches/Ocean_skin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Ocean_skin/bld.cfg

    r3429 r3432  
    3737src::cosp    %COSP
    3838src::ext_src %EXT_SRC
    39 src::ocean_skin %SRC_PATH/phylmd/Ocean_skin
    4039
    4140bld::lib            lmdz
     
    4847dir::root            %CONFIG_PATH
    4948#dir::lib             %BASE_CONFIG_PATH
    50 dir::bin             %LIBO
     49dir::bin             %ROOT_PATH/bin
    5150
    5251#search_src           1
  • LMDZ6/branches/Ocean_skin/libf/phylmd/conf_phys_m.F90

    r3429 r3432  
    21712171    CALL getin('level_coupling_esm',level_coupling_esm_omp)
    21722172    ! << PC
    2173 
    2174     call config_ocean_skin
    21752173
    21762174    !$OMP END MASTER
     
    27472745
    27482746    !$OMP END MASTER
    2749 
    2750     RETURN
     2747    call config_ocean_skin
    27512748
    27522749  END SUBROUTINE conf_phys
  • LMDZ6/branches/Ocean_skin/libf/phylmd/surf_ocean_mod.F90

    r3429 r3432  
    318318    s1 = 35.
    319319    call bulk_flux(tkt, tks, taur, dter, dser, t_int, s_int, ds_ns, dt_ns, &
    320          windsp(:knon), tsurf_new(:knon), s1, precip_tot, - fluxsens(:knon), &
    321          - fluxlat(:knon), - lwnet(:knon), &
    322          sqrt(flux_u1(:knon)**2 + flux_v1(:knon)**2), rhoa, xlv, rf, dtime, &
    323          swnet(:knon))
     320         u = windsp(:knon), t_ocean_1 = tsurf_new(:knon), s1 = s1, &
     321         rain = precip_tot, hf = - fluxsens(:knon), hlb = - fluxlat(:knon), &
     322         rnl = - lwnet(:knon), &
     323         tau = sqrt(flux_u1(:knon)**2 + flux_v1(:knon)**2), rhoa = rhoa, &
     324         xlv = xlv, rf = rf, dtime = dtime, rns = swnet(:knon))
    324325
    325326  END SUBROUTINE surf_ocean
Note: See TracChangeset for help on using the changeset viewer.