Skip to content

[GeoMechanicsApplication] More code smells resolved on custom_constitutive#11516

Merged
WPK4FEM merged 1 commit intomasterfrom
geo/continued-clean-custom_constitutive
Aug 29, 2023
Merged

[GeoMechanicsApplication] More code smells resolved on custom_constitutive#11516
WPK4FEM merged 1 commit intomasterfrom
geo/continued-clean-custom_constitutive

Conversation

@WPK4FEM
Copy link
Contributor

@WPK4FEM WPK4FEM commented Aug 28, 2023

📝 Description
More code smells removed

🆕 Changelog
-Complexity
-make_shared

  • ==false replaced by !
  • Hiding of base class member functions
  • const correctness
  • virtual removed i.c.o. override
  • shadowing of X, Y, Z
  • duplication ( GetStateVariableIndex)

@WPK4FEM WPK4FEM added Cleanup Refactor When code is moved or rewrote keeping the same behavior GeoMechanics Issues related to the GeoMechanicsApplication labels Aug 28, 2023
@WPK4FEM WPK4FEM requested a review from avdg81 August 28, 2023 12:29
@WPK4FEM WPK4FEM force-pushed the geo/continued-clean-custom_constitutive branch from c05c965 to b819bf1 Compare August 28, 2023 15:16
@avdg81 avdg81 force-pushed the geo/continued-clean-custom_constitutive branch from b819bf1 to c31970e Compare August 29, 2023 11:22
Copy link
Contributor

@avdg81 avdg81 left a comment

Choose a reason for hiding this comment

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

Thanks for the nice cleanup!

@WPK4FEM WPK4FEM merged commit 4aa5c9c into master Aug 29, 2023
@WPK4FEM WPK4FEM deleted the geo/continued-clean-custom_constitutive branch August 29, 2023 14:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Cleanup GeoMechanics Issues related to the GeoMechanicsApplication Refactor When code is moved or rewrote keeping the same behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants