Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
As perhaps you can tell, I'm making a push to replace some of my practical uses of Grid with Interpolations. I think the last remaining hangup is that I have situations in which I've pre-allocated a bunch of SharedArrays for the coefficients, and hence (if I'm going to get the multi-processing benefit of these SharedArrays) need the ability to do interpolation using in-place (destructive) processing.
This is a first stab at achieving this. The messiest part of this is passing both the full interpolation-type and the
OnCell
/OnGrid
status toextrap_transform_x
. I can clean that up if you otherwise think this basic idea is acceptable. (And add documentation, etc.)To clarify one important aspect of the behavior: for
Quadratic{Interior,OnGrid}
, the interpolation can only be evaluated over the domain[1.5+eps,size(A,d)-0.5-eps]
. I'm personally prepared to live with that, but I wanted you to be aware of this.