Cloudy
Spectral Synthesis Code for Astrophysics
Loading...
Searching...
No Matches
broke.h
Go to the documentation of this file.
1/* This file is part of Cloudy and is copyright (C)1978-2025 by Gary J. Ferland and
2 * others. For conditions of distribution and use see copyright notice in license.txt */
3
4#ifndef BROKE_H_
5#define BROKE_H_
6
8
9#include "module.h"
10
11class FixitList: public Singleton<FixitList>
12{
13 friend class Singleton<FixitList>;
14protected:
16public:
17 vector<string> list;
18};
19
20struct t_broke : public module {
21 const char *chName() const
22 {
23 return "broke";
24 }
25 void zero() {}
26 void comment(t_warnings&);
30 bool lgBroke;
33 bool lgFixit;
35
38
40 {
41 // the code is ok at startup; only init here so that code remains broken
42 // in a grid if any single model announces broken
43 lgBroke = false;
44 lgFixit = false;
45 lgCheckit = false;
46 lgPrintFixits = false;
47 }
48};
50
51
52#endif /* BROKE_H_ */
t_broke broke
Definition broke.cpp:10
FixitList()
Definition broke.h:15
vector< string > list
Definition broke.h:17
Definition cddefines.h:214
module()
Definition module.h:29
Definition warnings.h:11
Definition broke.h:20
const char * chName() const
Definition broke.h:21
bool lgCheckit
Definition broke.h:37
bool lgBroke
Definition broke.h:30
t_broke()
Definition broke.h:39
bool lgPrintFixits
Definition broke.h:34
void comment(t_warnings &)
Definition broke.cpp:12
void zero()
Definition broke.h:25
bool lgFixit
Definition broke.h:33