diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2013-09-12 10:31:01 +0200 |
---|---|---|
committer | Ian Hinder <ian.hinder@aei.mpg.de> | 2013-09-12 10:31:01 +0200 |
commit | 587a1b8816cf603ce3ee2705de9d660a18a7e513 (patch) | |
tree | 1ac9cad5838632a5bba1d81bd15a777e7a9f1696 | |
parent | 60535a757d0d794eff24c9379b447d1ac4bd5216 (diff) |
KrancThorn.m: Move MoL registration source file generation into MoL section
-rw-r--r-- | Tools/CodeGen/KrancThorn.m | 13 |
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 ------------------------------------------------------------------------ *) |