SCOREC core
Parallel unstructured mesh tools
apfMETIS.h
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2025 Scientific Computation Research Center
3  *
4  * This work is open source software, licensed under the terms of the
5  * BSD license as described in the LICENSE file in the top-level directory.
6  */
7 #ifndef APF_METIS_H
8 #define APF_METIS_H
9 
10 #define APF_METIS_MAXRANKS 256
11 
16 namespace apf {
17 
18 class Mesh;
19 class Splitter;
20 class Balancer;
21 
54 bool hasMETIS();
55 
58 } // namespace apf
59 
60 #endif // APF_METIS_H
Load balance over all mesh parts.
Definition: apfPartition.h:47
Interface to a mesh part.
Definition: apfMesh.h:105
Splits a mesh part into many.
Definition: apfPartition.h:22
bool hasMETIS()
Query whether METIS is supported.
Splitter * makeMETISsplitter(Mesh *mesh)
Make an apf::Splitter that calls METIS for the underlying algorithm.
Balancer * makeMETISbalancer(Mesh *mesh)
Make an apf::Balancer that calls METIS for the underlying algorithm.
All APF symbols are contained in this namespace.
apf::Mesh2 Mesh
convenient mesh name
Definition: maMesh.h:27