aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Tools/CodeGen/ConservationCalculation.m8
1 files changed, 4 insertions, 4 deletions
diff --git a/Tools/CodeGen/ConservationCalculation.m b/Tools/CodeGen/ConservationCalculation.m
index 9e5ac3f..e83aec1 100644
--- a/Tools/CodeGen/ConservationCalculation.m
+++ b/Tools/CodeGen/ConservationCalculation.m
@@ -197,14 +197,14 @@ ProcessConservationCalculation[calc_, thornName_] :=
Module[{},
{
zeroRHSCalc[calc],
+ conservedCalc[calc],
+ primitivesCalc[calc, thornName],
Sequence@@Flatten[
Table[
- {conservedCalc[calc],
- reconstructCalc[calc, i],
+ {reconstructCalc[calc, i],
conservedIntercellCalc[calc, i],
fluxCalc[calc, i],
- rhs[calc, i],
- primitivesCalc[calc, thornName]}, {i, 1, 1}], 1]
+ rhs[calc, i]}, {i, 1, 3}], 1]
}];
(* Return all the new groups which need to be created for this