Mercurial > repos > public > sbplib_julia
comparison Notes.md @ 1469:54ae92803b0b feature/grids/boundary_indicies
Fix wording/typos
author | Vidar Stiernström <vidar.stiernstrom@it.uu.se> |
---|---|
date | Thu, 30 Nov 2023 16:43:46 +0100 |
parents | b4601f106140 |
children | 4550beef9694 d641798539c2 |
comparison
equal
deleted
inserted
replaced
1468:b4601f106140 | 1469:54ae92803b0b |
---|---|
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 | 316 |
317 ## Implementation of boundary_indices for more complex grids | 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. | 318 To represent boundaries of for example tet-elements we can use a type `IndexCollection` to index a grid function directly. |
319 | 319 |
320 ```julia | 320 ```julia |
321 I = IndexCollection(...) | 321 I = IndexCollection(...) |
322 v[I] | 322 v[I] |
323 ``` | 323 ``` |
324 | 324 |
325 * This would impact how tensor grid works. | 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. | 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 usefull to implement for `IndexCollection` | 327 * The function `to_indices` from Base could be useful to implement for `IndexCollection` |