comparison src/SbpOperators/d2.jl @ 333:01b851161018 refactor/combine_to_one_package

Start converting to one package by moving all the files to their correct location
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 25 Sep 2020 13:06:02 +0200
parents SbpOperators/src/d2.jl@51e7de109c25
children cc86b920531a
comparison
equal deleted inserted replaced
332:535f1bff4bcc 333:01b851161018
1 export D2, closuresize, readOperator
2
3 @enum Parity begin
4 odd = -1
5 even = 1
6 end
7
8 struct D2{T,N,M,K} <: ConstantStencilOperator
9 quadratureClosure::NTuple{M,T}
10 innerStencil::Stencil{T,N}
11 closureStencils::NTuple{M,Stencil{T,K}}
12 eClosure::Stencil{T,M}
13 dClosure::Stencil{T,M}
14 parity::Parity
15 end
16
17 function closuresize(D::D2)::Int
18 return length(D.quadratureClosure)
19 end