Skip to content

Commit

Permalink
Change run.sh to use complex interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
BenjaminRodenberg committed Sep 28, 2023
1 parent 63273dd commit 5d22b76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 0 additions & 3 deletions partitioned-heat-conduction-complex/fenics/heat.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ def determine_gradient(V_g, u, flux):
parser.add_argument("-n", "--neumann", help="create a neumann problem", dest='neumann', action='store_true')
parser.add_argument("-g", "--gamma", help="parameter gamma to set temporal dependence of heat flux", default=0.0,
type=float)
parser.add_argument("-a", "--arbitrary-coupling-interface",
help="uses more general, but less exact method for interpolation on coupling interface,"
"see https://github.com/precice/fenics-adapter/milestone/1", action='store_true')
parser.add_argument("-i", "--interface", metavar="interface_type string", type=str, choices=['simple', 'complex'],
help="Type of coupling interface case to be solved. Options: simple, complex", default="simple")
parser.add_argument("-dom", "--domain", metavar='domain_type string', type=str,
Expand Down
4 changes: 2 additions & 2 deletions partitioned-heat-conduction-complex/fenics/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ set -e -u
while getopts ":dn" opt; do
case ${opt} in
d)
python3 heat.py -d -a
python3 heat.py -d -i complex
;;
n)
python3 heat.py -n -a
python3 heat.py -n -i complex
;;
\?)
echo "Usage: cmd [-d] [-n]"
Expand Down

0 comments on commit 5d22b76

Please sign in to comment.