[MOAB-dev] r2633 - MOAB/trunk/tools/dagmc
janehu at mcs.anl.gov
janehu at mcs.anl.gov
Wed Feb 4 16:37:34 CST 2009
Author: janehu
Date: 2009-02-04 16:37:33 -0600 (Wed, 04 Feb 2009)
New Revision: 2633
Modified:
MOAB/trunk/tools/dagmc/main.cc
Log:
Not intended to check in this file.
Modified: MOAB/trunk/tools/dagmc/main.cc
===================================================================
--- MOAB/trunk/tools/dagmc/main.cc 2009-02-04 22:34:32 UTC (rev 2632)
+++ MOAB/trunk/tools/dagmc/main.cc 2009-02-04 22:37:33 UTC (rev 2633)
@@ -4,9 +4,6 @@
#include "MBCore.hpp"
#include "cgm2moab.hpp"
#include "cubfile.h"
-#include "Tqdcfr.hpp"
-#include "FileOptions.hpp"
-#include "ReadNCDF.hpp"
#define GF_CUBIT_FILE_TYPE "CUBIT"
#define GF_STEP_FILE_TYPE "STEP"
@@ -161,21 +158,10 @@
exit(2);
}
- MBCore *my_impl = new MBCore();
- Tqdcfr *my_tqd = new Tqdcfr(my_impl);
- MBEntityHandle file_set;
- FileOptions opts(NULL);
-
- MBErrorCode result = my_tqd->load_file(input_name, file_set, opts, 0, 0);
-
- opts = "tdata=coord, 1, sum";
- ReadNCDF my_ex_reader(my_impl);
- result = my_ex_reader.update("2Paul.e", opts);
-
- int rvalue = cub_file_type( cub_file, tmp_file, CUB_FILE_ACIS );
+ int rval = cub_file_type( cub_file, tmp_file, CUB_FILE_ACIS );
fclose( cub_file );
fclose( tmp_file );
- if (rvalue) {
+ if (rval) {
remove( temp_name );
free( temp_name );
exit(2);
More information about the moab-dev
mailing list