Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GeoMechanicsApplication] Fixed a bug where the maximum number of iterations was not properly read #12354

Merged
merged 2 commits into from
May 8, 2024

Conversation

avdg81
Copy link
Contributor

@avdg81 avdg81 commented May 7, 2024

In the C++ workflow for settlement analyses, the maximum number of iterations was read from setting "max_iteration", whereas we normally use "max_iterations" (mind the extra s at the end of the latter). Now the value is read from the expected setting (i.e. "max_iterations").

Note that a similar approach was already followed for the Python route.

In the C++ workflow for settlement analyses, the maximum number of
iterations was read from setting "max_iteration", whereas we normally
use "max_iterations" (mind the extra 's' at the end of the latter). Now
the value is read from the expected setting (i.e. "max_iterations").

Note that a similar approach was already followed for the Python route.
@avdg81 avdg81 added Bugfix GeoMechanics Issues related to the GeoMechanicsApplication labels May 7, 2024
@avdg81 avdg81 requested review from rfaasse and WPK4FEM May 7, 2024 15:01
@avdg81 avdg81 self-assigned this May 7, 2024
Copy link
Contributor

@WPK4FEM WPK4FEM left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice find of a not so nice "feature".
I can follow what happens in code and test.

Copy link
Contributor

@rfaasse rfaasse left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clear, not the cleanest fix, but the best one we can do considering the circumstances (i.e. unversioned json files)

@avdg81 avdg81 enabled auto-merge (squash) May 8, 2024 11:19
@avdg81 avdg81 merged commit f6e7a3c into master May 8, 2024
11 checks passed
@avdg81 avdg81 deleted the geo/12352-fix-max-iterations branch May 8, 2024 11:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugfix GeoMechanics Issues related to the GeoMechanicsApplication
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[GeoMechanicsApplication] Investigate differing results of settlement analyses
3 participants