view src/SbpOperators/d2.jl @ 782:f6e56d5dbc17 operator_storage_array_of_table

Export parse_rational
author Jonatan Werpers <jonatan@werpers.com>
date Mon, 19 Jul 2021 20:11:55 +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