-
Notifications
You must be signed in to change notification settings - Fork 177
Make tests basis-independent #3164
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
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
d98024f to
a6db605
Compare
dham
reviewed
Oct 25, 2023
dham
requested changes
Oct 25, 2023
Member
dham
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one trivial change.
f45ad60 to
d746a77
Compare
…Riesz map-preconditioned MINRES instead
d746a77 to
af6f340
Compare
ReubenHill
approved these changes
Oct 26, 2023
Contributor
ReubenHill
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good to go now
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
name: "Make tests basis-independent"
description: ''
title: ''
labels: ''
assignees: ''
Description
We need to drop the first commit and re-run CI with the equispaced variant.
A few observations:
VertexLimiterrequires functions inBroken(mesh.coordinates.function_space())EquationBCuse a periodic sine wave manufactured solution, this could show the asymptotic convergence rate sooner with equispaced points (these points have the best approximation properties for periodic functions).Cofunction, and the sourceFunction. The issue with this is that the absolute tolerance used in the dual comparison was the same used for primal comparsion, and the change to the spectral basis was changing the magnitude of the coefficients of theCofunctionsbelow the absolute tolerance. These inequality tests are quite meaningless and should be replaced with the same approach used in the multigridrestricttests. We now test that<Ix, y> == <x, adjoint(I)y>for a choice ofx \in V_srcandy \in V_dest*.Associated Pull Requests:
Fixes Issues:
If issues are fixed by this PR, prepend each of them with the word
"fixes", so they are automatically closed when this PR is merged. For
example "fixes #123, fixes #456".
Checklist for author:
make lintin thefiredrakesource directory).make linkcheck; make html; make latexpdfinfiredrake/docsdirectory)pytest testsin thefiredrakesource directory) (useful, but not essential if you don't have suitable hardware).Checklist for reviewer:
Feel free to add reviewers if you know there is someone who is already aware of this work.
Please open this PR initially as a draft and mark as ready for review once CI tests are passing.