Mercurial > repos > public > sbplib_julia
view src/SbpOperators/d2.jl @ 385:6ef73611f4d9 refactor/sbp_operators_tests/collect_and_compare
Replace tolerance variables with actual values.
I think this reads clearer and also allows tweaking the tolerances per test.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Thu, 01 Oct 2020 06:20:30 +0200 |
parents | 01b851161018 |
children | cc86b920531a |
line wrap: on
line source
export D2, closuresize, readOperator @enum Parity begin odd = -1 even = 1 end struct D2{T,N,M,K} <: ConstantStencilOperator quadratureClosure::NTuple{M,T} innerStencil::Stencil{T,N} closureStencils::NTuple{M,Stencil{T,K}} eClosure::Stencil{T,M} dClosure::Stencil{T,M} parity::Parity end function closuresize(D::D2)::Int return length(D.quadratureClosure) end