Skip to content

[GeoMechanicsApplication] Make stress state classes more similar#14265

Merged
avdg81 merged 11 commits intomasterfrom
geo/make-stress-state-classes-more-similar
Mar 10, 2026
Merged

[GeoMechanicsApplication] Make stress state classes more similar#14265
avdg81 merged 11 commits intomasterfrom
geo/make-stress-state-classes-more-similar

Conversation

@avdg81
Copy link
Contributor

@avdg81 avdg81 commented Mar 9, 2026

📝 Description
Make stress state classes PQ, SigmaTau and PrincipalStresses more similar.

🆕 Changelog

  • Made value getters noexcept.
  • Added addition operations to class PQ.
  • The constructors of the three stress state classes are now similar. Initializer list constructors have been removed.

avdg81 added 9 commits March 8, 2026 17:29
- Added compound assignment and the addition operator to class `PQ`.
- Added `noexcept` to several member functions of class `SigmaTau`.
If the addition operation would accidentally swap the components of `Sigma` (or `PQ`), the unit test previously wouldn't catch it. Now it does.
It has been replaced by a constructor that receives three `double`s.
@avdg81 avdg81 requested a review from markelov208 March 9, 2026 12:01
@avdg81 avdg81 self-assigned this Mar 9, 2026
@avdg81 avdg81 requested a review from a team as a code owner March 9, 2026 12:01
@avdg81 avdg81 added the GeoMechanics Issues related to the GeoMechanicsApplication label Mar 9, 2026
@avdg81 avdg81 moved this to 👀 In Review in Kratos Product Backlog Mar 9, 2026
markelov208
markelov208 previously approved these changes Mar 9, 2026
Copy link
Contributor

@markelov208 markelov208 left a comment

Choose a reason for hiding this comment

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

Hi Anne, many thanks for the harmonization. I have only one non-blocking comment.

@github-project-automation github-project-automation bot moved this from In progress to Reviewer approved in GeoMechanicsApplication (Deltares) Mar 9, 2026
Copy link
Contributor

@markelov208 markelov208 left a comment

Choose a reason for hiding this comment

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

Hi Anne, thank you for processing the comment. I think the PR is ready to be merged.

@avdg81 avdg81 merged commit f45ed9a into master Mar 10, 2026
10 checks passed
@avdg81 avdg81 deleted the geo/make-stress-state-classes-more-similar branch March 10, 2026 10:44
@github-project-automation github-project-automation bot moved this from 👀 In Review to ✅ Done in Kratos Product Backlog Mar 10, 2026
@github-project-automation github-project-automation bot moved this from Reviewer approved to Done in GeoMechanicsApplication (Deltares) Mar 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

GeoMechanics Issues related to the GeoMechanicsApplication

Development

Successfully merging this pull request may close these issues.

2 participants