aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Tools/CodeGen/KrancThorn.m13
1 files changed, 4 insertions, 9 deletions
diff --git a/Tools/CodeGen/KrancThorn.m b/Tools/CodeGen/KrancThorn.m
index 284fab9..30d3e2a 100644
--- a/Tools/CodeGen/KrancThorn.m
+++ b/Tools/CodeGen/KrancThorn.m
@@ -239,6 +239,10 @@ CreateKrancThorn[groupsOrig_, parentDirectory_, thornName_, opts:OptionsPattern[
declaredGroups = Join[declaredGroups, rhsGroups, odeGroups, rhsODEGroups];
+ InfoMessage[Terse, "Creating MoL registration file"];
+ (* TODO: only do this for thorns with evolved variables *)
+ molregister = CreateKrancMoLRegister[evolvedGroups, nonevolvedGroups, evolvedODEGroups, nonevolvedODEGroups, groups, implementation, thornName];
+
(* ------------------------------------------------------------------------
Split calculations
------------------------------------------------------------------------ *)
@@ -302,15 +306,6 @@ CreateKrancThorn[groupsOrig_, parentDirectory_, thornName_, opts:OptionsPattern[
implementation, thornName];
(* ------------------------------------------------------------------------
- Create MoL registration source file
- ------------------------------------------------------------------------ *)
-
- (* TODO: only do this for thorns with evolved variables *)
-
- InfoMessage[Terse, "Creating MoL registration file"];
- molregister = CreateKrancMoLRegister[evolvedGroups, nonevolvedGroups, evolvedODEGroups, nonevolvedODEGroups, groups, implementation, thornName];
-
- (* ------------------------------------------------------------------------
Create symmetry registration source file
------------------------------------------------------------------------ *)