From: ageay Date: Fri, 5 Apr 2013 08:25:45 +0000 (+0000) Subject: MEDMEM suppression X-Git-Tag: V7_3_1b1~442 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a71c52ef015f2e1a4ab6cc4a75ba1fac36f06513;p=tools%2Fmedcoupling.git MEDMEM suppression --- diff --git a/src/RENUMBER/RENUMBER_BOOSTRenumbering.cxx b/src/RENUMBER/RENUMBER_BOOSTRenumbering.cxx index 4b447364b..60d5eec3d 100644 --- a/src/RENUMBER/RENUMBER_BOOSTRenumbering.cxx +++ b/src/RENUMBER/RENUMBER_BOOSTRenumbering.cxx @@ -37,17 +37,12 @@ void BOOSTRenumbering::renumber(const int* graph,const int* index_graph,int nb_c typedef boost::graph_traits::vertices_size_type size_type; Graph G(nb_cell); for (int i=0;i::type index_map = boost::get(boost::vertex_index, G); boost::cuthill_mckee_ordering(G, iperm.rbegin(), boost::get(boost::vertex_color, G), boost::make_degree_map(G)); for (size_type c = 0; c != iperm.size(); ++c) perm[index_map[iperm[c]]] = c; - for(int i=0;irenumber(graph,graph_index,workMesh->getNumberOfCells(),iperm,perm); delete renumb; + iperm.clear();//erase new2old, we are using only old 2 new t_compute_graph=clock(); cout << " : " << (t_compute_graph-t_read_st)/(double) CLOCKS_PER_SEC << "s" << endl; cout.flush();