Mesh Oriented datABase  (version 5.5.1)
An array-based unstructured mesh library
cgm2moab.hpp
Go to the documentation of this file.
1 #ifndef DAGMC_PREPROC_H
2 #define DAGMC_PREPROC_H
3 
4 #include <iostream>
5 #include "moab/Interface.hpp"
6 #include "moab/GeomTopoTool.hpp"
7 using namespace moab;
8 
9 /// program-wide verbose output flag
10 extern bool verbose;
11 
12 /**
13  * Generic halt-on-error error checking
14  */
15 void chkerr( Interface* mbi, ErrorCode code, int line, const char* file );
16 void chkerr( Interface& mbi, ErrorCode code, int line, const char* file );
17 void chkerr( GeomTopoTool& gtt, ErrorCode code, int line, const char* file );
18 
19 #define CHECKERR( M, C ) chkerr( M, C, __LINE__, __FILE__ )
20 
21 // features provided by obb_analysis.cpp
22 /* no longer provided by dagmc
23 ErrorCode obbvis_create( DagMC& dag, std::vector<int> &volumes, int grid, std::string& filename );
24 ErrorCode obbstat_write( DagMC& dag, std::vector<int> &volumes,
25  std::vector<std::string> &properties, std::ostream& out );
26 */
27 
28 #endif /* DAGMC_PREPROC_H */