Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Jan 11, 2017
1 parent 3b22e0d commit 55b9dfd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 20 deletions.
13 changes: 0 additions & 13 deletions meta/FlexibleEFTHiggsMatching.m
@@ -1,25 +1,12 @@
BeginPackage["FlexibleEFTHiggsMatching`", {"CConversion`", "TreeMasses`", "LoopMasses`", "Constraint`", "ThresholdCorrections`", "Parameters`"}];

CallSMPoleMassFunctions::usage = "";
CalculateRunningUpQuarkMasses::usage = "";
CalculateRunningDownQuarkMasses::usage = "";
CalculateRunningDownLeptonMasses::usage = "";
FillSMFermionPoleMasses::usage = "";

Begin["`Private`"];

CallSMPoleMassFunctions[states_, enablePoleMassThreads_] :=
Module[{particles, result, Selector},
Selector[p_] := SARAH`SMQ[p] && !IsMassless[p] && (IsVector[p] || IsFermion[p]);
particles = Select[LoopMasses`GetLoopCorrectedParticles[states], Selector];
If[enablePoleMassThreads =!= True,
result = StringJoin[LoopMasses`CallPoleMassFunction[#,"model."]& /@ particles];
,
result = StringJoin[LoopMasses`CallThreadedPoleMassFunction[#,"model_ptr"]& /@ particles] <> "\n";
];
result
];

CalculateRunningUpQuarkMasses[] :=
Module[{result = "", i, iStr, mq, mqFun},
For[i = 0, i < 3, i++,
Expand Down
8 changes: 1 addition & 7 deletions meta/FlexibleSUSY.m
Expand Up @@ -991,9 +991,7 @@ corresponding tadpole is real or imaginary (only in models with CP
Module[{scheme = GetRenormalizationScheme[], userMatching = "",
alphaS1Lmatching = "", alphaEM1Lmatching = "",
setRunningUpQuarkMasses = "", setRunningDownQuarkMasses = "",
setRunningDownLeptonMasses = "", setYukawas = "",
callAllSMPoleMassFunctions = "",
callAllSMPoleMassFunctionsThreads = ""},
setRunningDownLeptonMasses = "", setYukawas = ""},
If[FlexibleSUSY`FlexibleEFTHiggs === True,
If[Head[susyScaleMatching] === List,
userMatching = Constraint`ApplyConstraints[susyScaleMatching];
Expand All @@ -1008,8 +1006,6 @@ corresponding tadpole is real or imaginary (only in models with CP
setRunningDownQuarkMasses = FlexibleEFTHiggsMatching`CalculateRunningDownQuarkMasses[];
setRunningDownLeptonMasses = FlexibleEFTHiggsMatching`CalculateRunningDownLeptonMasses[];
setYukawas = ThresholdCorrections`SetDRbarYukawaCouplings[];
callAllSMPoleMassFunctions = FlexibleEFTHiggsMatching`CallSMPoleMassFunctions[FlexibleSUSY`FSEigenstates, False];
callAllSMPoleMassFunctionsThreads = FlexibleEFTHiggsMatching`CallSMPoleMassFunctions[FlexibleSUSY`FSEigenstates, True];
];
WriteOut`ReplaceInFiles[files,
{ "@alphaS1Lmatching@" -> IndentText[IndentText[WrapLines[alphaS1Lmatching]]],
Expand All @@ -1019,8 +1015,6 @@ corresponding tadpole is real or imaginary (only in models with CP
"@setRunningDownLeptonMasses@" -> IndentText[IndentText[setRunningDownLeptonMasses]],
"@setYukawas@" -> IndentText[WrapLines[setYukawas]],
"@applyUserMatching@" -> IndentText[IndentText[WrapLines[userMatching]]],
"@callAllSMPoleMassFunctions@" -> IndentText[callAllSMPoleMassFunctions],
"@callAllSMPoleMassFunctionsThreads@" -> IndentText[callAllSMPoleMassFunctionsThreads],
Sequence @@ GeneralReplacementRules[]
} ];
];
Expand Down

0 comments on commit 55b9dfd

Please sign in to comment.