flexiblesusy is hosted by Hepforge, IPPP Durham
FlexibleSUSY
observable_problems.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 OBSERVABLE_PROBLEMS_H
20#define OBSERVABLE_PROBLEMS_H
21
22namespace flexiblesusy {
23
24namespace observable_problems {
25
28public:
30 void clear();
32 bool have_problem() const;
34 unsigned number_of_problems() const;
35
39
40 void flag_thrown(const char*);
41 bool have_thrown() const;
42 const char* get_thrown_message() const;
43private:
44 bool thrown{false};
45 const char* thrown_msg{nullptr};
48};
49
52public:
54 void clear();
56 bool have_problem() const;
58 unsigned number_of_problems() const;
59
63private:
66};
67
68} // namespace observable_problems
69
71public:
73 void clear();
75 bool have_problem() const;
77 unsigned number_of_problems() const;
78
83};
84
85} // namespace flexiblesusy
86
87#endif
unsigned number_of_problems() const
returns number of problems
observable_problems::Problem_general general
general problems
observable_problems::Problem_a_muon a_muon
problems for a_muon
bool have_problem() const
returns true if there is a problem, false otherwise
bool have_problem() const
returns true if there is a problem, false otherwise
unsigned number_of_problems() const
returns number of problems
unsigned number_of_problems() const
returns number of problems
bool have_problem() const
returns true if there is a problem, false otherwise