X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDPartitioner%2FMEDPARTITIONER_UserGraph.cxx;h=364f7e9f6ed49a503fe2f77e9cc58694cac2e6d9;hb=e057263132f3cb4871fb280f8d9c963ba17567a1;hp=81d1fc66cf1fbc98aaa576379ecc68edb681bc33;hpb=56fddf07c0b7170f79791d38e2b909a8a5b0b872;p=tools%2Fmedcoupling.git diff --git a/src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx b/src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx index 81d1fc66c..364f7e9f6 100644 --- a/src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx +++ b/src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx @@ -1,4 +1,4 @@ -// Copyright (C) 2007-2015 CEA/DEN, EDF R&D +// Copyright (C) 2007-2016 CEA/DEN, EDF R&D // // This library is free software; you can redistribute it and/or // modify it under the terms of the GNU Lesser General Public @@ -20,6 +20,8 @@ #include "MEDPARTITIONER_Graph.hxx" #include "MEDPARTITIONER_UserGraph.hxx" +#include "MEDCouplingSkyLineArray.hxx" + #include #include @@ -30,7 +32,7 @@ using namespace MEDPARTITIONER; * (domain numbers range from 0 to ndomain-1 * \param n number of cells in the mesh */ -UserGraph::UserGraph(MEDPARTITIONER::SkyLineArray *array, const int *partition, int n):Graph(array,0) +UserGraph::UserGraph(MEDCoupling::MEDCouplingSkyLineArray *array, const int *partition, int n):Graph(array,0) { std::vector index(n+1),value(n); @@ -42,7 +44,7 @@ UserGraph::UserGraph(MEDPARTITIONER::SkyLineArray *array, const int *partition, value[i]=partition[i]; } - _partition = new MEDPARTITIONER::SkyLineArray(index,value); + _partition = MEDCoupling::MEDCouplingSkyLineArray::New(index,value); }