Mercurial > repos > public > sbplib_julia
comparison src/SbpOperators/stencil.jl @ 1822:189e69d44056 feature/grids/tensor_grid/spacing
Merge default
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sun, 20 Oct 2024 20:38:39 +0200 |
parents | dfb43fdac9fc |
children | 244311761969 |
comparison
equal
deleted
inserted
replaced
1804:7eb20abc4b70 | 1822:189e69d44056 |
---|---|
1 export CenteredStencil | |
2 export CenteredNestedStencil | |
3 | |
4 struct Stencil{T,N} | 1 struct Stencil{T,N} |
5 range::UnitRange{Int64} | 2 range::UnitRange{Int64} |
6 weights::NTuple{N,T} | 3 weights::NTuple{N,T} |
7 | 4 |
8 function Stencil(range::UnitRange,weights::NTuple{N,T}) where {T, N} | 5 function Stencil(range::UnitRange,weights::NTuple{N,T}) where {T, N} |