LoopStructural
LoopStructural copied to clipboard
[BUG] if a data point is outside of the model support no warning is shown
trafficstars
Adding data that falls outside of the interpolation support can result in unexpected geometries (the data isn't used for interpolation). This should either warn or automatically resize the interpolation support.
Also should give a warning when trying to evaluate a value from a mesh when it is outside of the geometry.
This is also problematic when interpolating a model with faults. If the buffer argument is too small sometimes the resulting model will have areas that cannot be evaluated.
- [ ] Add check to see whether all data points to be interpolated are inside the model interpolation support
- [ ] Resize the model interpolation mesh so that it is includes all points that can be unfaulted from the fault. Do this by unfaulting a coarse grid checking the min/max and resizing.