Mercurial > repos > public > sbplib_julia
diff sbpD2.jl @ 15:3d032081832d
mergemania
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Mon, 17 Dec 2018 14:50:23 +0100 |
parents | 433008d3b7d3 |
children | 55fea1ceb6aa |
line wrap: on
line diff
--- a/sbpD2.jl Mon Dec 17 14:45:10 2018 +0100 +++ b/sbpD2.jl Mon Dec 17 14:50:23 2018 +0100 @@ -1,1 +1,12 @@ +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 \ No newline at end of file