Mercurial > repos > public > sbplib_julia
diff Notes.md @ 683:841ca12f3359 feature/boundary_quads
Add notes about embedded grids
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Tue, 09 Feb 2021 06:48:43 +0100 |
parents | d26231227b89 |
children | 3cd582257072 05d8ea88c690 |
line wrap: on
line diff
--- a/Notes.md Mon Feb 08 20:12:09 2021 +0100 +++ b/Notes.md Tue Feb 09 06:48:43 2021 +0100 @@ -298,3 +298,16 @@ component(gf,:,2) # Andra kolumnen av en matris @ourview gf[:,:][2] ``` + +## Grids embedded in higher dimensions + +For grids generated by asking for boundary grids for a regular grid, it would +make sense if these grids knew they were embedded in a higher dimension. They +would return coordinates in the full room. This would make sense when +drawing points for example, or when evaluating functions on the boundary. + +Implementation of this is an issue that requires some thought. Adding an extra +"Embedded" type for each grid would make it easy to understand each type but +contribute to "type bloat". On the other hand adapting existing types to +handle embeddedness would complicate the now very simple grid types. Are there +other ways of doing the implentation?