Chi-Tech
PETScGraphPartitioner.h
Go to the documentation of this file.
1#ifndef CHITECH_PETSCGRAPHPARTITIONER_H
2#define CHITECH_PETSCGRAPHPARTITIONER_H
3
4#include "GraphPartitioner.h"
5
6namespace chi
7{
8
10{
11public:
13 explicit PETScGraphPartitioner(const InputParameters& params);
14
15 std::vector<int64_t>
16 Partition(const std::vector<std::vector<uint64_t>>& graph,
17 const std::vector<chi_mesh::Vector3>& centroids,
18 int number_of_parts) override;
19
20protected:
21 const std::string type_;
22};
23
24} // namespace chi
25
26#endif // CHITECH_PETSCGRAPHPARTITIONER_H
static InputParameters GetInputParameters()
std::vector< int64_t > Partition(const std::vector< std::vector< uint64_t > > &graph, const std::vector< chi_mesh::Vector3 > &centroids, int number_of_parts) override
PETScGraphPartitioner(const InputParameters &params)