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);
72 std::vector<unsigned>& rNodePermutation,
73 std::set<unsigned>& rNodesOwned,
74 std::vector<unsigned>& rProcessorsOffset);
86 std::vector<unsigned>& rNodePermutation,
87 std::set<unsigned>& rNodesOwned,
88 std::vector<unsigned>& rProcessorsOffset,
95 #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 PetscMatrixPartitioning(AbstractMeshReader< ELEMENT_DIM, SPACE_DIM > &rMeshReader, std::vector< unsigned > &rNodePermutation, std::set< unsigned > &rNodesOwned, std::vector< unsigned > &rProcessorsOffset)