Replies: 1 comment 1 reply
-
|
I think See amrex/Src/AmrCore/AMReX_MFInterp_2D_C.H Line 490 in 546a888 amrex/Src/AmrCore/AMReX_MFInterp_2D_C.H Line 526 in 546a888 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all,
I’m working on a 2D cell-centered flow solver using AMReX, and I’d like to perform higher-order coarse-to-fine interpolation of the velocity field between AMR levels.
Specifically, I want to reconstruct both velocity components using a quadratic polynomial form that includes both velocity values and their gradients from the coarse level:

This means the interpolation uses not only the cell-centered velocities on the coarse grid, but also the velocity gradients that are available at those cells.
I’m wondering:
What’s the best way to implement this kind of interpolation in the AMReX framework (within an AmrLevel class)?
Should I create a custom interpolation operator (e.g. a new InterpFaceRegister or InterpB variant), or is there an existing mechanism that supports high-order polynomial interpolation using gradient information?
Beta Was this translation helpful? Give feedback.
All reactions