Skip to content

Commit

Permalink
KrancThorn.m: Pass thornName to ProcessConservationCalculation
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhinder committed Oct 1, 2010
1 parent 6bb8de8 commit c132ad2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Tools/CodeGen/KrancThorn.m
Expand Up @@ -152,7 +152,8 @@ Thorn generation (main entry point for non-tensorial thorns)
(* Add in calculations to solve any conservation laws that have
been provided *)
calcs = Join[calcs,
consCalcs = Flatten[Map[ProcessConservationCalculation, consCalcsIn],1]];
consCalcs = Flatten[Map[ProcessConservationCalculation[#,thornName] &,
consCalcsIn],1]];
(* Print["consCalcs = ", consCalcs]; *)

consGroups = Union@Flatten[
Expand Down

0 comments on commit c132ad2

Please sign in to comment.