Skip to content

Commit

Permalink
KrancThorn.m: Add ThornName to calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
ianhinder committed Mar 1, 2014
1 parent e57c986 commit 0d831a6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Tools/CodeGen/KrancThorn.m
Expand Up @@ -197,6 +197,7 @@ Thorn generation (main entry point for non-tensorial thorns)
calcs = Map[mapReplaceAdd[#, Shorthands, Join[lookup[#,Shorthands,{}],OptionValue[Shorthands]]] &, calcs];
calcs = Map[Append[#, Implementation -> GetObjectField[c, "Implementation"]] &, calcs];
calcs = Map[Append[#, PartialDerivatives -> GetObjectField[c, "PartialDerivatives"]] &, calcs];
calcs = Map[Append[#, ThornName -> GetObjectField[c, "Name"]] &, calcs];
SetObjectField[c, "Calculations", calcs]];

(* ------------------------------------------------------------------------
Expand Down

0 comments on commit 0d831a6

Please sign in to comment.