diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2013-09-10 17:10:57 +0200 |
---|---|---|
committer | Ian Hinder <ian.hinder@aei.mpg.de> | 2013-09-10 17:10:57 +0200 |
commit | 5a98f93751cfbe54fab50a5c0392437c7bbeb0c1 (patch) | |
tree | b9191916ef5378e80359115dde4ccd992bb19228 | |
parent | 368992634b4e01319ca1cf5b05114f4afb7ef513 (diff) |
KrancThorn.m: Hook MoLProcessGroups into CreateKrancThorn
Currently this adds InterfaceTimelevels to the group options for evolved variables. Later in CreateKrancThorn, these groups are copied as RHS groups and the options are copied as well.
-rw-r--r-- | Tools/CodeGen/KrancThorn.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tools/CodeGen/KrancThorn.m b/Tools/CodeGen/KrancThorn.m index aca6d46..08ef44f 100644 --- a/Tools/CodeGen/KrancThorn.m +++ b/Tools/CodeGen/KrancThorn.m @@ -175,6 +175,9 @@ CreateKrancThorn[groupsOrig_, parentDirectory_, thornName_, opts:OptionsPattern[ declaredGroups = DeleteDuplicates[Join[declaredGroups, Flatten[Map[Map[groupName,lookup[#,LocalGroups,{}]] &, calcs],1]]]; + groups = MoLProcessGroups[declaredGroups, + calcs, groups, evolutionTimelevels]; + (* Get the different types of group *) evolvedGroups = MoLEvolvedGroups[declaredGroups, calcs, groups]; nonevolvedGroups = MoLNonevolvedGroups[declaredGroups, calcs, groups]; |