Ignore:
Timestamp:
Aug 28, 2015, 11:38:53 AM (9 years ago)
Author:
Ehouarn Millour
Message:

Corrections for the 1D model to fix initializations broken with previous revision.
EM+MPL

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/dynlonlat_phylonlat/phylmd/iniphysiq_mod.F90

    r2351 r2354  
    109109
    110110  ! Initialize Physics distibution and parameters and interface with dynamics
    111   CALL init_physics_distribution(regular_lonlat,4, &
     111  IF (klon_glo>1) THEN ! general 3D case
     112    CALL init_physics_distribution(regular_lonlat,4, &
    112113                                 nbp,ii,jj+1,nlayer,communicator)
     114  ELSE ! For 1D model
     115    CALL init_physics_distribution(regular_lonlat,4, &
     116                                 1,1,1,nlayer,communicator) 
     117  ENDIF
    113118  CALL init_interface_dyn_phys
    114119 
     
    254259  CALL init_time(annee_ref,day_ref,day_ini,start_time,nday,ptimestep)
    255260
    256   ! Initialize dimphy module
    257   CALL Init_dimphy(klon_omp,nlayer)
     261  ! Initialize dimphy module (unless in 1D where it has already been done)
     262  IF (klon_glo>1) CALL Init_dimphy(klon_omp,nlayer)
    258263
    259264  ! Copy over "offline" settings
Note: See TracChangeset for help on using the changeset viewer.