cgma
options.hpp
Go to the documentation of this file.
00001 #ifndef MCNP2CAD_OPTIONS_H
00002 #define MCNP2CAD_OPTIONS_H
00003 
00004 #include <string>
00005 
00006 struct program_option_struct{
00007   bool verbose;
00008   bool debug;
00009 
00010   bool infinite_lattice_extra_effort;
00011   bool tag_materials;
00012   bool tag_importances;
00013   bool tag_cell_IDs;
00014   bool make_graveyard;
00015   bool imprint_geom;
00016   bool merge_geom;
00017   bool uwuw_names;
00018   
00019   std::string output_file;
00020   std::string input_file;
00021   
00022   std::string igeom_init_options;
00023 
00024   bool override_tolerance;
00025   double specific_tolerance;
00026 };
00027 
00028 extern struct program_option_struct Gopt;
00029 
00030 #define OPT_VERBOSE (Gopt.verbose || Gopt.debug)
00031 #define OPT_DEBUG   (Gopt.debug)
00032 
00033 #define OPT_DEFAULT_OUTPUT_FILENAME "out.brep"
00034 
00035 #endif /* MCNP2CAD_OPTIONS_H */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines