Skip to content

Commit

Permalink
Move many functions from CodeGenCactus.m to new CodeGenKranc.m
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhinder committed Sep 6, 2013
1 parent 3288ac7 commit 129c36b
Show file tree
Hide file tree
Showing 8 changed files with 419 additions and 388 deletions.
2 changes: 1 addition & 1 deletion Tools/CodeGen/CaKernel.m
Expand Up @@ -18,7 +18,7 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*)

BeginPackage["CaKernel`", {"Errors`", "Helpers`", "Kranc`", "CodeGenCactus`", "MapLookup`",
BeginPackage["CaKernel`", {"Errors`", "Helpers`", "Kranc`", "CodeGenCactus`", "CodeGenKranc`", "MapLookup`",
"Calculation`", "CodeGen`", "CalculationFunction`", "CodeGenC`"}];

CaKernelCCL;
Expand Down
2 changes: 1 addition & 1 deletion Tools/CodeGen/CalculationBoundaries.m
Expand Up @@ -19,7 +19,7 @@
*)

BeginPackage["CalculationBoundaries`", {"Errors`", "Helpers`",
"Kranc`", "MapLookup`", "KrancGroups`", "CodeGen`", "CodeGenCactus`", "CodeGenC`"}];
"CodeGenKranc`", "Kranc`", "MapLookup`", "KrancGroups`", "CodeGen`", "CodeGenCactus`", "CodeGenC`"}];

CalculationBoundariesFunction;

Expand Down
1 change: 1 addition & 0 deletions Tools/CodeGen/CalculationFunction.m
Expand Up @@ -20,6 +20,7 @@
*)

BeginPackage["CalculationFunction`", {"CodeGenCactus`", "CodeGenC`", "CodeGen`",
"CodeGenKranc`",
"MapLookup`", "KrancGroups`", "Differencing`", "Errors`",
"Helpers`", "Kranc`", "Optimize`", "Jacobian`", "Profile`", "Vectorisation`",
"Calculation`"}];
Expand Down
384 changes: 1 addition & 383 deletions Tools/CodeGen/CodeGenCactus.m

Large diffs are not rendered by default.

411 changes: 411 additions & 0 deletions Tools/CodeGen/CodeGenKranc.m

Large diffs are not rendered by default.

3 changes: 2 additions & 1 deletion Tools/CodeGen/Differencing.m
Expand Up @@ -133,7 +133,8 @@ A GridFunctionDerivative (GFD) is an expression of the form
*)

BeginPackage["Differencing`", {"CodeGen`", "CodeGenC`", "CodeGenCactus`", "Kranc`", "MapLookup`",
BeginPackage["Differencing`", {"CodeGen`", "CodeGenC`", "CodeGenCactus`", "CodeGenKranc`",
"Kranc`", "MapLookup`",
(* "LinearAlgebra`MatrixManipulation`", *) "Errors`"}];

CreateDifferencingHeader::usage = "";
Expand Down
2 changes: 1 addition & 1 deletion Tools/CodeGen/ParamCheck.m
Expand Up @@ -19,7 +19,7 @@
*)

BeginPackage["ParamCheck`", {"Errors`", "Helpers`", "Kranc`", "CodeGenCactus`",
"CodeGenC`", "CodeGen`"}];
"CodeGenC`", "CodeGen`", "CodeGenKranc`"}];

ParameterCheckSource;
ParameterCheckSchedule;
Expand Down
2 changes: 1 addition & 1 deletion Tools/CodeGen/Thorn.m
Expand Up @@ -23,7 +23,7 @@
(* This package provides a set of functions to create the various
parts of a Cactus thorn and assemble them. *)

BeginPackage["Thorn`", "CodeGen`", "CodeGenC`", "CodeGenCactus`", "CalculationFunction`",
BeginPackage["Thorn`", "CodeGen`", "CodeGenC`", "CodeGenCactus`", "CodeGenKranc`", "CalculationFunction`",
"CalculationBoundaries`", "MapLookup`", "KrancGroups`", "Helpers`",
"Errors`", "Kranc`", "CaKernel`"];

Expand Down

0 comments on commit 129c36b

Please sign in to comment.