BELFEM
0.9.0
Berkeley Lab Finite Element Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
op_Segment_Index.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 OP_SEGMENT_INDEX_HPP
13
#define OP_SEGMENT_INDEX_HPP
14
15
#include "
cl_Segment.hpp
"
16
17
namespace
belfem
18
{
19
namespace
mesh
20
{
21
// comparison object for sorting
22
inline
struct
OpSegmentIndex
23
{
24
inline
bool
25
operator()
(
const
Segment
* aA,
const
Segment
* aB )
26
{
27
return
aA->
index
() < aB->
index
();
28
}
29
}
opSegmentIndex
;
30
}
31
}
32
33
34
#endif
//OP_SEGMENT_INDEX_HPP
cl_Segment.hpp
belfem::graph::Vertex::index
virtual index_t index() const
Definition
cl_Graph_Vertex.hpp:234
belfem::mesh::Segment
Definition
cl_Segment.hpp:24
belfem::mesh
Definition
cl_EF_EdgeFunction.hpp:17
belfem::mesh::opSegmentIndex
struct belfem::mesh::OpSegmentIndex opSegmentIndex
belfem
USER GUIDES:
Definition
cl_Capacitor.cpp:16
belfem::mesh::OpSegmentIndex
Definition
op_Segment_Index.hpp:23
belfem::mesh::OpSegmentIndex::operator()
bool operator()(const Segment *aA, const Segment *aB)
Definition
op_Segment_Index.hpp:25
src
mesh
op_Segment_Index.hpp
Generated by
1.18.0