boutproject / boutdata

GNU Lesser General Public License v3.0
0 stars 2 forks source link

Generation of grid points in boutdata.resize #81

Closed mredenti closed 1 year ago

mredenti commented 2 years ago

This PR is in regards to the issue https://github.com/boutproject/boutdata/issues/78#issuecomment-1222448537

This patch resolves the issue of inconsistency when generating grid points for interpolation. One problem with the current implementation is that values at guard cells would end up inside the physical domain with the nearest neighbour algorithm when upsizing, i.e. increasing the resolution ].