view src/SbpOperators/d2.jl @ 798:997d6e641bf0 operator_storage_array_of_table

Fix docs for inner_product and inverse_inner_product
author Jonatan Werpers <jonatan@werpers.com>
date Sun, 25 Jul 2021 15:10:51 +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