aboutsummaryrefslogtreecommitdiff
path: root/Tools/CodeGen/Thorn.m
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2011-05-24 19:37:47 +0200
committerIan Hinder <ian.hinder@aei.mpg.de>2011-05-25 11:23:20 +0200
commitb56e3c5fcf0ff63f1b59890fe843482feba4964c (patch)
tree489f80def373554eebf6db5eb5252540785770af /Tools/CodeGen/Thorn.m
parentbfba9bad6d1628e9880ced2aee809584e45e2b5b (diff)
Make multiplication by Jacobian selectable at run-time
Use of the Jacobian is determined by the user setting the jacobian_group parameter. Also provide a parameter jacobian_identity_map which the user can set to a Carpet map which does not require the Jacobian, in which case the Jacobian will not be applied.
Diffstat (limited to 'Tools/CodeGen/Thorn.m')
-rw-r--r--Tools/CodeGen/Thorn.m3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/CodeGen/Thorn.m b/Tools/CodeGen/Thorn.m
index a454f87..22b9f77 100644
--- a/Tools/CodeGen/Thorn.m
+++ b/Tools/CodeGen/Thorn.m
@@ -509,7 +509,8 @@ CreateSetterSource[calcs_, debug_, include_, imp_,
{IncludeSystemFile["assert.h"],
IncludeSystemFile["math.h"],
IncludeSystemFile["stdio.h"],
- IncludeSystemFile["stdlib.h"]},
+ IncludeSystemFile["stdlib.h"],
+ IncludeSystemFile["string.h"]},
{"\n"}
],