Skip to main content
. 2018 Jul 12;9:821. doi: 10.3389/fphys.2018.00821

Figure 2.

Figure 2

Populating a newly refined grid. For simplification and ease of visualization, a two dimensional example is illustrated here. An existing block, with its boundary marked by - -, is overlapped by a newly refined block with boundary marked by Inline graphic. All cell-centered variable data on the newly refined grid are obtained via cubic interpolation from the coarse grid data below. The previous time-step data for the new grid points (•), which overlap old grid points, are copied directly from the old grid points they overlap; for new grid points (▴) that do not overlap with any old grid, their previous time-step data are obtained from the coarse grid below. The remaining data on the old grid (°) that do not overlap any of the new grid points are averaged and copied to the coarse grid data points (×).