comparison Notes.md @ 1473:869a40cda18c

Merge feature/grids/boundary_indicies
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 01 Dec 2023 11:48:04 +0100
parents 54ae92803b0b
children 4550beef9694 d641798539c2
comparison
equal deleted inserted replaced
1443:f217c6167952 1473:869a40cda18c
311 311
312 ## Implementation of LazyOuterProduct 312 ## Implementation of LazyOuterProduct
313 Could the implementation of LazyOuterProduct be simplified by making it a 313 Could the implementation of LazyOuterProduct be simplified by making it a
314 struct containing two or more LazyTensors? (using split_tuple in a similar way 314 struct containing two or more LazyTensors? (using split_tuple in a similar way
315 as TensorGrid) 315 as TensorGrid)
316
317 ## Implementation of boundary_indices for more complex grids
318 To represent boundaries of for example tet-elements we can use a type `IndexCollection` to index a grid function directly.
319
320 ```julia
321 I = IndexCollection(...)
322 v[I]
323 ```
324
325 * This would impact how tensor grid works.
326 * To make things homogenous maybe these index collections should be used for the more simple grids too.
327 * The function `to_indices` from Base could be useful to implement for `IndexCollection`