BELFEM
0.9.0
Berkeley Lab Finite Element Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
op_Graph_Vertex_ID.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_OP_GRAPH_VERTEX_ID_HPP
13
#define BELFEM_OP_GRAPH_VERTEX_ID_HPP
14
15
#include "
cl_Graph_Vertex.hpp
"
16
17
namespace
belfem
18
{
19
//------------------------------------------------------------------------------
20
21
// comparison object
22
inline
struct
OpVertexID
23
{
24
inline
bool
25
operator()
(
const
graph::Vertex
* aA,
const
graph::Vertex
* aB )
26
{
27
return
aA->
id
() < aB->
id
();
28
}
29
}
opVertexID
;
30
31
//------------------------------------------------------------------------------
32
}
33
34
35
#endif
//BELFEM_OP_GRAPH_VERTEX_ID_HPP
cl_Graph_Vertex.hpp
belfem::graph::Vertex
Graph node with an adjacency list; the vertex type the graph algorithms operate on.
Definition
cl_Graph_Vertex.hpp:32
belfem::graph::Vertex::id
id_t id() const
Definition
cl_Graph_Vertex.hpp:218
belfem
USER GUIDES:
Definition
cl_Capacitor.cpp:16
belfem::opVertexID
struct belfem::OpVertexID opVertexID
belfem::OpVertexID
Definition
op_Graph_Vertex_ID.hpp:23
belfem::OpVertexID::operator()
bool operator()(const graph::Vertex *aA, const graph::Vertex *aB)
Definition
op_Graph_Vertex_ID.hpp:25
src
math
graph
op_Graph_Vertex_ID.hpp
Generated by
1.18.0