[MOAB-dev] r1934 - MOAB/trunk/tools/mbcoupler
tautges at mcs.anl.gov
tautges at mcs.anl.gov
Thu Jun 26 14:31:08 CDT 2008
Author: tautges
Date: 2008-06-26 14:31:08 -0500 (Thu, 26 Jun 2008)
New Revision: 1934
Modified:
MOAB/trunk/tools/mbcoupler/mbcoupler_test.cpp
Log:
If a tag name isn't entered to interpolate, then just the file reading is done.
Modified: MOAB/trunk/tools/mbcoupler/mbcoupler_test.cpp
===================================================================
--- MOAB/trunk/tools/mbcoupler/mbcoupler_test.cpp 2008-06-26 19:09:38 UTC (rev 1933)
+++ MOAB/trunk/tools/mbcoupler/mbcoupler_test.cpp 2008-06-26 19:31:08 UTC (rev 1934)
@@ -93,10 +93,12 @@
result = report_iface_ents(mbImpl, pcs);
PRINT_LAST_ERROR;
- // test interpolation
- result = test_interpolation(mbImpl, interp_tag, pcs, rps);
- PRINT_LAST_ERROR;
-
+ if (!interp_tag.empty()) {
+ // test interpolation
+ result = test_interpolation(mbImpl, interp_tag, pcs, rps);
+ PRINT_LAST_ERROR;
+ }
+
// output mesh
result = mbImpl->write_file("output.h5m", NULL, NULL,
pcs[1]->partition_sets());
More information about the moab-dev
mailing list