comparison TODO.md @ 1049:3bb94ce74697 feature/variable_derivatives

Merge default
author Jonatan Werpers <jonatan@werpers.com>
date Wed, 23 Mar 2022 12:54:45 +0100
parents f885e1de6dc4 6b94663f4376
children eeecdf135912
comparison
equal deleted inserted replaced
1048:86aa69ad3304 1049:3bb94ce74697
7 - [ ] Create a struct that bundles the necessary Tensor operators for solving the wave equation. 7 - [ ] Create a struct that bundles the necessary Tensor operators for solving the wave equation.
8 - [ ] Replace getindex hack for flattening tuples with flatten_tuple. (eg. `getindex.(range_size.(L.D2),1)`) 8 - [ ] Replace getindex hack for flattening tuples with flatten_tuple. (eg. `getindex.(range_size.(L.D2),1)`)
9 - [ ] Use `@inferred` in a lot of tests. 9 - [ ] Use `@inferred` in a lot of tests.
10 - [ ] Replace `@inferred` tests with a benchmark suite that automatically tests for regressions. 10 - [ ] Replace `@inferred` tests with a benchmark suite that automatically tests for regressions.
11 - [ ] Make sure we are setting tolerances in tests in a consistent way 11 - [ ] Make sure we are setting tolerances in tests in a consistent way
12 - [ ] Add check for correct domain sizes to lazy tensor operations using SizeMismatch
13 - [ ] Write down some coding guideline or checklist for code conventions. For example i,j,... for indices and I for multi-index 12 - [ ] Write down some coding guideline or checklist for code conventions. For example i,j,... for indices and I for multi-index
14 - [ ] Add boundschecking in TensorMappingApplication
15 - [ ] Start renaming things in LazyTensors
16 - [ ] Clean up RegionIndices 13 - [ ] Clean up RegionIndices
17 1. [ ] Write tests for how things should work 14 1. [ ] Write tests for how things should work
18 2. [ ] Update RegionIndices accordingly 15 2. [ ] Update RegionIndices accordingly
19 3. [ ] Fix the rest of the library 16 3. [ ] Fix the rest of the library
20 Should getregion also work for getregion(::Colon,...) 17 Should getregion also work for getregion(::Colon,...)
21 - [ ] Add possibility to create tensor mapping application with `()`, e.g `D1(v) <=> D1*v`? 18 - [ ] Add possibility to create tensor mapping application with `()`, e.g `D1(v) <=> D1*v`?
22 - [ ] Add custom pretty printing to LazyTensors/SbpOperators to enhance readability of e.g error messages. 19 - [ ] Add custom pretty printing to LazyTensors/SbpOperators to enhance readability of e.g error messages.
23 See (https://docs.julialang.org/en/v1/manual/types/#man-custom-pretty-printing) 20 See (https://docs.julialang.org/en/v1/manual/types/#man-custom-pretty-printing)
24 - [ ] Samla noggrannhets- och SBP-ness-tester för alla operatorer på ett ställe 21 - [ ] Samla noggrannhets- och SBP-ness-tester för alla operatorer på ett ställe
25 - [ ] Move export statements to top of each module 22 - [ ] Move export statements to top of each module
26 - [ ] Add a type StencilSet for easier dispatch
27 23
28 24
29 - [ ] Gå igenom alla typ parametrar och kolla om de är motiverade. Både i signaturer och typer, tex D i VariableSecondDerivative. Kan vi använda promote istället? 25 - [ ] Gå igenom alla typ parametrar och kolla om de är motiverade. Både i signaturer och typer, tex D i VariableSecondDerivative. Kan vi använda promote istället?
30 - [ ] Kolla att vi har @inbounds och @propagate_inbounds på rätt ställen 26 - [ ] Kolla att vi har @inbounds och @propagate_inbounds på rätt ställen
31 - [ ] Kolla att vi gör boundschecks överallt och att de är markerade med @boundscheck 27 - [ ] Kolla att vi gör boundschecks överallt och att de är markerade med @boundscheck