Salome HOME
Fix 32bits config bug
[tools/medcoupling.git] / src / MEDPartitioner / MEDPARTITIONER_JointFinder.hxx
index 863107a408f888b6cfca1f3a8c7600d57f581e5e..767678b7ed4e41dc66962c955fd58336ca7fb653 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2007-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2020  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,6 +20,9 @@
 #ifndef __MEDPARTITIONER_JOINTFINDER_HXX__
 #define __MEDPARTITIONER_JOINTFINDER_HXX__
 
+#include "MEDPARTITIONER.hxx"
+#include "MCType.hxx"
+
 #include <map>
 #include <vector>
 
@@ -29,21 +32,21 @@ namespace MEDPARTITIONER
   class MeshCollection;
   class ParaDomainSelector;
   
-  class JointFinder
+  class MEDPARTITIONER_EXPORT JointFinder
   {
   public:
     JointFinder(const MeshCollection& mc);
     ~JointFinder();
     void findCommonDistantNodes();
     void print();
-    std::vector<std::vector<std::multimap<int,int> > >& getDistantNodeCell();
-    std::vector<std::vector<std::vector<std::pair<int,int> > > >& getNodeNode();
+    std::vector<std::vector<std::multimap<mcIdType,mcIdType> > >& getDistantNodeCell();
+    std::vector<std::vector<std::vector<std::pair<mcIdType,mcIdType> > > >& getNodeNode();
   private:
     const MeshCollection& _mesh_collection;
     const ParaDomainSelector *_domain_selector;
     const Topology *_topology;
-    std::vector<std::vector<std::multimap<int,int> > > _distant_node_cell;
-    std::vector<std::vector<std::vector<std::pair<int,int> > > > _node_node;
+    std::vector<std::vector<std::multimap<mcIdType,mcIdType> > > _distant_node_cell;
+    std::vector<std::vector<std::vector<std::pair<mcIdType,mcIdType> > > > _node_node;
    
   };
 }