view sbpD2.jl @ 38:2dce28c59429

Fix 1d version of plotgridfunction
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Thu, 10 Jan 2019 14:55:57 +0100
parents 433008d3b7d3
children 55fea1ceb6aa
line wrap: on
line source


struct D2{T}
    quadratureClosure::Vector{T}
    innerStencil::Stencil
    closureStencils::Vector{Stencil} # TBD: Should this be a tuple?
    eClosure::Vector{T}
    dClosure::Vector{T}
end

function closureSize(D::D2)::Int
    return length(quadratureClosure)
end