flexiblesusy is hosted by Hepforge, IPPP Durham
FlexibleSUSY
physical_input.hpp
Go to the documentation of this file.
1// ====================================================================
2// This file is part of FlexibleSUSY.
3//
4// FlexibleSUSY is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published
6// by the Free Software Foundation, either version 3 of the License,
7// or (at your option) any later version.
8//
9// FlexibleSUSY is distributed in the hope that it will be useful, but
10// WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12// General Public License for more details.
13//
14// You should have received a copy of the GNU General Public License
15// along with FlexibleSUSY. If not, see
16// <http://www.gnu.org/licenses/>.
17// ====================================================================
18
19#ifndef PHYSICAL_INPUT_H
20#define PHYSICAL_INPUT_H
21
22#include <array>
23#include <string>
24#include <Eigen/Core>
25
26namespace flexiblesusy {
27
36public:
38 enum Input : int {
42 };
43
45
46 double get(Input) const;
47 Eigen::ArrayXd get() const;
48 static const std::array<std::string, NUMBER_OF_INPUT_PARAMETERS>& get_names();
49 void set(Input, double);
50 void set(const Eigen::ArrayXd&);
51 void reset();
52
53private:
54 std::array<double, NUMBER_OF_INPUT_PARAMETERS> values;
55};
56
57} // namespace flexiblesusy
58
59#endif
stores physical input parameters
void reset()
resets all input parameters to their defaults
void set(Input, double)
set value of input parameter
Eigen::ArrayXd get() const
get all input parameter values
Input
available physical input parameters
@ alpha_em_0
[0] alpha_em(0), thompson limit
@ NUMBER_OF_INPUT_PARAMETERS
number of possible input parameters
@ mh_pole
[1] SM Higgs pole mass
static const std::array< std::string, NUMBER_OF_INPUT_PARAMETERS > & get_names()
get names of input parameters
std::array< double, NUMBER_OF_INPUT_PARAMETERS > values
input parameter values