diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2013-09-09 17:39:24 +0200 |
---|---|---|
committer | Ian Hinder <ian.hinder@aei.mpg.de> | 2013-09-09 17:39:24 +0200 |
commit | 24332111f8dc7e041a41c577f5f3b90ed1fd8cc4 (patch) | |
tree | a857aee1a7adb0c0787e1fddeafa44794cb6b041 /Tools | |
parent | 6552e93ce24819fc29ea581b30304e7ce19f69df (diff) |
KrancThorn.m: Move startup file creation
Diffstat (limited to 'Tools')
-rw-r--r-- | Tools/CodeGen/KrancThorn.m | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Tools/CodeGen/KrancThorn.m b/Tools/CodeGen/KrancThorn.m index c2ca87f..ccb83ba 100644 --- a/Tools/CodeGen/KrancThorn.m +++ b/Tools/CodeGen/KrancThorn.m @@ -155,9 +155,6 @@ CreateKrancThorn[groupsOrig_, parentDirectory_, thornName_, opts:OptionsPattern[ If[OptionValue[UseJacobian], JacobianCheckGroups[groups]]; - InfoMessage[Terse, "Creating startup file"]; - startup = CreateStartupFile[thornName, thornName]; - consCalcsIn = Append[#,Groups -> groups]& /@ OptionValue[ConservationCalculations]; @@ -216,6 +213,10 @@ CreateKrancThorn[groupsOrig_, parentDirectory_, thornName_, opts:OptionsPattern[ calcs = Map[If[!lookup[#,UseCaKernel,False], #, If[mapContains[#,ExecuteOn], #, Append[#,ExecuteOn->Device]]] &, calcs]; + (* Construct the startup file *) + InfoMessage[Terse, "Creating startup file"]; + startup = CreateStartupFile[thornName, thornName]; + (* Construct the configuration file *) InfoMessage[Terse, "Creating configuration file"]; configuration = CreateConfiguration[opts]; |