Skip to content

Commit

Permalink
Added stub for muonCharge()
Browse files Browse the repository at this point in the history
  • Loading branch information
Jobst Ziebell authored and Jobst Ziebell committed Oct 1, 2015
1 parent 48563aa commit a717320
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions meta/GMuonMinus2.m
Expand Up @@ -111,11 +111,7 @@ If you add new kinds of vertices (e.g for new diagram types):
"return m_muon_pole;\n") <>
"}\n" <>
"static const double muonCharge( EvaluationContext &context )\n" <>
"{ return context.model." <>
NameOfCouplingFunction[{GetPhoton[], GetMuonFamily[], SARAH`bar[GetMuonFamily[]]}] <> "PL" <>
If[muonIndex =!= Null,
"( " <> ToString[muonIndex-1] <> ", " <> ToString[muonIndex-1] <> " )",
"()"] <> "; }");
"{ return 1.0; }");

muonFunctions = {prototypes, definitions};
Return[muonFunctions];
Expand Down Expand Up @@ -173,7 +169,7 @@ If you add new kinds of vertices (e.g for new diagram types):
CreateThreadedCalculation[] := CreateCalculation[];

CreateDefinitions[vertexRules_List] := (CreateEvaluationContextSpecializations[] <> "\n\n" <>
CreateMuonFunctions[][[2]] <> "\n\n" <>
CreateMuonFunctions[vertexRules][[2]] <> "\n\n" <>
CreateVertices[vertexRules][[2]]);

nPointFunctions = Null;
Expand Down

0 comments on commit a717320

Please sign in to comment.