-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixing runexample scripts to reflect the new example directory structure
- Loading branch information
unknown
authored and
unknown
committed
Nov 2, 2014
1 parent
39740bd
commit 82f1be2
Showing
3 changed files
with
21 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
#!/bin/bash | ||
if [ $# -lt 2 ]; then | ||
echo | ||
echo "You must specify the example name and the model name" | ||
echo " You can optionall add arguments specifying duration and time step." | ||
echo "You must specify what kind of example to run (core/plugin), the example name, and the model name" | ||
echo " You can optionally add arguments specifying duration and time step." | ||
echo " Example:" | ||
echo " ./runExample headon pedvo" | ||
echo " ./runExample headon pedvo 30" | ||
echo " ./runExample headon pedvo 30 0.01" | ||
echo " ./runExample core headon pedvo" | ||
echo " ./runExample core headon pedvo 30" | ||
echo " ./runExample core headon pedvo 30 0.01" | ||
else | ||
if [ $# = 2 ]; then | ||
./menge -b ../examples/$1B.xml -s ../examples/$1S.xml --view ../examples/$1V.xml -m $2 | ||
if [ $# = 3 ]; then | ||
./menge -p ../examples/$1/$2.xml -m $3 | ||
else | ||
if [ $# = 3 ]; then | ||
./menge -b ../examples/$1B.xml -s ../examples/$1S.xml --view ../examples/$1V.xml -m $2 -d $3 | ||
if [ $# = 4 ]; then | ||
./menge -p ../examples/$1/$2.xml -m $3 -d $4 | ||
else | ||
./menge -b ../examples/$1B.xml -s ../examples/$1S.xml --view ../examples/$1V.xml -m $2 -d $3 -t $4 | ||
./menge -p ../examples/$1/$2.xml -m $3 -d $4 -t $5 | ||
fi | ||
fi | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
menge -s ..\examples\%1S.xml -b ..\examples\%1B.xml --view ..\examples\%1V.xml -m %2 -d 100 | ||
menge -p ..\examples\%1\%2.xml -m %3 -d 100 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Release 0.8.1 | ||
November 2, 2014 | ||
Corrected run example scripts for windows and linux | ||
|
||
---------------------------------------------------------------- | ||
|
||
Release 0.8.0 | ||
October 18, 2014 | ||
Initial release | ||
|