Mercurial > repos > public > sbplib_julia
comparison src/SbpOperators/volumeops/volume_operator.jl @ 1291:356ec6a72974 refactor/grids
Implement changes in SbpOperators
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 07 Mar 2023 09:48:00 +0100 |
parents | 716e721ce3eb |
children | e94ddef5e72f |
comparison
equal
deleted
inserted
replaced
1290:31d0b7638304 | 1291:356ec6a72974 |
---|---|
8 closure_stencils::NTuple{M,Stencil{T,K}} | 8 closure_stencils::NTuple{M,Stencil{T,K}} |
9 size::NTuple{1,Int} | 9 size::NTuple{1,Int} |
10 parity::Parity | 10 parity::Parity |
11 end | 11 end |
12 | 12 |
13 function VolumeOperator(grid::EquidistantGrid{1}, inner_stencil, closure_stencils, parity) | 13 function VolumeOperator(grid::EquidistantGrid, inner_stencil, closure_stencils, parity) |
14 return VolumeOperator(inner_stencil, Tuple(closure_stencils), size(grid), parity) | 14 return VolumeOperator(inner_stencil, Tuple(closure_stencils), size(grid), parity) |
15 end | 15 end |
16 | 16 |
17 closure_size(::VolumeOperator{T,N,M}) where {T,N,M} = M | 17 closure_size(::VolumeOperator{T,N,M}) where {T,N,M} = M |
18 | 18 |