Corrected buoyancy BCs for p.

This commit is contained in:
henry
2009-07-10 12:59:51 +01:00
parent 66ed15f2c3
commit 90298600e0
18 changed files with 123 additions and 91 deletions

View File

@ -37,12 +37,13 @@ getApplication ()
runApplication ()
{
APP_RUN=$1; shift
APP_NAME=${APP_RUN##*/}
if [ -f log.$APP_RUN ] ; then
echo "$APP_RUN already run on $PWD: remove log file to run"
if [ -f log.$APP_NAME ] ; then
echo "$APP_NAME already run on $PWD: remove log file to run"
else
echo "Running $APP_RUN on $PWD"
$APP_RUN $* > log.$APP_RUN 2>&1
$APP_RUN $* > log.$APP_NAME 2>&1
fi
}