-// 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
#include <string>
-namespace ParaMEDMEM
+namespace MEDCoupling
{
class MEDCouplingSkyLineArray;
}
Graph(){};
//creates a graph from a SKYLINEARRAY
- Graph(ParaMEDMEM::MEDCouplingSkyLineArray* graph, int* edgeweight=0);
+ Graph(MEDCoupling::MEDCouplingSkyLineArray* graph, int* edgeweight=0);
virtual ~Graph();
void setEdgesWeights(int *edgeweight) { _edge_weight=edgeweight; }
// returns nb of domains in _partition
int nbDomains() const;
- const ParaMEDMEM::MEDCouplingSkyLineArray *getGraph() const { return _graph; }
- const ParaMEDMEM::MEDCouplingSkyLineArray *getPartition() const { return _partition; }
+ const MEDCoupling::MEDCouplingSkyLineArray *getGraph() const { return _graph; }
+ const MEDCoupling::MEDCouplingSkyLineArray *getPartition() const { return _partition; }
protected:
- ParaMEDMEM::MEDCouplingSkyLineArray* _graph;
- ParaMEDMEM::MEDCouplingSkyLineArray* _partition;
+ MEDCoupling::MEDCouplingSkyLineArray* _graph;
+ MEDCoupling::MEDCouplingSkyLineArray* _partition;
int* _edge_weight;
int* _cell_weight;
};