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
Various fixes for test runs - introducing MEDCOUPLING_RESOURCE_DIR env variable
[tools/medcoupling.git]
/
src
/
MEDPartitioner
/
MEDPARTITIONER_UserGraph.cxx
diff --git
a/src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx
b/src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx
index 364f7e9f6ed49a503fe2f77e9cc58694cac2e6d9..badb00a96e83629cb08035acea81c88880119707 100644
(file)
--- a/
src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx
+++ b/
src/MEDPartitioner/MEDPARTITIONER_UserGraph.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-20
16
CEA/DEN, EDF R&D
+// Copyright (C) 2007-20
20
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,13
+32,13
@@
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(MEDCoupling::MEDCouplingSkyLineArray *array, const int *partition,
int
n):Graph(array,0)
+UserGraph::UserGraph(MEDCoupling::MEDCouplingSkyLineArray *array, const int *partition,
mcIdType
n):Graph(array,0)
{
{
- std::vector<
int
> index(n+1),value(n);
+ std::vector<
mcIdType
> index(n+1),value(n);
index[0]=0;
index[0]=0;
- for (
int
i=0; i<n; i++)
+ for (
mcIdType
i=0; i<n; i++)
{
index[i+1]=index[i]+1;
value[i]=partition[i];
{
index[i+1]=index[i]+1;
value[i]=partition[i];