Ignore:
Timestamp:
May 19, 2014, 12:50:10 PM (11 years ago)
Author:
aslmd
Message:

MESOSCALE. adapted scripts and manual for free vertical levels.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/makemeso

    r1247 r1272  
    148148      lon=999
    149149      lat=999
     150      level=999
    150151   else
    151152      echo Grid points in longitude ? ; read lon
    152153      echo Grid points in latitude ? ; read lat
     154      echo Number of vertical levels ? ; read level
    153155   fi
    154   echo Number of vertical levels ? ; read level
    155156  fi
    156157  echo Number of domains ? ; read dom
     
    356357         echo MPICH is in ${WHERE_MPI}
    357358       fi
    358   echo you have ${level} z points
    359   echo '         '${dom} domains
     359  echo you have ${dom} domains
    360360  if [[ "${phys}" == "newphys_" ]]
    361361  then
     
    363363   echo x points can be changed without recompiling
    364364   echo y points can be changed without recompiling
     365   echo z points can be changed without recompiling
    365366   echo number of tracers can be changed without recompiling
    366367  else
     
    368369   echo you have ${lon} x points
    369370   echo '         '${lat} y points
     371   echo '         '${level} z points
    370372   echo '         '${tra} tracers
    371373  fi
     
    383385    echo ${lon} >> last
    384386    echo ${lat} >> last
    385   fi
    386   echo ${level} >> last
     387    echo ${level} >> last
     388  fi
    387389  echo ${dom} >> last
    388390  if [[ "${phys}" != "newphys_" ]]
     
    692694  if [[ "${phys}" == "newphys_" ]]
    693695  then
    694     ln -sf ../../meso_dimphys.h_ref .
    695   fi
    696   physize=$(expr ${physx} \* ${physy})
    697   sed s/--xsize--/${physx}/g meso_dimphys.h_ref | sed s/--ysize--/${physy}/g | sed s/--physize--/${physize}/g | sed s/--zsize--/${physz}/g | sed s/--soilsize--/${soilsize}/g > dimphys.h
    698   head -15 dimphys.h
     696    ln -sf ../../meso_dimphys.h_ref . ## ne sert plus !!
     697  else
     698    physize=$(expr ${physx} \* ${physy})
     699    sed s/--xsize--/${physx}/g meso_dimphys.h_ref | sed s/--ysize--/${physy}/g | sed s/--physize--/${physize}/g | sed s/--zsize--/${physz}/g | sed s/--soilsize--/${soilsize}/g > dimphys.h
     700    head -15 dimphys.h
     701  fi
    699702     ### TEST new new phys
    700703     if [[ "${phys}" == "newphys_" ]]
Note: See TracChangeset for help on using the changeset viewer.