OGS
Metis.h
Go to the documentation of this file.
1// SPDX-FileCopyrightText: Copyright (c) OpenGeoSys Community (opengeosys.org)
2// SPDX-License-Identifier: BSD-3-Clause
3
4#pragma once
5
6#include <string>
7#include <vector>
8
9namespace MeshLib
10{
11class Element;
12}
13
14namespace ApplicationUtils
15{
19void writeMETIS(std::vector<MeshLib::Element*> const& elements,
20 const std::string& file_name);
21
27std::vector<std::size_t> readMetisData(const std::string& file_name_base,
28 long number_of_partitions,
29 std::size_t number_of_nodes);
30
33void removeMetisPartitioningFiles(std::string const& file_name_base,
34 long number_of_partitions);
35
36} // namespace ApplicationUtils
void writeMETIS(std::vector< MeshLib::Element * > const &elements, const std::string &file_name)
Definition Metis.cpp:11
void removeMetisPartitioningFiles(std::string const &file_name_base, long const number_of_partitions)
Definition Metis.cpp:82
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:37