aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2011-09-28 10:35:07 +0200
committerIan Hinder <ian.hinder@aei.mpg.de>2011-09-29 20:57:09 +0200
commite8de06836ab40996977ae915ad3378aa60a05e81 (patch)
tree0c633b10127e66b35de09f97e16cd059044ebfd0 /Tools
parent5784b9cd74b582639cb70fe91810d63f289de8ce (diff)
Make dt (CCTK_DELTA_TIME) available in calculations.
Diffstat (limited to 'Tools')
-rw-r--r--Tools/CodeGen/CalculationFunction.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/CodeGen/CalculationFunction.m b/Tools/CodeGen/CalculationFunction.m
index 35e9625..155ae63 100644
--- a/Tools/CodeGen/CalculationFunction.m
+++ b/Tools/CodeGen/CalculationFunction.m
@@ -451,7 +451,7 @@ CreateCalculationFunction[calcp_, debug_, imp_, opts:OptionsPattern[]] :=
(* Check that there are no unknown symbols in the calculation *)
allSymbols = calculationSymbols[cleancalc];
knownSymbols = Join[lookupDefault[cleancalc, AllowedSymbols, {}], gfs, shorts, parameters,
- {dx,dy,dz,idx,idy,idz,t, Pi, E, Symbol["i"], Symbol["j"], Symbol["k"], normal1, normal2,
+ {dx,dy,dz,dt,idx,idy,idz,t, Pi, E, Symbol["i"], Symbol["j"], Symbol["k"], normal1, normal2,
normal3, tangentA1, tangentA2, tangentA3, tangentB1, tangentB2, tangentB3},
If[OptionValue[UseJacobian], JacobianSymbols[], {}]];