aboutsummaryrefslogtreecommitdiff
path: root/Tools/CodeGen/CodeGenCactus.m
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2012-01-26 23:22:26 -0600
committerIan Hinder <ian.hinder@aei.mpg.de>2012-01-26 23:22:26 -0600
commit7cfe4ec6cc6fad4143de194fdb688dc835fd5607 (patch)
tree20a6a622e2f054690fd636756b67630e2cbb36fa /Tools/CodeGen/CodeGenCactus.m
parentc9dec80dd40ea0d0d6a2508eb62697a49e3e93e8 (diff)
Remove unused DeclareFDVariables
Diffstat (limited to 'Tools/CodeGen/CodeGenCactus.m')
-rw-r--r--Tools/CodeGen/CodeGenCactus.m15
1 files changed, 0 insertions, 15 deletions
diff --git a/Tools/CodeGen/CodeGenCactus.m b/Tools/CodeGen/CodeGenCactus.m
index 4d33194..733f3bd 100644
--- a/Tools/CodeGen/CodeGenCactus.m
+++ b/Tools/CodeGen/CodeGenCactus.m
@@ -69,7 +69,6 @@ GridLoop::usage = "GridLoop[block] returns a block that is looped over for every
"grid point. Must have previously set up the grid loop variables (see " <>
"InitialiseGridLoopVariables.";
ConditionalOnParameterTextual::usage = "";
-DeclareFDVariables::usage = "";
InitialiseFDVariables::usage = "";
ReplacePowers::usage = "";
BoundaryLoop::usage = "";
@@ -190,20 +189,6 @@ DefFn[
}]];
DefFn[
- DeclareFDVariables[] :=
-(*
- CommentedBlock["Declare finite differencing variables",
- {Map[DeclareVariables[#, "CCTK_REAL"] &, {{"dx", "dy", "dz"},
- {"dxi", "dyi", "dzi"},
- {khalf,kthird,ktwothird,kfourthird,keightthird},
- {"hdxi", "hdyi", "hdzi"}}],
- "\n"},
- {Map[DeclareVariables[#, "ptrdiff_t"] &, {{"di", "dj", "dk"}}],
- "\n"}];
-*)
- CommentedBlock["Declare finite differencing variables", {}]];
-
-DefFn[
InitialiseFDSpacingVariablesC[] :=
{
(* DeclareAssignVariable["ptrdiff_t", "di", "CCTK_GFINDEX3D(cctkGH,1,0,0) - CCTK_GFINDEX3D(cctkGH,0,0,0)"], *)