aboutsummaryrefslogtreecommitdiff
path: root/Tools/CodeGen
diff options
context:
space:
mode:
Diffstat (limited to 'Tools/CodeGen')
-rw-r--r--Tools/CodeGen/CalculationFunction.m3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/CodeGen/CalculationFunction.m b/Tools/CodeGen/CalculationFunction.m
index 9984e29..e0b3598 100644
--- a/Tools/CodeGen/CalculationFunction.m
+++ b/Tools/CodeGen/CalculationFunction.m
@@ -978,6 +978,9 @@ DefFn[
{
(* DeclareDerivatives[defsWithoutShorts, eqsOrdered], *)
+ (* TODO: Only make local copies for variables that are actually
+ used later on; see e.g. variablesReadInCalc for how to make the
+ distinction *)
CommentedBlock["Assign local copies of grid functions",
assignLocalGridFunctions[gfsInRHS, OptionValue[UseVectors], useJacobian]],