Skip to content
Discussion options

You must be logged in to vote

Hello!

If you interpolate near the boundaries halo points should be used to interpolate. Take care that in case of Bounded domains only one halo point is filled (since we cannot preserve high order in bounded domains).

The interpolation on a Face and Center is, indeed, still doing a linear interpolation that but that should return the correct value regardless.

Can you provide an example for what setting make the interpolation fails?
If I run this script the interpolation I am not able to reproduce the error

grid = RectilinearGrid(size = (5, 1, 1), x = (0, 5), z = (0, 1), y = (0, 1), topology = (Bounded, Bounded, Bounded))
field = CenterField(grid)
set!(field, (x, y, z) -> x)
fill_halo_reg…

Replies: 1 comment 10 replies

Comment options

You must be logged in to vote
10 replies
@glwagner
Comment options

@pjrusello
Comment options

@glwagner
Comment options

@pjrusello
Comment options

@glwagner
Comment options

Answer selected by pjrusello
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants