-
-
Notifications
You must be signed in to change notification settings - Fork 113
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update script and merged parameter files for deal.II * Apply suggestions from code review * Update parameter files * Remove duplicated parameter file * Update run scripts * Update last run.sh script * Fix typos in parameter files * Update multiple-perpendicular-flaps/solid-right-dealii/parameters.prm * Add comment on linear residual in parameter file Co-authored-by: Benjamin Uekermann <[email protected]>
- Loading branch information
Showing
11 changed files
with
161 additions
and
354 deletions.
There are no files selected for viewing
71 changes: 0 additions & 71 deletions
71
multiple-perpendicular-flaps/solid-left-dealii/linear_elasticity.prm
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,30 @@ | ||
#!/bin/bash | ||
cd ${0%/*} || exit 1 # Run from this directory | ||
|
||
# Solid1 participant | ||
# Solid participant | ||
|
||
# Run this script in one terminal and the execute the Fluid participant | ||
# and the Solid2 participant in another terminal. | ||
# These scripts present how the three participants would be started manually. | ||
# in another terminal. | ||
# These scripts present how the two participants would be started manually. | ||
|
||
# 1 for true, 0 for false | ||
nonlinear=0 | ||
if [ "$1" = "-nonlinear" ]; then | ||
nonlinear=1 | ||
fi | ||
for i in "$@" | ||
do | ||
case $i in | ||
-p=*|--prefix=*) | ||
SEARCHPATH="${i#*=}" | ||
shift # past argument=value | ||
;; | ||
*) | ||
# unknown option | ||
;; | ||
esac | ||
done | ||
|
||
linear=0 | ||
if [ "$1" = "-linear" ]; then | ||
linear=1 | ||
if test -f "elasticity"; then | ||
./elasticity parameters.prm | ||
elif [ ! -z ${SEARCHPATH} ]; then | ||
${SEARCHPATH}/elasticity parameters.prm | ||
else | ||
echo "Unable to find the executable 'elasticity'. Either specify a prefix (-p=/path/to/elasticity) or make it discoverable at runtime (e.g. export PATH)" | ||
fi | ||
|
||
if [ $linear -eq 1 ]; then | ||
./linear_elasticity linear_elasticity.prm | ||
elif [ $nonlinear -eq 1 ]; then | ||
./nonlinear_elasticity nonlinear_elasticity.prm | ||
else | ||
echo "No solver type specified. Please specify -linear or -nonlinear as solver type" | ||
fi |
71 changes: 0 additions & 71 deletions
71
multiple-perpendicular-flaps/solid-right-dealii/linear_elasticity.prm
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,30 @@ | ||
#!/bin/bash | ||
cd ${0%/*} || exit 1 # Run from this directory | ||
|
||
# Solid2 participant | ||
# Solid participant | ||
|
||
# Run this script in one terminal and the execute the Fluid participant | ||
# and the Solid1 participant in another terminal. | ||
# These scripts present how the three participants would be started manually. | ||
# in another terminal. | ||
# These scripts present how the two participants would be started manually. | ||
|
||
# 1 for true, 0 for false | ||
nonlinear=0 | ||
if [ "$1" = "-nonlinear" ]; then | ||
nonlinear=1 | ||
fi | ||
for i in "$@" | ||
do | ||
case $i in | ||
-p=*|--prefix=*) | ||
SEARCHPATH="${i#*=}" | ||
shift # past argument=value | ||
;; | ||
*) | ||
# unknown option | ||
;; | ||
esac | ||
done | ||
|
||
linear=0 | ||
if [ "$1" = "-linear" ]; then | ||
linear=1 | ||
if test -f "elasticity"; then | ||
./elasticity parameters.prm | ||
elif [ ! -z ${SEARCHPATH} ]; then | ||
${SEARCHPATH}/elasticity parameters.prm | ||
else | ||
echo "Unable to find the executable 'elasticity'. Either specify a prefix (-p=/path/to/elasticity) or make it discoverable at runtime (e.g. export PATH)" | ||
fi | ||
|
||
if [ $linear -eq 1 ]; then | ||
./linear_elasticity linear_elasticity.prm | ||
elif [ $nonlinear -eq 1 ]; then | ||
./nonlinear_elasticity nonlinear_elasticity.prm | ||
else | ||
echo "No solver type specified. Please specify -linear or -nonlinear as solver type" | ||
fi |
Oops, something went wrong.