Ignore:
Timestamp:
Feb 7, 2024, 12:14:38 PM (11 months ago)
Author:
jbclement
Message:

Mars PCM:

  • Addition of the possibility to use subslopes parametization in 1D. To do so, put 'nslope=x' in "run.def" where x (1, 3, 5 or 7) is the number of slopes you want to, or modify it in an appropriate "startfi.nc". Then, default subslopes definition and distribution are used by the model. The already existing case of using one slope whose inclination and orientation are defined in "run.def" is still possible.
  • Some cleanings throughout the code, in particular related to unused variables.

JBC

File:
1 edited

Legend:

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

    r3183 r3203  
    17611761      select case(nslope)
    17621762          case(1)
     1763              default_def_slope(1) = -90.
     1764              default_def_slope(2) = 90.
     1765          case(3)
    17631766              default_def_slope(1) = -50.
    1764               default_def_slope(2) = 50.
     1767              default_def_slope(2) = -3.
     1768              default_def_slope(3) = 3.
     1769              default_def_slope(4) = 50.
    17651770          case(5)
    17661771              default_def_slope(1) = -43.
     
    17811786          case default
    17821787              write(*,*) 'Number of slopes not possible: nslope should
    1783      & be 1, 5 or 7!'
     1788     & be 1, 3, 5 or 7!'
    17841789              call abort
    17851790      end select
     
    18011806       ENDDO
    18021807
    1803        call subslope_mola(ngridmx,nslope_new,def_slope,subslope_dist)
     1808       if (ngridmx /= 1) then
     1809         call subslope_mola(ngridmx,nslope_new,def_slope,subslope_dist)
     1810       endif
    18041811
    18051812! Surfdat related stuff
Note: See TracChangeset for help on using the changeset viewer.