This PR allows calling indices(A::AbstractStencilArray, I) and getting back wrapped or reflected indices. indices(s::Stencil, I) still returns the unaltered values, because the stencil doesn't know about boundary conditions.
Closes #44
@NilsNiggemann This should fix your problem in #44, just note the change to calling indices on the array rather than the stencil.
This PR allows calling
indices(A::AbstractStencilArray, I)
and getting back wrapped or reflected indices.indices(s::Stencil, I)
still returns the unaltered values, because the stencil doesn't know about boundary conditions.Closes #44
@NilsNiggemann This should fix your problem in #44, just note the change to calling
indices
on the array rather than the stencil.