Skip to content

FCI with precomputed weights - #3527

Open
dschwoerer wants to merge 7 commits into
nextfrom
fci-precomputed
Open

dschwoerer wants to merge 7 commits into
nextfrom
fci-precomputed

Conversation

@dschwoerer

Copy link
Copy Markdown
Contributor

This uses @bendudson SOM to also do the "normal" FCI interpolation, that is needed (at least) for the boundary conditions.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread include/bout/petsc_operators.hxx
Comment thread src/mesh/interpolation/hermite_spline_xz.cxx
Comment thread src/mesh/interpolation/hermite_spline_xz.cxx
Comment thread src/mesh/interpolation/hermite_spline_xz.cxx
Comment thread src/mesh/interpolation/hermite_spline_xz.cxx
Comment thread src/mesh/interpolation/hermite_spline_xz.cxx
Comment thread src/mesh/interpolation/hermite_spline_xz.cxx
registerinterpmonotonichermitesplinel{"monotonichermitesplinelegacy"};
RegisterXZInterpolation<XZLagrange4pt> registerinterplagrange4pt{"lagrange4pt"};
RegisterXZInterpolation<XZBilinear> registerinterpbilinear{"bilinear"};
RegisterXZInterpolation<PrecomputedInterpolation> registerinterpprecomp{"precomputed"};

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

warning: variable 'registerinterpprecomp' is non-const and globally accessible, consider making it const [cppcoreguidelines-avoid-non-const-global-variables]

RegisterXZInterpolation<PrecomputedInterpolation> registerinterpprecomp{"precomputed"};
                                                  ^

@dschwoerer dschwoerer added feature A PR that adds new capabilities / features FCI labels Oct 28, 2026
@dschwoerer
dschwoerer marked this pull request as ready for review October 29, 2026 09:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

FCI feature A PR that adds new capabilities / features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant