NEST
2.6.0,not_revisioned_source_dir@0
|
State variables of the model. More...
#include <iaf_cond_alpha_mc.h>
Public Types | |
enum | StateVecElems_ { V_M = 0, DG_EXC, G_EXC, DG_INH, G_INH, STATE_VEC_COMPS } |
Elements of state vector. More... | |
Public Member Functions | |
State_ (const Parameters_ &) | |
Default initialization. More... | |
State_ (const State_ &) | |
State_ & | operator= (const State_ &) |
void | get (DictionaryDatum &) const |
void | set (const DictionaryDatum &, const Parameters_ &) |
Static Public Member Functions | |
static size_t | idx (size_t comp, StateVecElems_ elem) |
Compute linear index into state array from compartment and element. More... | |
Public Attributes | |
double_t | y_ [STATE_VEC_SIZE] |
neuron state, must be C-array for GSL solver More... | |
int_t | r_ |
number of refractory steps remaining More... | |
Static Public Attributes | |
static const size_t | STATE_VEC_SIZE = STATE_VEC_COMPS * NCOMP |
total size of state vector More... | |
State variables of the model.
nest::iaf_cond_alpha_mc::State_::State_ | ( | const Parameters_ & | p | ) |
Default initialization.
References nest::iaf_cond_alpha_mc::Parameters_::E_L, idx(), nest::names::n, nest::iaf_cond_alpha_mc::NCOMP, STATE_VEC_SIZE, V_M, and y_.
nest::iaf_cond_alpha_mc::State_::State_ | ( | const State_ & | s | ) |
References STATE_VEC_SIZE, and y_.
void nest::iaf_cond_alpha_mc::State_::get | ( | DictionaryDatum & | d | ) | const |
References assert(), nest::iaf_cond_alpha_mc::comp_names_, nest::names::d, nest::names::n, nest::iaf_cond_alpha_mc::NCOMP, and nest::names::V_m.
Referenced by nest::iaf_cond_alpha_mc::get_status().
|
inlinestatic |
Compute linear index into state array from compartment and element.
comp | compartment index |
elem | elemet index |
References STATE_VEC_COMPS.
Referenced by nest::iaf_cond_alpha_mc::get_y_elem_(), and State_().
nest::iaf_cond_alpha_mc::State_ & nest::iaf_cond_alpha_mc::State_::operator= | ( | const State_ & | s | ) |
void nest::iaf_cond_alpha_mc::State_::set | ( | const DictionaryDatum & | d, |
const Parameters_ & | |||
) |
References nest::iaf_cond_alpha_mc::comp_names_, nest::names::d, nest::names::n, nest::iaf_cond_alpha_mc::NCOMP, and nest::names::V_m.
Referenced by nest::iaf_cond_alpha_mc::set_status().
int_t nest::iaf_cond_alpha_mc::State_::r_ |
number of refractory steps remaining
Referenced by nest::iaf_cond_alpha_mc::get_r_(), and operator=().
|
static |
total size of state vector
Referenced by State_().
double_t nest::iaf_cond_alpha_mc::State_::y_[STATE_VEC_SIZE] |
neuron state, must be C-array for GSL solver
Referenced by nest::iaf_cond_alpha_mc::get_y_elem_(), operator=(), and State_().