-
Notifications
You must be signed in to change notification settings - Fork 95
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
PETSc XZHermiteSpline #2917
base: next
Are you sure you want to change the base?
PETSc XZHermiteSpline #2917
Conversation
Reduce duplication by moving some overloads to the base class.
Optimised build was omitting XZInterpolation factory registrations.
* next: (194 commits) invert_laplace: Fix outer boundary metrics Apply clang-format changes Apply clang-format changes Apply suggestions from code review Fix missed adios Prefer ADIOS2 over ADIOS in more cases Update tests/unit/test_extras.hxx Apply clang-format changes Silence warning about assignment in `if` statement Fix some short identifiers Make a couple of implicit casts explicit CI: Suppress some warnings about short identifiers Move some static functions to anonymous namespace CI: Remove deprecated clang-tidy option Include header for `BoutReal`; remove unused header Apply clang-format Add options to set Butcher tables by name Simplify SUNDIALS cmake Switch to [[maybe_unused]] Apply suggestions from code review ...
Based on @dschwoerer's implementation in #2651
Currently gives pretty bad results, not sure why
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.
clang-tidy made some suggestions
Ok, I have managed to convert this to use the So I've implemented a new |
clang-tidy review says "All clean, LGTM! 👍" |
Although `getGlobal` is only valid for local indices, unfortunately `isLocal` calls `getGlobal`, so we can't actually check!
clang-tidy review says "All clean, LGTM! 👍" |
Continues #2858 pulling out a separate class for
PetscXZHermiteSpline
that was started in #2651This does have a working implementation, but I've tried to switch it the existing
PetscMatrix
wrapper, and unfortunately I've gone wrong somewhere -- probably at the boundaries.Double unfortunately, I really don't have much time to spend digging into this. @dschwoerer Maybe you want to take a look?