view src/SbpOperators/d2.jl @ 771:d0c1d0b4da52 operator_storage_array_of_table

Fix type in call to get_stencil_set
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 15 Jul 2021 00:19:27 +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