From da992edc08db6d4635d670b223f373ea7650ad25 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Mon, 10 Dec 2012 12:09:17 -0500 Subject: Add TODO idea --- Tools/CodeGen/CalculationFunction.m | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Tools/CodeGen') 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]], -- cgit v1.2.3