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

UWexpressions value -> sym #222

Merged
merged 3 commits into from
Aug 8, 2024
Merged

Conversation

julesghub
Copy link
Member

@julesghub julesghub commented Aug 8, 2024

  • Renaming the UWexpressions attribute value to sym. This is aligned with all sympy objects being called .sym.
  • Fixed up the default Darcy Solver which wasn't using the .sym handle correctly.
  • Removed all warnings in tests by adding r-strings.
    Still need to audit all the solvers and constitutive_models. To do that in another PR later this week.

Renaming the UWexpressions attribute `value` to `sym`. This is
aligned with all sympy objects being called `.sym`.
The gravitational term `s`is now in the DarcyFlowModel. This is because
we use it to build the "flux" for SNES. Update is the ensure this works
with the tests and none of the old implementation remains.
Copy link
Member

@lmoresi lmoresi 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 - value is deprecated but not removed so this change should have no side-effects for existing notebooks. Warning flag is helpful.

@lmoresi lmoresi merged commit 3bbbb73 into development Aug 8, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants