Mercurial > repos > public > sbplib_julia
comparison Notes.md @ 1465:88e738d807cb feature/grids/boundary_indicies
Implement boundary_indices for TensorGrid
| author | Jonatan Werpers <jonatan@werpers.com> |
|---|---|
| date | Wed, 29 Nov 2023 09:14:06 +0100 |
| parents | e9dfc1998d31 |
| children | b4601f106140 |
comparison
equal
deleted
inserted
replaced
| 1464:37cf9f79caa4 | 1465:88e738d807cb |
|---|---|
| 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` which should be able to be used 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. |
