aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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])"]
]];