OGS
Metis.h
Go to the documentation of this file.
1
12#pragma once
13
14#include <string>
15#include <vector>
16
17namespace MeshLib
18{
19class Element;
20}
21
22namespace ApplicationUtils
23{
27void writeMETIS(std::vector<MeshLib::Element*> const& elements,
28 const std::string& file_name);
29
35std::vector<std::size_t> readMetisData(const std::string& file_name_base,
36 long number_of_partitions,
37 std::size_t number_of_nodes);
38
41void removeMetisPartitioningFiles(std::string const& file_name_base,
42 long number_of_partitions);
43
44} // namespace ApplicationUtils
void writeMETIS(std::vector< MeshLib::Element * > const &elements, const std::string &file_name)
Definition Metis.cpp:19
void removeMetisPartitioningFiles(std::string const &file_name_base, long const number_of_partitions)
Definition Metis.cpp:90
std::vector< std::size_t > readMetisData(const std::string &file_name_base, long const number_of_partitions, std::size_t const number_of_nodes)
Definition Metis.cpp:45