Ignore:
Timestamp:
Sep 29, 2014, 9:24:04 AM (10 years ago)
Author:
emillour
Message:

Generic model physics:

  • Added missing allocation in soil_settings, needed when changing number of soil layers.

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/libf/phystd/soil_settings.F

    r1297 r1350  
    8888        ! soil temperatures and thermal inertia will be requiered
    8989          interpol=.true.
     90        ! allocate olmlayer 
     91          allocate(oldmlayer(dimlen),stat=ierr)
     92          if (ierr.ne.0) then
     93            write(*,*) 'soil_settings: failed allocation of oldmlayer!'
     94            stop
     95          endif
    9096        endif
    9197! 1.2 Find out the # of dimensions <inertiedat> was defined as using
Note: See TracChangeset for help on using the changeset viewer.