Changeset 1350 for trunk/LMDZ.GENERIC


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

Location:
trunk/LMDZ.GENERIC
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.GENERIC/README

    r1329 r1350  
    10471047- corrected insolation calculation in locked and inclined case (proper calculation of sub solar longitude and declination)
    10481048- in the ring shadow calculation, temporary variables for the orbbital parameters are now used (we want the declin and RA output at the same time w and wo rings)
     1049
     1050== 29/09/2014 == EM
     1051- Added missing allocation in soil_settings, needed when changing number of
     1052  soil layers.
  • 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.