- int nbVertices() const { return _graph->getNumberOf(); }
-
- const SkyLineArray *getGraph() const { return _graph; }
+ mcIdType nbVertices() const;
+
+ // returns nb of domains in _partition
+ int nbDomains() const;
+
+ const MEDCouplingSkyLineArray *getGraph() const { return (const MEDCouplingSkyLineArray*)_graph; }
+ const MEDCouplingSkyLineArray *getPartition() const { return (const MEDCouplingSkyLineArray*)_partition; }