BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
fn_Graph_METIS.hpp
Go to the documentation of this file.
1/*
2 * BELFEM -- The Berkeley Lab Finite Element Framework
3 * Copyright (c) 2026, The Regents of the University of California,
4 * through Lawrence Berkeley National Laboratory (subject to receipt of any required
5 * approvals from the U.S. Dept. of Energy). All rights reserved.
6 *
7 * Developers: Christian Messe, Gregory Giard
8 *
9 * See the top-level LICENSE file for the complete license and disclaimer.
10 */
11
12#ifndef BELFEM_FN_GRAPH_METIS_HPP
13#define BELFEM_FN_GRAPH_METIS_HPP
14
15
16#include "cl_Cell.hpp"
17#include "cl_Vector.hpp"
18#include "cl_Graph_Vertex.hpp"
19
20namespace belfem
21{
22 namespace graph
23 {
24//------------------------------------------------------------------------------
25
43 void
44 metis_nd( Graph & aGraph );
45
46//------------------------------------------------------------------------------
47
69 void
70 metis_ndp( Graph & aGraph, const uint aNumPartitions );
71
72//------------------------------------------------------------------------------
73
74 void
76 Graph & aGraph,
77 const uint aNumPartitions,
78 const bool aForceContinuousPartitions = true,
79 Vector< proc_t > * aPartitions = nullptr );
80
81//------------------------------------------------------------------------------
82
83 string
84 metis_status( const int aStatus );
85
86//------------------------------------------------------------------------------
87 }
88}
89
90#endif //BELFEM_FN_GRAPH_METIS_HPP
Definition cl_Graph_Vertex.cpp:21
void metis_ndp(Graph &aGraph, const uint aNumPartitions)
Performs nested dissection ordering with partitioning using METIS_NodeNDP.
Definition fn_Graph_METIS.cpp:101
void metis_partition(Graph &aGraph, const uint aNumPartitions, const bool aForceContinuousPartitions, Vector< proc_t > *aPartitions)
Definition fn_Graph_METIS.cpp:187
void metis_nd(Graph &aGraph)
Performs nested dissection ordering on the graph using METIS_NodeND.
Definition fn_Graph_METIS.cpp:31
string metis_status(const int aStatus)
Definition fn_Graph_METIS.cpp:314
USER GUIDES:
Definition cl_Capacitor.cpp:16
Cell< graph::Vertex * > Graph
Definition cl_Graph_Vertex.hpp:329
unsigned int uint
Definition typedefs.hpp:30