Ignore:
Timestamp:
Jun 15, 2021, 1:18:14 PM (3 years ago)
Author:
crisi
Message:

replace files by symbloic liks from phylmdiso towards phylmd.
Many files at once

File:
1 edited

Legend:

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

    r3927 r3940  
    4545    INCLUDE "dimsoil.h"
    4646    INCLUDE "clesphys.h"
     47
     48    INCLUDE "YOMCST.h"
     49    ! for rd and retv
    4750
    4851! Input arguments
     
    113116    REAL, DIMENSION(klon) :: alb1_new,alb2_new
    114117!albedo SB <<<
    115 !
     118
     119    real rhoa(knon) ! density of moist air  (kg / m3)
     120
    116121! End definitions
    117122!****************************************************************************************
     
    124129    radsol(:) = 0.0
    125130    radsol(1:knon) = swnet(1:knon) + lwnet(1:knon)
     131
     132    rhoa = PS(:KNON) / (Rd * temp_air(:knon) * (1. + retv * spechum(:knon)))
    126133
    127134!****************************************************************************************
     
    142149            radsol, snow, qsurf, &
    143150            alb1_new, alb2_new, evap, fluxsens, fluxlat, flux_u1, flux_v1, &
    144             tsurf_new, dflux_s, dflux_l)
     151            tsurf_new, dflux_s, dflux_l, rhoa)
    145152       
    146153    ELSE IF (type_ocean == 'slab'.AND.version_ocean=='sicINT') THEN
     
    164171            radsol, snow, qsol, agesno, tsoil, &
    165172            qsurf, alb1_new, alb2_new, evap, fluxsens, fluxlat, flux_u1, flux_v1, &
    166             tsurf_new, dflux_s, dflux_l &
     173            tsurf_new, dflux_s, dflux_l, rhoa &
    167174#ifdef ISO
    168175            ,xtprecip_rain, xtprecip_snow, xtspechum,Roce, &
Note: See TracChangeset for help on using the changeset viewer.