-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* adding global mass, penalty and separable boundary conditions
- Loading branch information
1 parent
c2fcb0f
commit 3bfc9dc
Showing
448 changed files
with
4,375 additions
and
26,791 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
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
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
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
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
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,25 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
if [[ "$1" == "help" || "$1" == "-help" || "$1" == "--help" ]]; then | ||
|
||
echo "" | ||
echo "usage: asgardplot.sh <filename> <plot opts>" | ||
echo "" | ||
echo "calls the asgard python quick plot utility" | ||
echo "for more details see:" | ||
echo "@Python_EXECUTABLE@ -m asgard --help" | ||
echo "" | ||
|
||
exit 0; | ||
fi | ||
|
||
|
||
if [ ! -f $1 ]; then | ||
echo "cannot find file '$1'" | ||
exit 1 | ||
fi | ||
|
||
@Python_EXECUTABLE@ -m asgard $@ | ||
|
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,39 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e # exit on first error | ||
#set -x # plot every command (debugging purposes) | ||
|
||
if [[ "$1" == "help" || "$1" == "-help" || "$1" == "--help" ]]; then | ||
|
||
echo "" | ||
echo "usage: asgardrun.sh <executable> <options>" | ||
echo "usage: asgardrun.sh -plt \"<plotter opts>\" <executable> <options>" | ||
echo "" | ||
echo "runs the executable file with the given options" | ||
echo "adding '-of _plt.h5' to save the output in a temp-file" | ||
echo "then calls the plotter on the temp file" | ||
echo "starting with the -plt switch allows passing options to the final plotter" | ||
echo "for example: asgardrun.sh -plt -grid continuity -dims 2 -l 5" | ||
echo "" | ||
|
||
exit 0; | ||
fi | ||
|
||
plt_opts="" | ||
|
||
if [[ "$1" == "-plt" ]]; then | ||
plt_opts="$2" | ||
shift | ||
shift | ||
fi | ||
|
||
exename=$1 | ||
|
||
shift | ||
|
||
echo $1 | ||
|
||
./$exename $@ -of _plt.h5 | ||
|
||
@Python_EXECUTABLE@ -m asgard _plt.h5 $plt_opts | ||
|
This file was deleted.
Oops, something went wrong.
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
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
Oops, something went wrong.