NEST main@caf0ae8
 
Loading...
Searching...
No Matches
nest::iaf_psc_exp_multisynapse::State_ Struct Reference

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
 

Detailed Description

State variables of the model.

Member Enumeration Documentation

◆ StateVecElems

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 

Constructor & Destructor Documentation

◆ State_()

nest::iaf_psc_exp_multisynapse::State_::State_ ( )

Default initialization.

References i_syn_.

Member Function Documentation

◆ get()

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().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ set()

void nest::iaf_psc_exp_multisynapse::State_::set ( const Dictionary &  d,
const Parameters_ &  p,
const double  delta_EL,
Node *  node 
)

Set values from dictionary.

Parameters
dictionaryto take data from
currentparameters
Changein 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().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ I_const_

double nest::iaf_psc_exp_multisynapse::State_::I_const_

synaptic dc input current, variable 0

Referenced by nest::iaf_psc_exp_multisynapse::update().

◆ i_syn_

◆ NUM_STATE_ELEMENTS_PER_RECEPTOR

const size_t nest::iaf_psc_exp_multisynapse::State_::NUM_STATE_ELEMENTS_PER_RECEPTOR = 1
static

◆ NUMBER_OF_FIXED_STATES_ELEMENTS

const size_t nest::iaf_psc_exp_multisynapse::State_::NUMBER_OF_FIXED_STATES_ELEMENTS = I_SYN
static

◆ refractory_steps_

int nest::iaf_psc_exp_multisynapse::State_::refractory_steps_

absolute refractory counter (no membrane potential propagation)

Referenced by nest::iaf_psc_exp_multisynapse::update().

◆ V_m_

double nest::iaf_psc_exp_multisynapse::State_::V_m_

The documentation for this struct was generated from the following files: