Mercurial > repos > public > sbplib_julia
view src/Diffinitive.jl @ 2022:7f04753ead30 feature/grids/multiblock_grids
Make the helper functions return parts for the multiblock grid instead of actual multiblock grids
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Wed, 12 Mar 2025 11:07:40 +0100 |
| parents | 516eaabf1169 |
| children |
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
