Mercurial > repos > public > sbplib_julia
changeset 802:f0532b9289b7 operator_storage_array_of_table
Remove d2.jl and D2 type
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Sun, 25 Jul 2021 16:18:42 +0200 |
parents | 04e549669b10 |
children | b874c26ea7d1 |
files | src/SbpOperators/SbpOperators.jl src/SbpOperators/d2.jl |
diffstat | 2 files changed, 5 insertions(+), 20 deletions(-) [+] |
line wrap: on
line diff
diff -r 04e549669b10 -r f0532b9289b7 src/SbpOperators/SbpOperators.jl --- a/src/SbpOperators/SbpOperators.jl Sun Jul 25 16:12:24 2021 +0200 +++ b/src/SbpOperators/SbpOperators.jl Sun Jul 25 16:18:42 2021 +0200 @@ -4,8 +4,12 @@ using Sbplib.LazyTensors using Sbplib.Grids +@enum Parity begin + odd = -1 + even = 1 +end + include("stencil.jl") -include("d2.jl") include("readoperator.jl") include("volumeops/volume_operator.jl") include("volumeops/constant_interior_scaling_operator.jl")
diff -r 04e549669b10 -r f0532b9289b7 src/SbpOperators/d2.jl --- a/src/SbpOperators/d2.jl Sun Jul 25 16:12:24 2021 +0200 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,19 +0,0 @@ -export D2, closuresize - -@enum Parity begin - odd = -1 - even = 1 -end - - -# TBD: Can this be deleted when this branch is finished? -struct D2{T,M} - innerStencil::Stencil{T} - closureStencils::NTuple{M,Stencil{T}} - eClosure::Stencil{T} - dClosure::Stencil{T} - quadratureClosure::NTuple{M,Stencil{T}} - parity::Parity -end - -closuresize(D::D2{T,M}) where {T,M} = M