comparison Notes.md @ 1480:4550beef9694 feature/boundary_conditions

Merge with default
author Vidar Stiernström <vidar.stiernstrom@it.uu.se>
date Sat, 23 Dec 2023 23:03:13 +0100
parents bdcdbd4ea9cd 54ae92803b0b
children d68d02dd882f
comparison
equal deleted inserted replaced
1479:b96858a50e35 1480:4550beef9694
329 329
330 ## Implementation of LazyOuterProduct 330 ## Implementation of LazyOuterProduct
331 Could the implementation of LazyOuterProduct be simplified by making it a 331 Could the implementation of LazyOuterProduct be simplified by making it a
332 struct containing two or more LazyTensors? (using split_tuple in a similar way 332 struct containing two or more LazyTensors? (using split_tuple in a similar way
333 as TensorGrid) 333 as TensorGrid)
334
335 ## Implementation of boundary_indices for more complex grids
336 To represent boundaries of for example tet-elements we can use a type `IndexCollection` to index a grid function directly.
337
338 ```julia
339 I = IndexCollection(...)
340 v[I]
341 ```
342
343 * This would impact how tensor grid works.
344 * To make things homogenous maybe these index collections should be used for the more simple grids too.
345 * The function `to_indices` from Base could be useful to implement for `IndexCollection`