BELFEM
0.9.0
Berkeley Lab Finite Element Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
cl_ElectricNode.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_CL_ELECTRICNODE_HPP
13
#define BELFEM_CL_ELECTRICNODE_HPP
14
15
#include "
typedefs.hpp
"
16
#include "
cl_Graph_Vertex.hpp
"
17
18
namespace
belfem
19
{
20
namespace
electronics
21
{
22
//-----------------------------------------------------------------------------
23
30
class
ElectricNode
:
public
graph::Vertex
31
{
32
34
real
mVoltage;
35
36
//-----------------------------------------------------------------------------
37
38
public
:
39
ElectricNode
() ;
40
41
//-----------------------------------------------------------------------------
42
43
void
44
set_voltage
(
const
real
aVoltage) ;
45
46
//-----------------------------------------------------------------------------
47
48
real
49
get_voltage
()
const
;
50
51
//-----------------------------------------------------------------------------
52
53
};
54
}
55
56
}
57
58
#endif
//BELFEM_CL_ELECTRICNODE_HPP
cl_Graph_Vertex.hpp
belfem::electronics::ElectricNode::ElectricNode
ElectricNode()
Definition
cl_ElectricNode.cpp:20
belfem::electronics::ElectricNode::set_voltage
void set_voltage(const real aVoltage)
Definition
cl_ElectricNode.cpp:29
belfem::electronics::ElectricNode::get_voltage
real get_voltage() const
Definition
cl_ElectricNode.cpp:37
belfem::graph::Vertex
Graph node with an adjacency list; the vertex type the graph algorithms operate on.
Definition
cl_Graph_Vertex.hpp:32
belfem::electronics
Definition
cl_Capacitor.cpp:18
belfem
USER GUIDES:
Definition
cl_Capacitor.cpp:16
belfem::real
double real
Definition
typedefs.hpp:36
typedefs.hpp
src
circuit
cl_ElectricNode.hpp
Generated by
1.18.0