aboutsummaryrefslogtreecommitdiff
path: root/Tools
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2011-12-18 14:51:41 -0500
committerErik Schnetter <schnetter@gmail.com>2011-12-18 14:51:41 -0500
commit06a5d44c1d1f04e1e28189b087e1f04299748c16 (patch)
tree9cf974fa95d61b28f7d634520f0c5007e6417666 /Tools
parentc9ec36148e7d255006d732fb16c00c6a64cfa4c9 (diff)
Remove commented out code
Diffstat (limited to 'Tools')
-rw-r--r--Tools/CodeGen/CodeGenCactus.m16
-rw-r--r--Tools/CodeGen/Differencing.m2
2 files changed, 0 insertions, 18 deletions
diff --git a/Tools/CodeGen/CodeGenCactus.m b/Tools/CodeGen/CodeGenCactus.m
index 5e4e788..702970b 100644
--- a/Tools/CodeGen/CodeGenCactus.m
+++ b/Tools/CodeGen/CodeGenCactus.m
@@ -98,21 +98,6 @@ DefFn[
DefFn[
StoreVariableInLoop[dest:(_String|_Symbol), src:(_String|_Symbol)] :=
{"vec_store_nta(", dest, ",", src, ")", EOL[]}];
-
-(*
-DefFn[
- StoreLowPartialVariableInLoop[dest:(_String|_Symbol), src:(_String|_Symbol), count_String] :=
- {"vec_store_nta_partial_lo(", dest, ",", src, ",", count, ")", EOL[]}];
-
-DefFn[
- StoreHighPartialVariableInLoop[dest:(_String|_Symbol), src:(_String|_Symbol), count_String] :=
- {"vec_store_nta_partial_hi(", dest, ",", src, ",", count, ")", EOL[]}];
-
-DefFn[
- StoreMiddlePartialVariableInLoop[dest:(_String|_Symbol), src:(_String|_Symbol), countLow_String, countHigh_String] :=
- {"vec_store_nta_partial_mid(", dest, ",", src, ",", countLow, ",", countHigh, ")", EOL[]}];
-*)
-
DefFn[
PrepareStorePartialVariableInLoop[i:(_String|_Symbol),
ilo:(_String|_Symbol),
@@ -219,7 +204,6 @@ DefFn[
DeclareAssignVariable[DataType[], "dy", "ToReal(CCTK_DELTA_SPACE(1))"],
DeclareAssignVariable[DataType[], "dz", "ToReal(CCTK_DELTA_SPACE(2))"],
DeclareAssignVariable[DataType[], "dt", "ToReal(CCTK_DELTA_TIME)"]
- (* DeclareAssignVariable[DataType[], "t", "ToReal(cctk_time)"]*)
}];
DefFn[
diff --git a/Tools/CodeGen/Differencing.m b/Tools/CodeGen/Differencing.m
index 499fe81..bb705ca 100644
--- a/Tools/CodeGen/Differencing.m
+++ b/Tools/CodeGen/Differencing.m
@@ -306,8 +306,6 @@ DefFn[
evaluateDerivative[d:pd_[gf_, inds___]] :=
Module[{macroname},
macroName = ComponentDerivativeOperatorMacroName[pd[inds] -> expr];
- (* Return[ToString[macroName] <> "(" <> ToString[gf] <> ", i, j, k)"] *)
- (* Return[ToString[macroName] <> "(" <> ToString[gf] <> ")"] *)
Return[ToString[macroName] <> "(&" <> ToString[gf] <> "[index])"]
]];