Mercurial > repos > public > sbplib_julia
view src/Diffinitive.jl @ 1820:bddcae938ded feature/jet_aqua
Some clean up
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Fri, 18 Oct 2024 21:41:55 +0200 |
parents | 77f1b027d134 |
children | 516eaabf1169 |
line wrap: on
line source
module Diffinitive include("RegionIndices/RegionIndices.jl") include("LazyTensors/LazyTensors.jl") include("Grids/Grids.jl") include("SbpOperators/SbpOperators.jl") export RegionIndices export LazyTensors export Grids export SbpOperators # Aqua.jl fixes using StaticArrays using .LazyTensors Base.:+(a::StaticArray, b::LazyArray) = a +̃ b Base.:+(a::LazyArray, b::StaticArray) = a +̃ b Base.:-(a::StaticArray, b::LazyArray) = a -̃ b Base.:-(a::LazyArray, b::StaticArray) = a -̃ b end