From a71c52ef015f2e1a4ab6cc4a75ba1fac36f06513 Mon Sep 17 00:00:00 2001 From: ageay Date: Fri, 5 Apr 2013 08:25:45 +0000 Subject: [PATCH] MEDMEM suppression --- src/RENUMBER/RENUMBER_BOOSTRenumbering.cxx | 9 ++------- src/RENUMBER/renumbering.cxx | 1 + 2 files changed, 3 insertions(+), 7 deletions(-) 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(); -- 2.39.2