STYLE: adjust tutorial Allrun scripts (issue #310)

- A few without a 'cd' at the start.
  Use $(getApplication) directly in more places (for clarity).
This commit is contained in:
Mark Olesen
2016-11-21 10:18:00 +01:00
parent 21679c04e4
commit a6a90838fa
150 changed files with 226 additions and 378 deletions

View File

@ -4,12 +4,9 @@ cd ${0%/*} || exit 1 # Run from this directory
# Source tutorial run functions
. $WM_PROJECT_DIR/bin/tools/RunFunctions
# Set application name
application=$(getApplication)
runApplication blockMesh
runApplication -s 1 topoSet
runApplication -s 1 topoSet
runApplication subsetMesh -overwrite c0 -patch floatingObject
@ -20,6 +17,6 @@ runApplication createPatch -overwrite
restore0Dir
runApplication $application
runApplication $(getApplication)
#------------------------------------------------------------------------------