changeset 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 3ed922e95a35
children bc2a9b8d2774
files Notes.md
diffstat 1 files changed, 13 insertions(+), 0 deletions(-) [+]
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?