Add InterfaceExactDerivativeMatrix for conforming meshes - #497
Draft
PaulineVidal wants to merge 134 commits into
Draft
Add InterfaceExactDerivativeMatrix for conforming meshes#497PaulineVidal wants to merge 134 commits into
PaulineVidal wants to merge 134 commits into
Conversation
Add `SingleInterfaceDerivativesCalculator` operator and tests to compute an interface derivative with the different cases: - Interpolation type: Hermite boundary conditions ; additional interpolation points - Mesh type: uniform ; non-uniform - Formula type: exact ; approximation. - Patch connections: E|E ; E|W ; W|E ; W|W ; E|S See merge request gysela-developpers/gyselalibxx!869 -------------------------------------------- Co-authored-by: Emily Bourne <emily.bourne@epfl.ch>
…o 'main_pvidal' Add single interface derivatives calculator See merge request gysela-developpers/gyselalibxx!869 -------------------------------------------- Co-authored-by: Pauline Vidal <pauline.vidal@ipp.mpg.de>
Add `SingleInterfaceDerivativesCalculator` operator and tests to compute an interface derivative with the different cases: - Interpolation type: Hermite boundary conditions ; additional interpolation points - Mesh type: uniform ; non-uniform - Formula type: exact ; approximation. - Patch connections: E|E ; E|W ; W|E ; W|W ; E|S See merge request gysela-developpers/gyselalibxx!869 -------------------------------------------- Co-authored-by: Emily Bourne <emily.bourne@epfl.ch>
…ce_derivative_matrix
…representations identical.
Remove modification MultipatchConnectivity. Remove test file.
Add `SingleInterfaceDerivativesCalculator` operator and tests to compute an interface derivative with the different cases: - Interpolation type: Hermite boundary conditions ; additional interpolation points - Mesh type: uniform ; non-uniform - Formula type: exact ; approximation. - Patch connections: E|E ; E|W ; W|E ; W|W ; E|S See merge request gysela-developpers/gyselalibxx!869 -------------------------------------------- Co-authored-by: Emily Bourne <emily.bourne@epfl.ch>
Add `SingleInterfaceDerivativesCalculator` operator and tests to compute an interface derivative with the different cases: - Interpolation type: Hermite boundary conditions ; additional interpolation points - Mesh type: uniform ; non-uniform - Formula type: exact ; approximation. - Patch connections: E|E ; E|W ; W|E ; W|W ; E|S See merge request gysela-developpers/gyselalibxx!869 -------------------------------------------- Co-authored-by: Emily Bourne <emily.bourne@epfl.ch>
Add a `SingleInterfaceDerivativeCalculatorCollection` to store a collection of `SingleInterfaceDerivativeCalculator`. Change the template parameters of `SingleInterfaceDerivativeCalculator`. The boundary conditions are now inputs in the constructor. Move useful operators in the test files `single_interface_derivatives_calculator_test.cpp` in a `interface_derivatives_utils.hpp` file. See merge request gysela-developpers/gyselalibxx!874 -------------------------------------------- Co-authored-by: Pauline Vidal <142578924+PaulineVidal@users.noreply.github.com> Co-authored-by: Emily Bourne <emily.bourne@epfl.ch>
…ce_derivative_matrix
Update the `main_pvidal` branch after merge including DDC changes. See merge request gysela-developpers/gyselalibxx!882 --------------------------------------------
PaulineVidal
had a problem deploying
to
GitLab GPU trigger
January 12, 2026 14:30 — with
GitHub Actions
Error
|
This PR is failing tests so it has been put back into draft. Please remove the draft status when the tests pass. |
PaulineVidal
force-pushed
the
pvidal_interface_derivative_matrix
branch
from
January 12, 2026 14:58
d967fb9 to
9c5c9d5
Compare
EmilyBourne
reviewed
Jan 12, 2026
+ Modif after DDC merge
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
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.
Add an operator which computes the coupled interface derivatives along a direction with the exact formula.
Description
InterfaceDerivativeMatrixsolves the following matrix system,We write it as follows,$S = (I -M)^{-1}C.$
It allows us to compute the interface derivatives in 1D.
InterfaceDerivativeMatrixoperator deals with 2D patches applying this 1D formula.It means on the following case, (implemented test case)

we build a
InterfaceDerivativeMatrixin the directions,InterfaceDerivativeMatrixstoresSingleInterfaceDerivativeCalcultordefined and instantiated before.The matrix
InterfaceDerivativeMatrixand only depends on the mesh.When the$C$ is defined from the function values.$S = (I -M)^{-1}C$ . Then, it fills in the derivative fields given as parameters$S$ solution vector.
InterfaceDerivativeMatrix::solve()operator is called, the vectorThe operator solves the matrix system
with the values in the
Please complete the checklist to ensure that all tasks are completed before marking your pull request as ready for review.
All Submissions
New Feature Submissions
Changes to Existing Features
Changes to the CI