Salome HOME
projects
/
tools
/
medcoupling.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of ssh://git.salome-platform.org/tools/medcoupling
[tools/medcoupling.git]
/
src
/
MEDPartitioner
/
MEDPARTITIONER_UserGraph.cxx
diff --git
a/src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx
b/src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx
index 1d0808471ab6e375539c0944be0100338c4fc025..364f7e9f6ed49a503fe2f77e9cc58694cac2e6d9 100644
(file)
--- a/
src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx
+++ b/
src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
5
CEA/DEN, EDF R&D
+// Copyright (C) 2007-201
6
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
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
@@
-32,7
+32,7
@@
using namespace MEDPARTITIONER;
* (domain numbers range from 0 to ndomain-1
* \param n number of cells in the mesh
*/
* (domain numbers range from 0 to ndomain-1
* \param n number of cells in the mesh
*/
-UserGraph::UserGraph(
ParaMEDMEM
::MEDCouplingSkyLineArray *array, const int *partition, int n):Graph(array,0)
+UserGraph::UserGraph(
MEDCoupling
::MEDCouplingSkyLineArray *array, const int *partition, int n):Graph(array,0)
{
std::vector<int> index(n+1),value(n);
{
std::vector<int> index(n+1),value(n);
@@
-44,7
+44,7
@@
UserGraph::UserGraph(ParaMEDMEM::MEDCouplingSkyLineArray *array, const int *part
value[i]=partition[i];
}
value[i]=partition[i];
}
- _partition =
new ParaMEDMEM::MEDCouplingSkyLineArray
(index,value);
+ _partition =
MEDCoupling::MEDCouplingSkyLineArray::New
(index,value);
}
}