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

[WIP] Use hash table matrices when requested #28979

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

Conversation

lindsayad
Copy link
Member

This is for problems for which the sparsity pattern is difficult to compute or changing from nonlinear iteration to nonlinear iteration or from timestep to timestep. Refs petsc/petsc#7939 and libMesh/libmesh#3983

We actually had a bug where we were attempting to close the RHS
vector which is locked by PETSc. Indeed the RHS vector in libMesh
and the vector which PETSc sends us for filling the residual are
not the same vector
But do clear them at the end of the methods that set them. This
ensures that overrides of `computeResidualTags` can safely assume
that the incoming tags are indeed `const` and not changing out from
under them in the case that they call down to
`FEProblemBase::computeResidualTags`
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.

1 participant