-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Physical boundaries not filled correctly in RefineSchedule after regridding #186
Comments
Do you have an implementation of |
I don't mean filling the finer level physical boundary points with the coarser level ones. I need the coarser level physical boundary points to be able to interpolate finer level points near physical boundary (because of my stencil). After that interpolation I would set the physical boundary conditions in the finer level. What I don't understand is why I have access to that coarser level physical boundary points when doing interpolation during a step but I get zeros for that same points just after a regridding operation. |
The same |
The weird thing is that I checked that physical boundaries in the coarse level are filled before both kinds of interpolations. I am really interested in solving this problem, so if you can guide me a little bit I can try to solve the problem. |
Hi,
We want to do a synchronization between levels after regridding. We use the following instruction:
d_fill_new_level->createSchedule(level,old_level,level_number-1,hierarchy,this)->fillData(data_time, true);
So data values are taken from the old level and parent level in the hierarchy.
The values in physical boundary nodes are supposed to be taken from the parent level. What occurs is that those values are 0, which is incorrect, since parent level values are not 0. However, values for internal ghost zones have the correct parent level values.
I am using a custom spatial interpolator with stencil 3. If I reduce the stencil to 1 it works since there are not all values in the physical ghost zone which are 0. The nearest values to internal domain are correctly set, but not the farther ones.
This behaviour only happens after a regrid. During simulation with schedules create like the following one all required physical boundary values from a parent level are correctly filled:
d_bdry_fill_advance12->createSchedule(level,ln-1,new_hierarchy,this)
So I suspect there is a difference for the setup of the schedule that is generating the incorrect behaviour.
The text was updated successfully, but these errors were encountered: