Skip to content

Increase the max solver iterations#2

Open
danshapero wants to merge 1 commit intofastice:masterfrom
danshapero:max-iterations
Open

Increase the max solver iterations#2
danshapero wants to merge 1 commit intofastice:masterfrom
danshapero:max-iterations

Conversation

@danshapero
Copy link
Copy Markdown

This change increases the max number of iterations for the diagnostic solver. I added regularization to Glen's flow law around zero strain rate to icepack, but with the default of 50 max iterations this makes the inverse solver fail. Increasing to 100 max iterations seems to make the code work again. On the first call to diagnostic solve, the initial guess is quite far from the final result, so the need to increase the number of iterations shouldn't be too concerning.

This was necessary to make the solver converge only on the first call
after changes to icepack to regularize Glen's flow law around zero
strain rate.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant