Changeset 1247 for trunk/MESOSCALE/LMD_MM_MARS/SIMU/runmeso
- Timestamp:
- May 11, 2014, 3:56:22 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MESOSCALE/LMD_MM_MARS/SIMU/runmeso
r1045 r1247 191 191 echo '** Domain(s) >>> '${nest} 192 192 echo '** Tracer(s) >>> '${tracers} 193 194 ############ SCATTERERS SCATTERERS ######195 if [[ ${newphys} -eq 1 ]]196 then197 #### CHANGE THIS IF YOU ADD NEW SCENARIOS198 case ${mars_scenario} in199 0) scat=1 ;;200 1) echo "!! How many scatterers are you using : 1,2,..." ; read scat ;;201 2) scat=1 ;;202 3) scat=1 ;;203 11) echo "!! How many scatterers are you using : 1,2,..." ; read scat ;;204 12) echo "!! How many scatterers are you using : 1,2,..." ; read scat ;;205 20) scat=1 ;;206 *) scat=1 ;;207 esac208 echo '** Scatterers >>> '${scat}209 else210 #### USELESS here BUT COMPATIBILITY211 scat=1212 fi213 #########################################214 215 193 echo '** Grid points >>> '${nx}" x "${ny}" x "${nz} 216 194 echo '** Horizontal resolution >>> '${dx} … … 379 357 cd ${simu_folder} 380 358 ## corresponding executables 381 wrfexe=${work_folder}/wrf_x${nx}_y${ny}_z${nz}_d${nest}_t${tracers}_p${numproc} _s${scat}.exe382 realexe=${work_folder}/real_x${nx}_y${ny}_z${nz}_d${nest}_t${tracers}_p${numproc} _s${scat}.exe359 wrfexe=${work_folder}/wrf_x${nx}_y${ny}_z${nz}_d${nest}_t${tracers}_p${numproc}.exe 360 realexe=${work_folder}/real_x${nx}_y${ny}_z${nz}_d${nest}_t${tracers}_p${numproc}.exe 383 361 if [[ ${fresh} -eq 0 && -f ${wrfexe} ]] 384 362 then … … 404 382 touch ${simu_folder}/makemeso_input 405 383 echo ${compilo} >> ${simu_folder}/makemeso_input 406 if [[ "${compilo}" = "3" || "${compilo}" = "5" ]] 384 if [[ ${newphys} -eq 0 ]] 385 then 386 if [[ "${compilo}" = "3" || "${compilo}" = "5" ]] 407 387 then 408 388 echo ${numproc} >> ${simu_folder}/makemeso_input 409 fi 410 echo ${nx} >> ${simu_folder}/makemeso_input 411 echo ${ny} >> ${simu_folder}/makemeso_input 389 fi 390 echo ${nx} >> ${simu_folder}/makemeso_input 391 echo ${ny} >> ${simu_folder}/makemeso_input 392 fi 412 393 echo ${nz} >> ${simu_folder}/makemeso_input 413 394 echo ${nest} >> ${simu_folder}/makemeso_input 414 echo ${tracers} >> ${simu_folder}/makemeso_input 415 if [[ ${newphys} -eq 1 ]] 416 then 417 echo ${scat} >> ${simu_folder}/makemeso_input 418 #echo 'n' >> ${simu_folder}/makemeso_input 395 if [[ ${newphys} -eq 0 ]] 396 then 397 echo ${tracers} >> ${simu_folder}/makemeso_input 419 398 fi 420 399 #
Note: See TracChangeset
for help on using the changeset viewer.