changeset 159:b790082032da boundary_conditions

Add discussion about what a TensorMapping apply()s to
author Jonatan Werpers <jonatan@werpers.com>
date Fri, 10 May 2019 15:05:26 +0200
parents a3fac8298e3c
children d33b13d2d92b
files TensorMappings.jl
diffstat 1 files changed, 7 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/TensorMappings.jl	Fri May 10 15:04:54 2019 +0200
+++ b/TensorMappings.jl	Fri May 10 15:05:26 2019 +0200
@@ -24,6 +24,13 @@
 
 # Implementing apply_transpose and domain_size is only needed if you want to take transposes of the TensorMapping.
 
+# What does a TensorMapping apply() to?
+# =====================================
+# Is it too strict that TensorMappings apply to AbstractArrays? Maybe we don't need
+# to know the operands size. That could simplify the handeling of the range_size...
+# It would just fail if apply does something out of bounds..
+# No i think knowing the size is a requirement. The TensorMapping must be able to do
+# different things for different indecies based for example on how close to the boundary we are.
 
 
 # Allow using the ' operator: