Changeset 1272


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

MESOSCALE. adapted scripts and manual for free vertical levels.

Location:
trunk/MESOSCALE
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/MESOSCALE/LMD_MM_MARS/SIMU/runmeso

    r1247 r1272  
    390390     echo ${nx} >> ${simu_folder}/makemeso_input
    391391     echo ${ny} >> ${simu_folder}/makemeso_input
    392    fi
    393    echo ${nz} >> ${simu_folder}/makemeso_input
     392     echo ${nz} >> ${simu_folder}/makemeso_input
     393   fi
    394394   echo ${nest} >> ${simu_folder}/makemeso_input
    395395   if [[ ${newphys} -eq 0 ]]
  • 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_" ]]
  • trunk/MESOSCALE/MANUAL/SRC/advance.tex

    r1258 r1272  
    152152\item (prior to version \ttt{r1247}) the number of scatterers must be given when compiling, standard simulation uses 1 scatterer (2 is used for radiatively active water ice clouds)
    153153\item (starting from version \ttt{r1247}) the model does not need to be recompiled if the number of scatterers is changed
     154\item (starting from version \ttt{r1272}) the model does not need to be recompiled if the number of vertical levels is changed
    154155\end{finger}
    155156
Note: See TracChangeset for help on using the changeset viewer.