-
Notifications
You must be signed in to change notification settings - Fork 109
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
Confused about the true meaning of OnCell and OnGrid #228
Comments
I think the original discussion of This realization might make it easier to find better names for the concepts. |
Re: what it would mean to have |
Thanks for the reminder! OK, if this really is just about the boundary conditions, I might think about moving this to be more closely attached to the |
This may sound surprising, but I'm looking for clarification about what OnCell and OnGrid actually mean. Let's take the case of
Constant
: my interpretation is thatOnCell
should mean that the array value is constant overi-0.5
toi+0.5
but has a step discontinuity at the edges of this region. Conversely, I would expectOnGrid
to be constant overi
toi+(1-eps())
. In other words, something like this:But that's not what we have, and indeed
OnGrid
andOnCell
seem to behave identically:Likewise for Quadratic:
By the definition I am picturing, I'm not even sure there is an obvious meaning to
Linear
,OnCell
that is also continuous. (The closest I can come up with is that the slope ati
is(y[i+1]-y[i-1])/2
, but that has discontinuities at the half-integers.)So despite having worked with the package a lot (though not for quite a while, truth be told), I am confused.
The text was updated successfully, but these errors were encountered: