view src/Diffinitive.jl @ 2080:0f949681d3d3 refactor/sbp_operators/direction_check tip

Check that direction of first/second derivative operators is within the dimension of the grid. Add 1D functions for first/second derivative operators that take a direction.
author Vidar Stiernström <vidar.stiernstrom@gmail.com>
date Fri, 20 Feb 2026 12:01:05 +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