State variables of the model. More...
Public Types | |
| enum | StateVecElems { V_M = 0 , I , I_SYN } |
| Enumeration identifying recordable state elements. More... | |
Public Member Functions | |
| State_ () | |
| Default initialization. | |
| void | get (Dictionary &, const Parameters_ &) const |
| void | set (const Dictionary &, const Parameters_ &, const double, Node *) |
| Set values from dictionary. | |
Public Attributes | |
| double | I_const_ |
| synaptic dc input current, variable 0 | |
| std::vector< double > | i_syn_ |
| double | V_m_ |
| membrane potential, variable 2 | |
| int | refractory_steps_ |
| absolute refractory counter (no membrane potential propagation) | |
Static Public Attributes | |
| static const size_t | NUMBER_OF_FIXED_STATES_ELEMENTS = I_SYN |
| static const size_t | NUM_STATE_ELEMENTS_PER_RECEPTOR = 1 |
State variables of the model.
Enumeration identifying recordable state elements.
This enum identifies the element that will be recorded when calling get_state_element. The first two (V_M and I) are fixed sized state elements, while the third (I_SYN) represents the synaptic current at each receptor, thus it can have a variable size. The current at each receptor is read out from the vector i_syn_. To get the synaptic current's value at synapse k, one must call get_state_element as: get_state_element( State_::I_SYN + k * State_::NUM_STATE_ELEMENTS_PER_RECEPTOR )
| Enumerator | |
|---|---|
| V_M | |
| I | |
| I_SYN | |
| nest::iaf_psc_exp_multisynapse::State_::State_ | ( | ) |
Default initialization.
References i_syn_.
| void nest::iaf_psc_exp_multisynapse::State_::get | ( | Dictionary & | d, |
| const Parameters_ & | p | ||
| ) | const |
References nest::names::V_m().
Referenced by nest::iaf_psc_exp_multisynapse::get_status().
| void nest::iaf_psc_exp_multisynapse::State_::set | ( | const Dictionary & | d, |
| const Parameters_ & | p, | ||
| const double | delta_EL, | ||
| Node * | node | ||
| ) |
Set values from dictionary.
| dictionary | to take data from |
| current | parameters |
| Change | in reversal potential E_L specified by this dict |
References nest::update_value_param(), and nest::names::V_m().
Referenced by nest::iaf_psc_exp_multisynapse::set_status().
| double nest::iaf_psc_exp_multisynapse::State_::I_const_ |
synaptic dc input current, variable 0
Referenced by nest::iaf_psc_exp_multisynapse::update().
| std::vector< double > nest::iaf_psc_exp_multisynapse::State_::i_syn_ |
|
static |
|
static |
Referenced by nest::iaf_psc_exp_multisynapse::get_state_element().
| int nest::iaf_psc_exp_multisynapse::State_::refractory_steps_ |
absolute refractory counter (no membrane potential propagation)
Referenced by nest::iaf_psc_exp_multisynapse::update().
| double nest::iaf_psc_exp_multisynapse::State_::V_m_ |
membrane potential, variable 2
Referenced by nest::iaf_psc_exp_multisynapse::get_state_element(), and nest::iaf_psc_exp_multisynapse::update().