BELFEM
0.9.0
Berkeley Lab Finite Element Framework
Toggle main menu visibility
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
20
namespace
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
75
metis_partition
(
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
cl_Cell.hpp
cl_Graph_Vertex.hpp
cl_Vector.hpp
belfem::graph
Definition
cl_Graph_Vertex.cpp:21
belfem::graph::metis_ndp
void metis_ndp(Graph &aGraph, const uint aNumPartitions)
Performs nested dissection ordering with partitioning using METIS_NodeNDP.
Definition
fn_Graph_METIS.cpp:101
belfem::graph::metis_partition
void metis_partition(Graph &aGraph, const uint aNumPartitions, const bool aForceContinuousPartitions, Vector< proc_t > *aPartitions)
Definition
fn_Graph_METIS.cpp:187
belfem::graph::metis_nd
void metis_nd(Graph &aGraph)
Performs nested dissection ordering on the graph using METIS_NodeND.
Definition
fn_Graph_METIS.cpp:31
belfem::graph::metis_status
string metis_status(const int aStatus)
Definition
fn_Graph_METIS.cpp:314
belfem
USER GUIDES:
Definition
cl_Capacitor.cpp:16
belfem::Graph
Cell< graph::Vertex * > Graph
Definition
cl_Graph_Vertex.hpp:329
belfem::uint
unsigned int uint
Definition
typedefs.hpp:30
src
math
graph
fn_Graph_METIS.hpp
Generated by
1.18.0