diff 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
line wrap: on
line diff
--- a/Notes.md	Wed Nov 22 17:52:03 2023 +0100
+++ b/Notes.md	Fri Dec 01 11:48:04 2023 +0100
@@ -313,3 +313,15 @@
 Could the implementation of LazyOuterProduct be simplified by making it a
 struct containing two or more LazyTensors? (using split_tuple in a similar way
 as TensorGrid)
+
+## Implementation of boundary_indices for more complex grids
+To represent boundaries of for example tet-elements we can use a type `IndexCollection` to index a grid function directly.
+
+```julia
+I = IndexCollection(...)
+v[I]
+```
+
+* This would impact how tensor grid works.
+* To make things homogenous maybe these index collections should be used for the more simple grids too.
+* The function `to_indices` from Base could be useful to implement for `IndexCollection`