aboutsummaryrefslogtreecommitdiff
path: root/Auxiliary/Cactus/KrancNumericalTools
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 /Auxiliary/Cactus/KrancNumericalTools
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 'Auxiliary/Cactus/KrancNumericalTools')
-rw-r--r--Auxiliary/Cactus/KrancNumericalTools/GenericFD/param.ccl5
1 files changed, 5 insertions, 0 deletions
diff --git a/Auxiliary/Cactus/KrancNumericalTools/GenericFD/param.ccl b/Auxiliary/Cactus/KrancNumericalTools/GenericFD/param.ccl
index 85de1f9..8e410f7 100644
--- a/Auxiliary/Cactus/KrancNumericalTools/GenericFD/param.ccl
+++ b/Auxiliary/Cactus/KrancNumericalTools/GenericFD/param.ccl
@@ -42,3 +42,8 @@ CCTK_STRING jacobian_derivative_group "Name of group containing Jacobian derivat
{
"" :: "String of the form <implementation>::<groupname>"
} ""
+
+CCTK_INT jacobian_identity_map "Map number on which the Jacobian should not be applied"
+{
+ -1:* :: "Any integer"
+} -1