Author: kraftche Date: 2009-02-26 18:24:58 -0600 (Thu, 26 Feb 2009) New Revision: 2666 Modified: MOAB/trunk/MBSkinner.cpp Log: fix skinner bugs Modified: MOAB/trunk/MBSkinner.cpp =================================================================== --- MOAB/trunk/MBSkinner.cpp 2009-02-26 22:24:14 UTC (rev 2665) +++ MOAB/trunk/MBSkinner.cpp 2009-02-27 00:24:58 UTC (rev 2666) @@ -455,7 +455,7 @@ if( type != tmp_type ) continue; - result = thisMB->get_connectivity(*jter, tmp, num_verts); + result = thisMB->get_connectivity(*jter, tmp, num_verts, true); assert(MB_SUCCESS == result && num_verts >= num_nodes); if(connectivity_match(conn, tmp, num_verts, direct)) { @@ -657,7 +657,8 @@ assert(MB_SUCCESS == result); // add node handles to boundary_node range - std::copy(conn.begin(), conn.end(), mb_range_inserter(boundary_nodes)); + std::copy(conn.begin(), conn.begin()+MBCN::VerticesPerEntity(type), + mb_range_inserter(boundary_nodes)); type = thisMB->type_from_handle(*iter);
participants (1)
-
kraftche@cae.wisc.edu