-
Notifications
You must be signed in to change notification settings - Fork 17
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
Overintegration support for operators and reductions #172
Conversation
fe4926b
to
6623fab
Compare
909d387
to
91081ce
Compare
38803bc
to
1f3d139
Compare
result = dcoll._base_to_geoderiv_connection(dd_base)(result) | ||
|
||
if dd.uses_quadrature(): | ||
# NOTE: We do not want to interpolate to the quadrature grid | ||
# unless we are using non-affine storage | ||
# (or if *_use_geoderiv_connection* is *False*) | ||
if not dcoll._has_affine_groups() or not _use_geoderiv_connection: | ||
result = dcoll.connection_from_dds(dd_base, dd)(result) |
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.
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.
I'm not sure I buy this logic. This suppresses the interpolation to the quadrature grid if there aren't any affine groups and _use_geoderiv_connection
is true. Why? If this function gets asked to interpolate, it should.
430c87a
to
33f9702
Compare
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.
Looked a bit to see #174 and that looks good to me! Left a few unrelated nitpicks along the way 😁
Co-authored-by: Andreas Klöckner <inform@tiker.net>
8893ea6
to
c1e5148
Compare
Co-authored-by: Alex Fikl <alexfikl@gmail.com>
9ee1e2d
to
eb537f9
Compare
This PR extends the mass inverse operator to work with overintegration, updates documentation, and extends the norm/integral routines to use quadrature discretizations.
Let's please merge #154 first: