view src/SbpOperators/d2.jl @ 770:80d5717ad2f9 operator_storage_array_of_table

Add a note about deletion of D2
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 15 Jul 2021 00:18:55 +0200
parents f13d45c10f55
children
line wrap: on
line source

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