Changeset 4022 for LMDZ6/branches


Ignore:
Timestamp:
Nov 26, 2021, 8:27:27 AM (3 years ago)
Author:
lguez
Message:

Bug fix: define fields written to startphy

Else ce0l crashes in debug mode.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ6/branches/Ocean_skin/libf/dynphy_lonlat/phylmd/etat0phys_netcdf.F90

    r4013 r4022  
    9393  USE conf_phys_m, ONLY: conf_phys
    9494  USE init_ssrf_m, ONLY: start_init_subsurf
     95  USE phys_state_var_mod, ONLY: beta_aridity, delta_tsurf, awake_dens, cv_gen, &
     96       ratqs_inter
    9597  !use ioipsl_getincom
    9698  IMPLICIT NONE
     
    127129  LOGICAL :: filtre_oro=.false.
    128130
     131  INCLUDE "compbl.h"
     132  INCLUDE "thermcell.h"
     133 
    129134  deg2rad= pi/180.0
    130135  iml=assert_eq(SIZE(masque,1),SIZE(phis,1),TRIM(modname)//" iml")
     
    230235  wake_delta_pbl_TKE(:,:,:)=0
    231236  wake_dens(:)=0
     237  awake_dens = 0.
     238  cv_gen = 0.
    232239  ale_bl = 0.
    233240  ale_bl_trig =0.
     
    272279  CALL fonte_neige_init(run_off_lic_0)
    273280  CALL pbl_surface_init( fder, snsrf, qsurf, tsoil )
     281
     282  IF (iflag_pbl>1 .AND. iflag_wake>=1  .AND. iflag_pbl_split >=1) then
     283     delta_tsurf = 0.
     284     beta_aridity = 0.
     285  end IF
     286
     287  ratqs_inter = 0.002
    274288  CALL phyredem( "startphy.nc" )
    275289
Note: See TracChangeset for help on using the changeset viewer.