flexiblesusy is hosted by Hepforge, IPPP Durham
FlexibleSUSY
flexibledecay_settings.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 FLEXIBLEDECAY_SETTINGS_H
20#define FLEXIBLEDECAY_SETTINGS_H
21
22#include <array>
23#include <Eigen/Core>
24
25namespace flexiblesusy {
26
28public:
30 enum Settings : int {
38 };
39
40 using Settings_t = Eigen::Array<double,NUMBER_OF_OPTIONS,1>;
41
43
44 double get(Settings) const;
45 Settings_t get() const;
46 std::string get_description(Settings) const;
47 void set(Settings, double);
48 void set(const Settings_t&);
49 void reset();
50
51private:
52 std::array<double, NUMBER_OF_OPTIONS> values;
53};
54
55std::ostream& operator<<(std::ostream&, const FlexibleDecay_settings&);
56
57} // namespace flexiblesusy
58
59#endif
@ include_higher_order_corrections
[2] include higher order corrections in decays
@ calculate_decays
[0] calculate particle decays
@ NUMBER_OF_OPTIONS
number of possible options
std::string get_description(Settings) const
get description of spectrum generator setting
Eigen::Array< double, NUMBER_OF_OPTIONS, 1 > Settings_t
void reset()
resets all settings to their defaults
std::array< double, NUMBER_OF_OPTIONS > values
spectrum generator settings
Settings_t get() const
get all spectrum generator settings
void set(Settings, double)
set value of spectrum generator setting
std::ostream & operator<<(std::ostream &ostr, const Dynamic_array_view< ElementType > &av)
Definition: array_view.hpp:143