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

Options for restricting solves to unconstrained DoFs only #3460

Draft
wants to merge 5 commits into
base: devel
Choose a base branch
from

Conversation

roystgnr
Copy link
Member

I'm not sure this is the right interface (there's at least some PetscDiffSolver encapsulation that I've broken with public: but should redo properly with friend), and I'm not sure this is the right implementation (the related code already in PetscLinearSolver was creating a submatrix, but this is mainly for efficiency so maybe we should be building a composite matrix in the first place?), and it's not complete (PetscLinearSolver and NewtonSolver are working; PetscDiffSolver is giving me a zero pivot on the preconditioner; PetscNonlinearSolver isn't implemented).

But the pre-vacation work year is starting to run low for me, so I'm putting this up to see if CI manages to see even more problems than I do.

This can be called from within a solver even if it doesn't have access
to the System.
Still need a PetscDiffSolver implementation
This helps encapsulate some of the tricky distinctions between system
subclasses and their associated solvers
@roystgnr roystgnr self-assigned this Dec 14, 2022
@roystgnr
Copy link
Member Author

So not only is the new PetscDiffSolver option not working, the old functionality has regressed. Didn't even think to check for that by hand...

@moosebuild
Copy link

Job Coverage on 61c30df wanted to post the following:

Coverage

70e9c9 #3460 61c30d
Total Total +/- New
Rate 59.96% 59.95% -0.01% 63.97%
Hits 48749 48802 +53 87
Misses 32556 32604 +48 49

Diff coverage report

Full coverage report

Warnings

  • New new line coverage rate 63.97% is less than the suggested 90.0%

This comment will be updated on new commits.

@lindsayad lindsayad marked this pull request as draft March 31, 2023 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants