Skip to content

Commit

Permalink
prevent naming conflicts and introduce EMSbar symbol
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Mar 10, 2017
1 parent 819e3bf commit fb494bc
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 18 deletions.
1 change: 1 addition & 0 deletions meta/FlexibleSUSY.m
Expand Up @@ -109,6 +109,7 @@ FlexibleSUSY model file (FlexibleSUSY.m).
MZMSbar;
MWMSbar;
EDRbar;
EMSbar;
ThetaWDRbar;
SCALE;
THRESHOLD;
Expand Down
32 changes: 17 additions & 15 deletions templates/two_scale_low_scale_constraint.cpp.in
Expand Up @@ -53,10 +53,12 @@ namespace flexiblesusy {
#define SCALE model->get_scale()
#define MODEL model
#define MODELCLASSNAME @ModelName@<Two_scale>
#define MWMSbar mWrun
#define MWDRbar mWrun
#define MZMSbar mZrun
#define MZDRbar mZrun
#define MWMSbar mW_run
#define MWDRbar mW_run
#define MZMSbar mZ_run
#define MZDRbar mZ_run
#define EDRbar e_run
#define EMSbar e_run
#define CKM ckm
#define PMNS pmns
#define THETAW theta_w
Expand Down Expand Up @@ -139,10 +141,10 @@ void @ModelName@_low_scale_constraint<Two_scale>::clear()
ckm.setIdentity();
pmns.setIdentity();
neutrinoDRbar.setZero();
mWrun = 0.;
mZrun = 0.;
mW_run = 0.;
mZ_run = 0.;
AlphaS = 0.;
EDRbar = 0.;
e_run = 0.;
ThetaWDRbar = 0.;
new_g1 = 0.;
new_g2 = 0.;
Expand All @@ -160,10 +162,10 @@ void @ModelName@_low_scale_constraint<Two_scale>::initialize()
ckm = qedqcd.get_complex_ckm();
pmns = qedqcd.get_complex_pmns();
neutrinoDRbar = Eigen::Matrix<double,3,3>::Zero();
mWrun = 0.;
mZrun = 0.;
mW_run = 0.;
mZ_run = 0.;
AlphaS = 0.;
EDRbar = 0.;
e_run = 0.;
ThetaWDRbar = 0.;
new_g1 = 0.;
new_g2 = 0.;
Expand Down Expand Up @@ -207,16 +209,16 @@ void @ModelName@_low_scale_constraint<Two_scale>::calculate_threshold_correction
const double e_drbar = Sqrt(4.0 * Pi * alpha_em_drbar);

// interface variables
mZrun = mz_pole;
mWrun = mw_pole;
mZ_run = mz_pole;
mW_run = mw_pole;

if (model->get_thresholds()) {
mZrun = model->calculate_M@VectorZ@_DRbar(mz_pole);
mWrun = model->calculate_M@VectorW@_DRbar(mw_pole);
mZ_run = model->calculate_M@VectorZ@_DRbar(mz_pole);
mW_run = model->calculate_M@VectorW@_DRbar(mw_pole);
}

AlphaS = alpha_s_drbar;
EDRbar = e_drbar;
e_run = e_drbar;
ThetaWDRbar = calculate_theta_w(alpha_em_drbar);
}

Expand Down
6 changes: 3 additions & 3 deletions templates/two_scale_low_scale_constraint.hpp.in
Expand Up @@ -61,10 +61,10 @@ private:
Eigen::Matrix<std::complex<double>,3,3> ckm{Eigen::Matrix<std::complex<double>,3,3>::Identity()};
Eigen::Matrix<std::complex<double>,3,3> pmns{Eigen::Matrix<std::complex<double>,3,3>::Identity()};
Eigen::Matrix<double,3,3> neutrinoDRbar{Eigen::Matrix<double,3,3>::Zero()};
double mWrun{0.};
double mZrun{0.};
double mW_run{0.};
double mZ_run{0.};
double AlphaS{0.};
double EDRbar{0.};
double e_run{0.};
double ThetaWDRbar{0.};
double new_g1{0.}, new_g2{0.}, new_g3{0.};
double self_energy_w_at_mw{0.};
Expand Down

0 comments on commit fb494bc

Please sign in to comment.