Ignore:
Timestamp:
Jan 24, 2020, 3:15:03 PM (5 years ago)
Author:
abierjon
Message:

Mars GCM:
Bug fix in physiq_mod for 1D runs, where the routine getslopes reinitialized the slope inclination and orientation to 0, while they were assigned in the input files.
BR+JN+AB

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/LMDZ.MARS/libf/phymars/physiq_mod.F

    r2223 r2224  
    610610
    611611#ifndef MESOSCALE
    612          if (callslope) call getslopes(ngrid,phisfi)
    613 
    614          if (ngrid.ne.1) then ! no need to create a restart file in 1d
    615          call physdem0("restartfi.nc",longitude,latitude,
    616      &                 nsoilmx,ngrid,nlayer,nq,
    617      &                 ptimestep,pday,time_phys,cell_area,
    618      &                 albedodat,inertiedat,zmea,zstd,zsig,zgam,zthe,
    619      &                 hmons,summit,base)
     612
     613         if (ngrid.ne.1) then
     614           ! no need to compute slopes when in 1D; it is an input
     615           if (callslope) call getslopes(ngrid,phisfi)
     616           ! no need to create a restart file in 1d
     617           call physdem0("restartfi.nc",longitude,latitude,
     618     &                   nsoilmx,ngrid,nlayer,nq,
     619     &                   ptimestep,pday,time_phys,cell_area,
     620     &                   albedodat,inertiedat,zmea,zstd,zsig,zgam,zthe,
     621     &                   hmons,summit,base)
    620622         endif
    621623
Note: See TracChangeset for help on using the changeset viewer.