X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDPartitioner%2FMEDPARTITIONER_MEDPartitioner.hxx;h=dc80f70ebe7eacddecb9d9cac8dd6660ca2b5553;hb=b7e277ad50223814bc479c5bd64cf12abe8fc959;hp=d7c31ffda700b82d7425836b823a5e9d4b1330a1;hpb=1ca2b215a1ae474745fabc87dd9c5c98e9af6354;p=tools%2Fmedcoupling.git diff --git a/src/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.hxx b/src/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.hxx index d7c31ffda..dc80f70eb 100644 --- a/src/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.hxx +++ b/src/MEDPartitioner/MEDPARTITIONER_MEDPartitioner.hxx @@ -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,37 +20,34 @@ #ifndef __MEDPARTITIONER_MEDPARTITIONER_HXX__ #define __MEDPARTITIONER_MEDPARTITIONER_HXX__ +#include "MEDPARTITIONER.hxx" #include "MEDPARTITIONER_Graph.hxx" #include #include -namespace ParaMEDMEM +namespace MEDCoupling { - class DataArrayInt; class MEDFileData; - class MEDCouplingSkyLineArray; } namespace MEDPARTITIONER { class Topology; class MeshCollection; - class ParaDomainSelector; - class Graph; - - class MEDPartitioner + + class MEDPARTITIONER_EXPORT MEDPartitioner { public: MEDPartitioner(const std::string& filename, int ndomains=1, const std::string& library="metis",bool creates_boundary_faces=false, bool create_joints=false, bool mesure_memory=false); - MEDPartitioner(const ParaMEDMEM::MEDFileData* fileData, int ndomains=1, const std::string& library="metis",bool creates_boundary_faces=false, bool create_joints=false, bool mesure_memory=false); - MEDPartitioner(const ParaMEDMEM::MEDFileData* fileData, Graph* graph, bool creates_boundary_faces=false, bool create_joints=false, bool mesure_memory=false); - static MEDPARTITIONER::Graph* Graph(ParaMEDMEM::MEDCouplingSkyLineArray* graph, Graph::splitter_type split=Graph::METIS, int* edgeweight=0); + MEDPartitioner(const MEDCoupling::MEDFileData* fileData, int ndomains=1, const std::string& library="metis",bool creates_boundary_faces=false, bool create_joints=false, bool mesure_memory=false); + MEDPartitioner(const MEDCoupling::MEDFileData* fileData, Graph* graph, bool creates_boundary_faces=false, bool create_joints=false, bool mesure_memory=false); + static MEDPARTITIONER::Graph* Graph(MEDCoupling::MEDCouplingSkyLineArray* graph, Graph::splitter_type split=Graph::METIS, int* edgeweight=0); void write(const std::string& filename); - ParaMEDMEM::MEDFileData* getMEDFileData(); + MEDCoupling::MEDFileData* getMEDFileData(); ~MEDPartitioner(); - ParaMEDMEM::MEDFileData *convertToMEDFileData(MeshCollection* meshcollection); + MEDCoupling::MEDFileData *convertToMEDFileData(MeshCollection* meshcollection); void createPartitionCollection(int ndomains, const std::string& library,bool creates_boundary_faces, bool create_joints, bool mesure_memory); private: