annotate src/Diffinitive.jl @ 2015:5c2448d6a201 feature/grids/geometry_functions tip

Structure tests a bit more
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 09 May 2025 15:57:38 +0200
parents 516eaabf1169
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1726
471a948cd2b2 Rename project from Sbplib to Diffinitive
Vidar Stiernström <vidar.stiernstrom@gmail.com>
parents: 1603
diff changeset
1 module Diffinitive
333
01b851161018 Start converting to one package by moving all the files to their correct location
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
2
335
f4e3e71a4ff4 Fix `using` commands to refer to local modules within the Sbplib package/module
Jonatan Werpers <jonatan@werpers.com>
parents: 333
diff changeset
3 include("RegionIndices/RegionIndices.jl")
333
01b851161018 Start converting to one package by moving all the files to their correct location
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
4 include("LazyTensors/LazyTensors.jl")
335
f4e3e71a4ff4 Fix `using` commands to refer to local modules within the Sbplib package/module
Jonatan Werpers <jonatan@werpers.com>
parents: 333
diff changeset
5 include("Grids/Grids.jl")
356
0844069ab5ff Reinclude SbpOperators and fix most of the code and tests there.
Jonatan Werpers <jonatan@werpers.com>
parents: 348
diff changeset
6 include("SbpOperators/SbpOperators.jl")
333
01b851161018 Start converting to one package by moving all the files to their correct location
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
7
335
f4e3e71a4ff4 Fix `using` commands to refer to local modules within the Sbplib package/module
Jonatan Werpers <jonatan@werpers.com>
parents: 333
diff changeset
8 export RegionIndices
333
01b851161018 Start converting to one package by moving all the files to their correct location
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
9 export LazyTensors
335
f4e3e71a4ff4 Fix `using` commands to refer to local modules within the Sbplib package/module
Jonatan Werpers <jonatan@werpers.com>
parents: 333
diff changeset
10 export Grids
333
01b851161018 Start converting to one package by moving all the files to their correct location
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
11 export SbpOperators
01b851161018 Start converting to one package by moving all the files to their correct location
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
12
1816
77f1b027d134 Resolve ambiguities for addition and subtraction of LazyArrays
Jonatan Werpers <jonatan@werpers.com>
parents: 1734
diff changeset
13
77f1b027d134 Resolve ambiguities for addition and subtraction of LazyArrays
Jonatan Werpers <jonatan@werpers.com>
parents: 1734
diff changeset
14 # Aqua.jl fixes
77f1b027d134 Resolve ambiguities for addition and subtraction of LazyArrays
Jonatan Werpers <jonatan@werpers.com>
parents: 1734
diff changeset
15 using StaticArrays
77f1b027d134 Resolve ambiguities for addition and subtraction of LazyArrays
Jonatan Werpers <jonatan@werpers.com>
parents: 1734
diff changeset
16 using .LazyTensors
77f1b027d134 Resolve ambiguities for addition and subtraction of LazyArrays
Jonatan Werpers <jonatan@werpers.com>
parents: 1734
diff changeset
17 Base.:+(a::StaticArray, b::LazyArray) = a +̃ b
77f1b027d134 Resolve ambiguities for addition and subtraction of LazyArrays
Jonatan Werpers <jonatan@werpers.com>
parents: 1734
diff changeset
18 Base.:+(a::LazyArray, b::StaticArray) = a +̃ b
77f1b027d134 Resolve ambiguities for addition and subtraction of LazyArrays
Jonatan Werpers <jonatan@werpers.com>
parents: 1734
diff changeset
19 Base.:-(a::StaticArray, b::LazyArray) = a -̃ b
77f1b027d134 Resolve ambiguities for addition and subtraction of LazyArrays
Jonatan Werpers <jonatan@werpers.com>
parents: 1734
diff changeset
20 Base.:-(a::LazyArray, b::StaticArray) = a -̃ b
77f1b027d134 Resolve ambiguities for addition and subtraction of LazyArrays
Jonatan Werpers <jonatan@werpers.com>
parents: 1734
diff changeset
21
333
01b851161018 Start converting to one package by moving all the files to their correct location
Jonatan Werpers <jonatan@werpers.com>
parents:
diff changeset
22 end