Skip to content

Commit

Permalink
Merge branch 'development' of https://github.com/FlexibleSUSY/Flexibl…
Browse files Browse the repository at this point in the history
…eSUSY into development
  • Loading branch information
Peter Athron committed Nov 14, 2014
2 parents 52d2af4 + b2a6328 commit 0879762
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 22 deletions.
6 changes: 3 additions & 3 deletions meta/WriteOut.m
Expand Up @@ -110,15 +110,15 @@
If[pdg != 0,
eigenstateNameStr = CConversion`RValueToCFormString[eigenstateName];
result = "<< FORMAT_MASS(" <> ToString[pdg] <>
", EWCONSTANT(MW), \"" <> eigenstateNameStr <> "\")\n";
", SM(MW), \"" <> eigenstateNameStr <> "\")\n";
];
,
For[i = 1, i <= dim, i++,
pdg = Abs[pdgList[[i]]];
If[pdg != 0,
eigenstateNameStr = CConversion`RValueToCFormString[eigenstateName] <> "(" <> ToString[i] <> ")";
result = result <> "<< FORMAT_MASS(" <> ToString[pdg] <>
", EWCONSTANT(MW), \"" <> eigenstateNameStr <> "\")\n";
", SM(MW), \"" <> eigenstateNameStr <> "\")\n";
];
];
];
Expand Down Expand Up @@ -283,7 +283,7 @@
Flatten @ Join[CreateRulesForProtectedHead[expr,#]& /@ protectedHeads];

WrapPreprocessorMacroAround[expr_, symbols_, macroSymbol_,
protectedHeads_List:{FlexibleSUSY`Pole}] :=
protectedHeads_List:{FlexibleSUSY`Pole, SARAH`SM}] :=
Module[{replacements, protectionRules, exprWithoutProtectedSymbols},
replacements = Join[
RuleDelayed[# , macroSymbol[#] ]& /@ symbols,
Expand Down
17 changes: 1 addition & 16 deletions model_files/MSSMNoFV/FlexibleSUSY.m.in
Expand Up @@ -137,22 +137,7 @@ ExtraSLHAOutputBlocks = {
{1000023, Pole[M[Chi[2]]] },
{1000025, Pole[M[Chi[3]]] },
{1000035, Pole[M[Chi[4]]] },
{ 21, Pole[M[VG]] },
{ 22, Pole[M[VP]] },
{ 23, Pole[M[VZ]] },
{ 1, Pole[M[Fd]] },
{ 3, Pole[M[Fs]] },
{ 5, Pole[M[Fb]] },
{ 2, Pole[M[Fu]] },
{ 4, Pole[M[Fc]] },
{ 6, Pole[M[Ft]] },
{ 12, Pole[M[Fve]] },
{ 14, Pole[M[Fvm]] },
{ 16, Pole[M[Fvt]] },
{ 11, Pole[M[Fe]] },
{ 13, Pole[M[Fm]] },
{ 15, Pole[M[Ftau]] },
{ 24, Pole[M[VWm]] } } }
{ 24, SM[MW] } } }
};

TopQuark = Ft;
Expand Down
3 changes: 0 additions & 3 deletions templates/slha_io.cpp.in
Expand Up @@ -26,15 +26,12 @@
#include "spectrum_generator_settings.hpp"
#include "lowe.h"
#include "config.h"
#include "ew_input.hpp"

#include <fstream>
#include <sstream>
#include <iostream>
#include <boost/bind.hpp>

#define EWCONSTANT(p) Electroweak_constants::p

using namespace softsusy;

namespace flexiblesusy {
Expand Down
2 changes: 2 additions & 0 deletions templates/slha_io.hpp.in
Expand Up @@ -25,6 +25,7 @@
#include "@ModelName@_info.hpp"
#include "@ModelName@_physical.hpp"
#include "slha_io.hpp"
#include "ew_input.hpp"

#include <Eigen/Core>
#include <string>
Expand All @@ -38,6 +39,7 @@
typename std::remove_const<typename std::remove_reference<decltype(MODELPARAMETER(p))>::type>::type p;
#define DEFINE_POLE_MASS(p) \
typename std::remove_const<typename std::remove_reference<decltype(PHYSICAL(p))>::type>::type p;
#define SM(p) Electroweak_constants::p

namespace flexiblesusy {

Expand Down

0 comments on commit 0879762

Please sign in to comment.