Mesh Oriented datABase  (version 5.4.1)
Array-based unstructured mesh datastructure
cgm2moab.hpp
Go to the documentation of this file.
00001 #ifndef DAGMC_PREPROC_H
00002 #define DAGMC_PREPROC_H
00003 
00004 #include <iostream>
00005 #include "moab/Interface.hpp"
00006 #include "moab/GeomTopoTool.hpp"
00007 using namespace moab;
00008 
00009 /// program-wide verbose output flag
00010 extern bool verbose;
00011 
00012 /**
00013  * Generic halt-on-error error checking
00014  */
00015 void chkerr( Interface* mbi, ErrorCode code, int line, const char* file );
00016 void chkerr( Interface& mbi, ErrorCode code, int line, const char* file );
00017 void chkerr( GeomTopoTool& gtt, ErrorCode code, int line, const char* file );
00018 
00019 #define CHECKERR( M, C ) chkerr( M, C, __LINE__, __FILE__ )
00020 
00021 // features provided by obb_analysis.cpp
00022 /* no longer provided by dagmc
00023 ErrorCode obbvis_create( DagMC& dag, std::vector<int> &volumes, int grid, std::string& filename );
00024 ErrorCode obbstat_write( DagMC& dag, std::vector<int> &volumes,
00025                          std::vector<std::string> &properties, std::ostream& out );
00026 */
00027 
00028 #endif /* DAGMC_PREPROC_H */
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines