BELFEM 0.9.0
Berkeley Lab Finite Element Framework
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
18namespace belfem
19{
20 namespace electronics
21 {
22//-----------------------------------------------------------------------------
23
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
ElectricNode()
Definition cl_ElectricNode.cpp:20
void set_voltage(const real aVoltage)
Definition cl_ElectricNode.cpp:29
real get_voltage() const
Definition cl_ElectricNode.cpp:37
Graph node with an adjacency list; the vertex type the graph algorithms operate on.
Definition cl_Graph_Vertex.hpp:32
Definition cl_Capacitor.cpp:18
USER GUIDES:
Definition cl_Capacitor.cpp:16
double real
Definition typedefs.hpp:36