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_ |
| Constant current. | |
| std::vector< double > | y1_syn_ |
| std::vector< double > | y2_syn_ |
| double | V_m_ |
| This is the membrane potential RELATIVE TO RESTING POTENTIAL. | |
| int | refractory_steps_ |
| Number of refractory steps remaining. | |
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 y2_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_alpha_multisynapse::State_::State_ | ( | ) |
Default initialization.
References I_const_, refractory_steps_, V_m_, y1_syn_, and y2_syn_.
| void nest::iaf_psc_alpha_multisynapse::State_::get | ( | Dictionary & | d, |
| const Parameters_ & | p ) const |
| void nest::iaf_psc_alpha_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(), nest::names::V_m(), and V_m_.
Referenced by nest::iaf_psc_alpha_multisynapse::set_status().
| double nest::iaf_psc_alpha_multisynapse::State_::I_const_ |
Constant current.
Referenced by State_().
|
static |
|
static |
| int nest::iaf_psc_alpha_multisynapse::State_::refractory_steps_ |
Number of refractory steps remaining.
Referenced by State_().
| double nest::iaf_psc_alpha_multisynapse::State_::V_m_ |
| std::vector< double > nest::iaf_psc_alpha_multisynapse::State_::y1_syn_ |
Referenced by State_().
| std::vector< double > nest::iaf_psc_alpha_multisynapse::State_::y2_syn_ |
Referenced by State_().