comparison Notes.md @ 320:d705b397aa33

Clean up Notes.md and TODO.md
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 10 Sep 2020 11:03:22 +0200
parents 05ac7d7f9176
children 535f1bff4bcc
comparison
equal deleted inserted replaced
319:05ac7d7f9176 320:d705b397aa33
1 # Notes 1 # Notes
2 2
3 ## Known size of range and domain? 3 ## Known size of range and domain?
4 It might be a good idea let tensormappings know the size of their range and domain as a constant. This probably can't be enforced on the abstract type but maybe we should write our difference operators this way. Having this as default should clean up the thinking around adjoints of boundary operators. It could also simplify getting high performance out of repeated application of regioned TensorMappings. 4 It might be a good idea let tensormappings know the size of their range and domain as a constant. This probably can't be enforced on the abstract type but maybe we should write our difference operators this way. Having this as default should clean up the thinking around adjoints of boundary operators. It could also simplify getting high performance out of repeated application of regioned TensorMappings.
5 Is there any reason to use a trait to differentiate between fixed size and unknown size?
6
7 ## Test setup
8 Once we figure out how to organize the subpackages we should update test folders to Project. As of writing this there seems to be and issue with this approach combined with dev'ed packages so we can't do it yet. It seems that Pkg might fix this in the future.
5 9
6 ## Reasearch and thinking 10 ## Reasearch and thinking
7 - [ ] Use a trait to indicate if a TensorMapping uses indices with regions. 11 - [ ] Use a trait to indicate if a TensorMapping uses indices with regions.
8 The default should be that they do NOT. 12 The default should be that they do NOT.
9 - [ ] What to name this trait? Can we call it IndexStyle but not export it to avoid conflicts with Base.IndexStyle? 13 - [ ] What to name this trait? Can we call it IndexStyle but not export it to avoid conflicts with Base.IndexStyle?
13 - [ ] Check how the native julia doc generator works 17 - [ ] Check how the native julia doc generator works
14 - [ ] Check if Vidars design docs fit in there 18 - [ ] Check if Vidars design docs fit in there
15 - [ ] Formalize how range_size() and domain_size() are supposed to work in TensorMappings where dim(domain) != dim(range) (add tests or document) 19 - [ ] Formalize how range_size() and domain_size() are supposed to work in TensorMappings where dim(domain) != dim(range) (add tests or document)
16 - [ ] Create a macro @lazy which replaces a binary op (+,-) by its lazy equivalent? Would be a neat way to indicate which evaluations are lazy without cluttering/confusing with special characters. 20 - [ ] Create a macro @lazy which replaces a binary op (+,-) by its lazy equivalent? Would be a neat way to indicate which evaluations are lazy without cluttering/confusing with special characters.
17 - [ ] Specificera operatorer i TOML eller något liknande? 21 - [ ] Specificera operatorer i TOML eller något liknande?
18 - [x] Redo all Tensor applys to take Vararg instead of tuple of Index?
19 - [x] Should there be some kind of collection struct for SBP operators (as TensorOperators), providing easy access to all parts (D2, e, d , -> YES!
20 H.. H_gamma etc.) 22 H.. H_gamma etc.)
21 - [x] Is "missing" a good value for unknown dimension sizes (of `e*g` for example)