forked from Expander/FlexibleSUSY
/
semi_analytic_susy_scale_constraint.hpp.in
71 lines (59 loc) · 2.44 KB
/
semi_analytic_susy_scale_constraint.hpp.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// ====================================================================
// This file is part of FlexibleSUSY.
//
// FlexibleSUSY is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published
// by the Free Software Foundation, either version 3 of the License,
// or (at your option) any later version.
//
// FlexibleSUSY is distributed in the hope that it will be useful, but
// WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
// General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with FlexibleSUSY. If not, see
// <http://www.gnu.org/licenses/>.
// ====================================================================
// File generated at @DateAndTime@
#ifndef @ModelName@_SEMI_ANALYTIC_SUSY_SCALE_CONSTRAINT_H
#define @ModelName@_SEMI_ANALYTIC_SUSY_SCALE_CONSTRAINT_H
#include "@ModelName@_susy_scale_constraint.hpp"
#include "@ModelName@_input_parameters.hpp"
#include "single_scale_constraint.hpp"
#include "lowe.h"
namespace flexiblesusy {
template <class T>
class @ModelName@;
@semiAnalyticForwardDecls@
class Semi_analytic;
template<>
class @ModelName@_susy_scale_constraint<Semi_analytic> : public Single_scale_constraint {
public:
@ModelName@_susy_scale_constraint() = default;
@ModelName@_susy_scale_constraint(@ModelName@<Semi_analytic>*, const softsusy::QedQcd&);
virtual ~@ModelName@_susy_scale_constraint();
virtual void apply() override;
virtual double get_scale() const override { return scale; }
virtual std::string name() const override { return "@ModelName@ SUSY-scale constraint"; }
virtual void set_model(Model*) override;
void clear();
double get_initial_scale_guess() const { return initial_scale_guess; }
const @ModelName@_input_parameters& get_input_parameters() const;
@ModelName@<Semi_analytic>* get_model() const { return model; }
void initialize();
const softsusy::QedQcd& get_sm_parameters() const { return qedqcd; }
void set_sm_parameters(const softsusy::QedQcd& qedqcd_) { qedqcd = qedqcd_; }
@setSemiAnalyticConstraint@
protected:
void update_scale();
private:
double scale{0.};
double initial_scale_guess{0.};
@ModelName@<Semi_analytic>* model{nullptr};
softsusy::QedQcd qedqcd{};
@semiAnalyticConstraint@
void check_model_ptr() const;
};
} // namespace flexiblesusy
#endif