[MOAB-dev] r4859 - in MOAB/trunk: MeshFiles/unittest test
iulian at mcs.anl.gov
iulian at mcs.anl.gov
Mon May 23 00:08:56 CDT 2011
Author: iulian
Date: 2011-05-23 00:08:55 -0500 (Mon, 23 May 2011)
New Revision: 4859
Added:
MOAB/trunk/MeshFiles/unittest/quads.h5m
Modified:
MOAB/trunk/test/mbfacet_test.cpp
Log:
test automatic splitting of quads for mesh-based smooth geometry
Added: MOAB/trunk/MeshFiles/unittest/quads.h5m
===================================================================
(Binary files differ)
Property changes on: MOAB/trunk/MeshFiles/unittest/quads.h5m
___________________________________________________________________
Added: svn:mime-type
+ application/octet-stream
Modified: MOAB/trunk/test/mbfacet_test.cpp
===================================================================
--- MOAB/trunk/test/mbfacet_test.cpp 2011-05-21 21:05:31 UTC (rev 4858)
+++ MOAB/trunk/test/mbfacet_test.cpp 2011-05-23 05:08:55 UTC (rev 4859)
@@ -36,6 +36,9 @@
std::string filename;
std::string filename_out;
std::string polygon_file_name;
+
+std::string quads_file;
+
bool keep_output;
int number_tests_successful = 0;
int number_tests_failed = 0;
@@ -63,6 +66,8 @@
ErrorCode check_split(Interface * mb, FBEngine * pFacet);
ErrorCode split_test_across();
+ErrorCode split_quads_test();
+
void handle_error_code(ErrorCode rv, int &number_failed, int &number_successful)
{
if (rv == MB_SUCCESS) {
@@ -79,16 +84,20 @@
filename = TestDir + "/PB.h5m";
polygon_file_name = TestDir + "/polyPB.txt";
filename_out = "PB_new.h5m";
+ quads_file = TestDir + "/quads.h5m";
+
keep_output = false;
if (argc == 1) {
std::cout << "Using default input files: " << filename << " " << polygon_file_name <<
" " << std::endl;
std::cout << " default output file: " << filename_out << " will be deleted \n";
- } else if (argc >=4) {
+ std::cout << " quads test file: " << quads_file << "\n";
+ } else if (argc >=5) {
filename = argv[1];
polygon_file_name = argv[2];
filename_out = argv[3];
More information about the moab-dev
mailing list