Author: janehu Date: 2011-11-23 10:47:25 -0600 (Wed, 23 Nov 2011) New Revision: 5224 Modified: cgm/trunk/geom/OCC/OCCModifyEngine.cpp Log: Fixed hexlat hexlat2 in mcnp2cad, so currently out of 47 testcases, 35 are working and 12 are still failing. passed make check in cgm. Modified: cgm/trunk/geom/OCC/OCCModifyEngine.cpp =================================================================== --- cgm/trunk/geom/OCC/OCCModifyEngine.cpp 2011-11-22 22:56:17 UTC (rev 5223) +++ cgm/trunk/geom/OCC/OCCModifyEngine.cpp 2011-11-23 16:47:25 UTC (rev 5224) @@ -2408,7 +2408,7 @@ int i = OCCQueryEngine::instance()->OCCMap->Find(from_face); face = (OCCSurface*)(OCCQueryEngine::instance()->OccToCGM->find(i))->second; } - else + if (face == NULL) { face_created = CUBIT_TRUE; face = OCCQueryEngine::instance()->populate_topology_bridge(from_face); @@ -2804,7 +2804,8 @@ } edge_list->clean_out(); delete edge_list; - if(!periodic || count_intersection == 2) + if(!periodic || count_intersection == 2 || + type == PLANE_SURFACE_TYPE) { splitor.Add(myWire.Wire(),from_face); topo_changed = CUBIT_TRUE;
participants (1)
-
jiangtao_ma@yahoo.com