Mercurial > repos > public > sbplib_julia
annotate src/Diffinitive.jl @ 2035:5e0672ebb1b3 default tip
Added tag v0.1.5 for changeset b09b0da22072
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Wed, 28 Jan 2026 11:19:02 +0100 |
| parents | 516eaabf1169 |
| children |
| 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 |
