From 06a5d44c1d1f04e1e28189b087e1f04299748c16 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Sun, 18 Dec 2011 14:51:41 -0500 Subject: Remove commented out code --- Tools/CodeGen/CodeGenCactus.m | 16 ---------------- Tools/CodeGen/Differencing.m | 2 -- 2 files changed, 18 deletions(-) (limited to 'Tools') 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])"] ]]; -- cgit v1.2.3