Skip to content

Commit

Permalink
Fix BCs + default output filename
Browse files Browse the repository at this point in the history
  • Loading branch information
danshapero committed Jan 19, 2024
1 parent f93d160 commit ff10c2c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions demos/kangerd/initialize.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
parser.add_argument("--outline")
parser.add_argument("--num-levels", type=int, default=1)
parser.add_argument("--degree", type=int, default=1)
parser.add_argument("--regularization", type=float, default=5e3)
parser.add_argument("--output")
parser.add_argument("--regularization", type=float, default=2.5e3)
parser.add_argument("--output", default="kangerdlugssuaq-initial.h5")
args = parser.parse_args()

# Fetch the glacier outline, generate a mesh, and create function spaces
Expand Down Expand Up @@ -170,7 +170,7 @@ def bed_friction(**kwargs):

flow_model = icepack.models.IceStream(friction=bed_friction)
opts = {
"dirichlet_ids": [1, 2, 4],
"dirichlet_ids": [1, 2, 3, 4],
"diagnostic_solver_type": "petsc",
"diagnostic_solver_parameters": {
"snes_type": "newtontr",
Expand Down

0 comments on commit ff10c2c

Please sign in to comment.