Skip to content
Discussion options

You must be logged in to vote

Your approach is not recommended because FillPath in general depends on that the fine grids are coarsenable.

Did you try my suggestion in #4873? #4873 (comment)
Let me elaborate on it. You can do something like below. It should also work for regrid.

FillPath.... // as normal;
Moment_old.FillBoundary(0, NUM_MOMENT, IntVect(1), this_level_s_geom.periodicity());
Moment_border.ParallelCopy(Moment_old, 0, 0, NUM_MOMENT, IntVect(1), IntVect(1), this_level_s_geom.periodicity());

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@Afraid31
Comment options

Answer selected by Afraid31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants