view sbpD2.jl @ 23:9031fe054f2c

Return the unsigned distances from grid.spacings(). Add comments
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Tue, 08 Jan 2019 11:17:20 +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