Skip to content

Commit

Permalink
put GM2Calc interface into src/ module
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Voigt authored and Alexander Voigt committed Dec 20, 2015
1 parent 0d3ed1f commit c8d8ac7
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 6 deletions.
2 changes: 0 additions & 2 deletions addons/gm2calc/module.mk
Expand Up @@ -6,7 +6,6 @@ LIBgm2calc_SRC := \
$(DIR)/ffunctions.cpp \
$(DIR)/gm2_1loop.cpp \
$(DIR)/gm2_2loop.cpp \
$(DIR)/gm2_flexiblesusy_interface.cpp \
$(DIR)/gm2_mb.cpp \
$(DIR)/gm2_slha_io.cpp \
$(DIR)/gm2_uncertainty.cpp \
Expand All @@ -27,7 +26,6 @@ LIBgm2calc_HDR := \
$(DIR)/ffunctions.hpp \
$(DIR)/gm2_1loop.hpp \
$(DIR)/gm2_2loop.hpp \
$(DIR)/gm2_flexiblesusy_interface.hpp \
$(DIR)/gm2_error.hpp \
$(DIR)/gm2_mb.hpp \
$(DIR)/gm2_slha_io.hpp \
Expand Down
Expand Up @@ -16,12 +16,21 @@
// <http://www.gnu.org/licenses/>.
// ====================================================================

#include "gm2_flexiblesusy_interface.hpp"
#include "gm2calc_interface.hpp"
#include "config.h"

namespace gm2calc {

#ifdef ENABLE_GM2Calc
double fs_calculate_amu()
{
return 0.;
}
#else
double fs_calculate_amu()
{
return 0.;
}
#endif

} // namespace gm2calc
Expand Up @@ -16,8 +16,8 @@
// <http://www.gnu.org/licenses/>.
// ====================================================================

#ifndef GM2CALC_FLEXIBLESUSY_INTERFACE_H
#define GM2CALC_FLEXIBLESUSY_INTERFACE_H
#ifndef GM2CALC_INTERFACE_H
#define GM2CALC_INTERFACE_H

namespace gm2calc {

Expand Down
2 changes: 2 additions & 0 deletions src/module.mk
Expand Up @@ -14,6 +14,7 @@ LIBFLEXI_SRC := \
$(DIR)/dilog.cpp \
$(DIR)/dilogc.f \
$(DIR)/error.cpp \
$(DIR)/gm2calc_interface.cpp \
$(DIR)/gsl_utils.cpp \
$(DIR)/linalg.cpp \
$(DIR)/lowe.cpp \
Expand Down Expand Up @@ -60,6 +61,7 @@ LIBFLEXI_HDR := \
$(DIR)/ewsb_solver.hpp \
$(DIR)/fixed_point_iterator.hpp \
$(DIR)/functors.hpp \
$(DIR)/gm2calc_interface.hpp \
$(DIR)/gsl_utils.hpp \
$(DIR)/gut_scale_calculator.hpp \
$(DIR)/two_loop_corrections.hpp \
Expand Down
2 changes: 1 addition & 1 deletion templates/observables.cpp.in
Expand Up @@ -20,7 +20,7 @@

#include "@ModelName@_observables.hpp"
#include "@ModelName@_mass_eigenstates.hpp"
#include "gm2_flexiblesusy_interface.hpp"
#include "gm2calc_interface.hpp"

#define MODEL model
#define AMUGM2CALC a_muon_gm2calc
Expand Down

0 comments on commit c8d8ac7

Please sign in to comment.