view src/SbpOperators/d2.jl @ 801:04e549669b10 operator_storage_array_of_table

Consider feedback ;)
author Jonatan Werpers <jonatan@werpers.com>
date Sun, 25 Jul 2021 16:12:24 +0200
parents 80d5717ad2f9
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