36 #ifndef NODEPARTITIONER_HPP_
37 #define NODEPARTITIONER_HPP_
41 #include "AbstractMesh.hpp"
42 #include "AbstractMeshReader.hpp"
47 template <
unsigned ELEMENT_DIM,
unsigned SPACE_DIM>
60 std::set<unsigned>& rNodesOwned);
73 std::vector<unsigned>& rNodePermutation,
74 std::set<unsigned>& rNodesOwned,
75 std::vector<unsigned>& rProcessorsOffset);
88 std::vector<unsigned>& rNodePermutation,
89 std::set<unsigned>& rNodesOwned,
90 std::vector<unsigned>& rProcessorsOffset);
102 std::vector<unsigned>& rNodePermutation,
103 std::set<unsigned>& rNodesOwned,
104 std::vector<unsigned>& rProcessorsOffset,
111 #endif // NODEPARTITIONER_HPP_
static void DumbPartitioning(AbstractMesh< ELEMENT_DIM, SPACE_DIM > &rMesh, std::set< unsigned > &rNodesOwned)
static void GeometricPartitioning(AbstractMeshReader< ELEMENT_DIM, SPACE_DIM > &rMeshReader, std::vector< unsigned > &rNodePermutation, std::set< unsigned > &rNodesOwned, std::vector< unsigned > &rProcessorsOffset, ChasteCuboid< SPACE_DIM > *pRegion)
static void MetisLibraryPartitioning(AbstractMeshReader< ELEMENT_DIM, SPACE_DIM > &rMeshReader, std::vector< unsigned > &rNodePermutation, std::set< unsigned > &rNodesOwned, std::vector< unsigned > &rProcessorsOffset)
static void PetscMatrixPartitioning(AbstractMeshReader< ELEMENT_DIM, SPACE_DIM > &rMeshReader, std::vector< unsigned > &rNodePermutation, std::set< unsigned > &rNodesOwned, std::vector< unsigned > &rProcessorsOffset)