aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Hinder <ian.hinder@aei.mpg.de>2013-09-06 20:14:18 +0200
committerIan Hinder <ian.hinder@aei.mpg.de>2013-09-06 20:14:18 +0200
commit0fc0d004bf130f94d23124a8dbdd9545c8bcc87b (patch)
tree16464c6e46d187542623d7d0dbc41d739113376f
parentd05753ca05e145e154aef179d9f02b9e64612cc9 (diff)
CodeGenKranc.m: Remove unused GridName function
-rw-r--r--Tools/CodeGen/CodeGenKranc.m8
1 files changed, 0 insertions, 8 deletions
diff --git a/Tools/CodeGen/CodeGenKranc.m b/Tools/CodeGen/CodeGenKranc.m
index 7a9eaad..06d4e7d 100644
--- a/Tools/CodeGen/CodeGenKranc.m
+++ b/Tools/CodeGen/CodeGenKranc.m
@@ -30,8 +30,6 @@ DeclareMaybeAssignVariableInLoop::usage = "DeclareMaybeAssignVariableInLoop[type
"that assigns 'src' to 'dest'.";
TestForNaN::usage = "TestForNaN[expr_] returns a block of code " <>
"that tests 'expr' for nan.";
-GridName::usage = "GridName[variable] returns the name needed to access variable " <>
- "assuming it is a grid variable when inside a grid loop.";
ArrayName::usage = "ArrayName[variable] returns the name needed to access variable " <>
"assuming it is an array variable when inside a grid function.";
InitialiseFDVariables::usage = "";
@@ -88,12 +86,6 @@ DefFn[
"}\n"}];
DefFn[
- GridName[x:(_Symbol|_String)] :=
- If[SOURCELANGUAGE == "C",
- ToString[x] <> "[index]",
- ToString[x] <> "(i,j,k)"]];
-
-DefFn[
ArrayName[x:(_Symbol|_String)] :=
If[SOURCELANGUAGE == "C",
ToString[x] <> "[0]",