diff options
author | Ian Hinder <ian.hinder@aei.mpg.de> | 2013-09-12 15:49:19 +0200 |
---|---|---|
committer | Ian Hinder <ian.hinder@aei.mpg.de> | 2013-09-12 15:49:19 +0200 |
commit | 5828f006046a5cccd12882352e0138da022a2613 (patch) | |
tree | 6e55b4613f958584257b9536203aa60a663d5b30 | |
parent | 5fcdf618c416037fb1b2454490e1cf03c12e0d86 (diff) |
KrancThorn.m: Eliminate local variable
-rw-r--r-- | Tools/CodeGen/KrancThorn.m | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Tools/CodeGen/KrancThorn.m b/Tools/CodeGen/KrancThorn.m index 6d116ba..68fc336 100644 --- a/Tools/CodeGen/KrancThorn.m +++ b/Tools/CodeGen/KrancThorn.m @@ -71,7 +71,6 @@ CreateKrancThorn[groupsOrig_, parentDirectory_, thornName_, opts:OptionsPattern[ interface, evolvedGroupDefinitions, thornspec, evolvedODEGroups, nonevolvedODEGroups, evolvedODEGroupDefinitions, rhsODEGroups, - reflectionSymmetries, consCalcs, consCalcsIn, consGroups, cakernel, sources = {}}, @@ -106,7 +105,6 @@ CreateKrancThorn[groupsOrig_, parentDirectory_, thornName_, opts:OptionsPattern[ partialDerivs = OptionValue[PartialDerivatives]; If[OptionValue[ConservationCalculations] =!= {}, partialDerivs = Join[partialDerivs, ConservationDifferencingOperators[]]]; - reflectionSymmetries = OptionValue[ReflectionSymmetries]; (* ------------------------------------------------------------------------ CaKernel @@ -332,7 +330,7 @@ CreateKrancThorn[groupsOrig_, parentDirectory_, thornName_, opts:OptionsPattern[ {Filename -> "RegisterSymmetries.cc", Contents -> CreateSymmetriesRegistrationSource[ thornName, implementation, - allGFs, reflectionSymmetries, False]}]]; + allGFs, OptionValue[ReflectionSymmetries], False]}]]; (* ------------------------------------------------------------------------ Add parameter check source file |