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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GeoMechanicsApplication] Add a time incrementor that models a collection of prescribed time increments #11662

Merged
merged 16 commits into from Oct 6, 2023

Conversation

avdg81
Copy link
Contributor

@avdg81 avdg81 commented Oct 5, 2023

馃摑 Description
Added a time incrementor that implements the time incrementor interface for the case where we have a collection of prescribed time increments. This class is probably one of the simplest (and most fundamental) ways to step through time. We will use it when developing the time loop executor. (But we may consider to also make it accessible through the ProjectParameters.json file.)

@avdg81 avdg81 added Feature GeoMechanics Issues related to the GeoMechanicsApplication labels Oct 5, 2023
rfaasse
rfaasse previously approved these changes Oct 5, 2023
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.

Looks very clear and complete! Nice to see TDD happening more and more 馃槃

Just flagged a a couple of missing 'consts' but nothing major.

- Ensure that a returned value is assigned to a variable when the
  function is marked `[[nodiscard]]`.
- Removed two empty statements.
The unused variable was added to suppress a warning due to the
`[[nodiscard]]` attribute of a member function. To avoid another warning
due to the unused variable, the dummy variable has now been decorated
with the `[[maybe_unused]]` attribute.
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.

Looks good to me!

@WPK4FEM WPK4FEM merged commit 7ba6588 into master Oct 6, 2023
11 checks passed
@WPK4FEM WPK4FEM deleted the geo/11622-add-prescribed-time-incrementor branch October 6, 2023 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature GeoMechanics Issues related to the GeoMechanicsApplication
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[GeoMechanicsApplication] Add a time incrementor that models a prescribed set of time increments
3 participants