forked from svalinn/mcnp2cad
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathoptions.hpp
40 lines (30 loc) · 849 Bytes
/
options.hpp
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
#ifndef MCNP2CAD_OPTIONS_H
#define MCNP2CAD_OPTIONS_H
#include <string>
struct program_option_struct{
bool verbose {false};
bool debug {false};
bool infinite_lattice_extra_effort {false};
bool tag_materials {true};
bool tag_importances {true};
bool tag_cell_IDs {true};
bool make_graveyard {true};
bool imprint_geom {true};
bool merge_geom {true};
bool uwuw_names {true};
bool din {false};
bool dout {false};
#ifdef USE_CLI
std::string output_file {"out.STEP"};
#else
std::string output_file {"out.sat"};
#endif
std::string input_file {""};
std::string igeom_init_options {""};
bool override_tolerance {false};
double specific_tolerance {0.0};
};
extern struct program_option_struct Gopt;
#define OPT_VERBOSE (Gopt.verbose || Gopt.debug)
#define OPT_DEBUG (Gopt.debug)
#endif /* MCNP2CAD_OPTIONS_H */