-
Notifications
You must be signed in to change notification settings - Fork 157
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
BUG: Multigrid doesn't work with a Cofunction
right-hand-side
#3169
Comments
We have not implemented coarsening of |
I have just implemented it. The PR will be there soon, I just need to add a test. |
The restriction operator definitely moves cofunctions to the coarse grid (but operates with functions because when we wrote it cofunctions didn't exist) |
The code that is currently missing has to do with the symbolic coarsening of the residual one-form when we coarsen a NLVP. |
I have made a PR (#3181) where I indeed use |
Describe the bug
A short description of what the bug is.
Multigrid doesn't appear to work with an assembled or
Cofunction
right hand side.Steps to Reproduce
Steps to reproduce the behavior:
MFE:
If
L = inner(f, v)*dx
then the solve succeeds with eitherlu_params
ormg_params
.If
L
is the assembled form orCofunction
then the solve succeeds withlu_params
but breaks withmg_params
Expected behavior
Describe what you expected to happen, in the case of a regression,
include details of a setup where this behaviour was last seen.
I would expect to be able to use multigrid with a
Cofunction
right hand sideError message
Add error message with full backtrace, or log.
Please add these as text using three backticks (`) for highlighting.
Please do not add screenshots unless the bug is purely graphical.
Error message implies that coarsening a form involving a Cofunction isn't handled:
Environment:
firedrake-status
Python version: 3.10.6
OS: PopOS 22.04 LTS
firedrake-status:
Additional Info
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: