-
Notifications
You must be signed in to change notification settings - Fork 247
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Several corrections and improvements for the settlement workflow
- Make sure that the GiD output writer's lifetime matches the time step loop, to avoid that output results are being overwritten after each step. - Make sure that nodal variables are reset and restored as needed. - Added a missing process that finds neighboring elements. - Added a missing process that deactivates conditions on inactive elements. - Extracted several convenience functions to make the code more readable. - Reformatted some code using clang-format. - When creating an output writer only pass the relevant settings rather than all settings. - Moved finalizing the writing of results to a more appropriate location (i.e. at the end of the time step loop). - Initialize the strategy wrapper at the start of the time step loop. - The test for the settlement workflow now also runs the fourth stage. Accepted the results of the corresponding Python workflow as the expected results.
- Loading branch information
Showing
15 changed files
with
57,769 additions
and
164 deletions.
There are no files selected for viewing
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
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
Oops, something went wrong.