53 #ifndef DC_GENERATOR_H
54 #define DC_GENERATOR_H
117 device_.enforce_single_syn_type(syn_id);
Parameters_ P_
Definition: dc_generator.h:111
void calibrate()
Re-calculate dependent parameters of the node.
Definition: dc_generator.cpp:88
const Name receptor_type("receptor_type")
Connection parameters.
Definition: nest_names.h:240
Definition: lockptrdatum.h:40
bool has_proxies() const
Returns true if the node has proxies on remote threads.
Definition: dc_generator.h:79
const Name d("d")
Specific to Izhikevich 2003.
Definition: nest_names.h:83
Declarations for base class Node.
Base class for common properties of Stimulating Devices.
Definition: stimulating_device.h:117
void set_sender(Node &)
Change pointer to sending Node.
Definition: event.h:714
DC current generator.
Definition: dc_generator.h:71
void init_buffers_()
Private function to initialize the buffers of a node.
Definition: dc_generator.cpp:83
void set_status(const DictionaryDatum &)
Definition: dc_generator.h:133
Event for electrical currents.
Definition: event.h:420
long_t rport
Connection port number to distinguish incoming connections, also called receiver port.
Definition: nest.h:147
Store independent parameters of the model.
Definition: dc_generator.h:99
void get(DictionaryDatum &) const
Store current values in dictionary.
Definition: dc_generator.cpp:44
double_t amp_
stimulation amplitude, in pA
Definition: dc_generator.h:100
Definition: nest_time.h:130
Parameters_()
Sets default parameter values.
Definition: dc_generator.cpp:35
const Name target("target")
Connection parameters.
Definition: nest_names.h:282
void update(Time const &, const long_t, const long_t)
Bring the node from state $t$ to $t+n*dt$.
Definition: dc_generator.cpp:98
void init_state_(const Node &)
Private function to initialize the state of a node to model defaults.
Definition: dc_generator.cpp:76
long_t port
Connection port number to distinguis outgoing connections.
Definition: nest.h:155
double double_t
Double precision floating point numbers.
Definition: nest.h:93
virtual port handles_test_event(SpikeEvent &, rport receptor_type)
Check if the node can handle a particular event and receptor type.
Definition: node.cpp:203
void get_status(DictionaryDatum &) const
Definition: dc_generator.h:126
unsigned char synindex
Unsigned char type for enumerations of synapse types.
Definition: nest.h:115
Default types used by the NEST kernel.
port send_test_event(Node &, rport, synindex, bool)
Send an event to the receiving_node passed as an argument.
Definition: dc_generator.h:115
Base class for all NEST network objects.
Definition: node.h:96
void set(const DictionaryDatum &)
Set values from dicitonary.
Definition: dc_generator.cpp:49
long long_t
Integer number with at least 32 bit.
Definition: nest.h:96
const double e
Definition: numerics.cpp:62
dc_generator()
Definition: dc_generator.cpp:59
StimulatingDevice< CurrentEvent > device_
Definition: dc_generator.h:110