-// Copyright (C) 2007-2012 CEA/DEN, EDF R&D
+// Copyright (C) 2007-2024 CEA, EDF
//
// This library is free software; you can redistribute it and/or
// modify it under the terms of the GNU Lesser General Public
// License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
//
// This library is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
#ifndef __MEDPARTITIONER_JOINTFINDER_HXX__
#define __MEDPARTITIONER_JOINTFINDER_HXX__
+#include "MEDPARTITIONER.hxx"
+#include "MCType.hxx"
+
#include <map>
#include <vector>
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;
};
}