12#ifndef BELFEM_CL_COMPONENT_HPP
13#define BELFEM_CL_COMPONENT_HPP
50 Component(
const uint aNumTerminals, Cell < ElectricNode* > & aTerminals,
string aLabel =
"") ;
virtual ElectricNode * get_node_plus() const
Definition cl_Component.cpp:202
virtual void set_timestep(const real aDeltaTime)
Definition cl_Component.cpp:141
virtual void shift_back()
Definition cl_Component.cpp:159
virtual real get_value() const
Definition cl_Component.cpp:70
string mLabel
Label.
Definition cl_Component.hpp:41
virtual ElectricNode * get_node_minus() const
Definition cl_Component.cpp:211
virtual bool is_closed() const
Definition cl_Component.cpp:184
virtual void compute_current()
Definition cl_Component.cpp:132
virtual real get_current() const
Definition cl_Component.cpp:106
virtual void shift(const real aTime, const real aDeltaTime)
Definition cl_Component.cpp:150
virtual void load_state(hid_t aGroup, const string &aPrefix)
restore the state written by save_state().
Definition cl_Component.cpp:176
virtual real get_discretized_resistance() const
Definition cl_Component.cpp:88
virtual real get_discretized_source() const
Definition cl_Component.cpp:97
string get_label() const
Definition cl_Component.cpp:115
virtual void save_state(hid_t aGroup, const string &aPrefix)
write this component's time-stepping state into the restart group, dataset names prefixed with aPrefi...
Definition cl_Component.cpp:168
Component(const uint aNumTerminals, Cell< ElectricNode * > &aTerminals, string aLabel="")
Definition cl_Component.cpp:21
uint number_of_terminals() const
Definition cl_Component.cpp:54
ElectricNode ** mTerminals
Nodes at each terminal ( non-owning ).
Definition cl_Component.hpp:44
ElectricNode * node(index_t tIndex) const
Definition cl_Component.cpp:62
const uint mNumTerminals
Number of terminals.
Definition cl_Component.hpp:38
virtual void switch_state()
Definition cl_Component.cpp:193
virtual real dIdV() const
Definition cl_Component.cpp:79
virtual ComponentType component_type() const
Definition cl_Component.cpp:45
virtual void set_current(const real aCurrent)
Definition cl_Component.cpp:123
Circuit node; the unknowns of the modified nodal analysis.
Definition cl_ElectricNode.hpp:31
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
ComponentType
Definition Component_Enums.hpp:22
USER GUIDES:
Definition cl_Capacitor.cpp:16
int hid_t
Definition hdf5_types.hpp:20
unsigned int uint
Definition typedefs.hpp:30
uint32_t index_t
Definition typedefs.hpp:52
double real
Definition typedefs.hpp:36