From f29fad1ac38b99c37416dd96fd8e1449d1c0b77f Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Mon, 4 Aug 2008 12:07:25 -0500 Subject: Use cctk_lssh instead of cctk_lsh when calculating grid function extents. This will allow future optimisations with cache-aligned memory allocations. Correct an error in declaring local variables for partial derivatives. Don't register constrained variables, which is in general not necessary but which can use much memory. Register symmetries in the schedule group SymmetryRegister instad of at basegrid. --- Tools/CodeGen/TensorTools.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Tools/CodeGen/TensorTools.m') diff --git a/Tools/CodeGen/TensorTools.m b/Tools/CodeGen/TensorTools.m index 589367f..1bf7c64 100644 --- a/Tools/CodeGen/TensorTools.m +++ b/Tools/CodeGen/TensorTools.m @@ -1255,7 +1255,7 @@ calcSymmetryOfComponent[comp_, inds_] := (* Get the index at the ith position as a number *) q = ToExpression[StringTake[string, {i}]]; If[!IntegerQ[q], ThrowError["calcSymmetryOfComponent: Expecting a numeric index at position " - <> ToString[i] <> " in \"" <> string <> "\"."]]; + <> ToString[i] <> " in \"" <> string <> "\": \"" <> ToString[q] <> "\"."]]; sym[[q]] = -sym[[q]], -- cgit v1.2.3