NEST  2.6.0,not_revisioned_source_dir@0
Public Types | Public Member Functions | Public Attributes | List of all members
nest::iaf_chxk_2008::State_ Struct Reference

State variables of the model. More...

#include <iaf_chxk_2008.h>

Public Types

enum  StateVecElems {
  V_M = 0, DG_EXC, G_EXC, DG_INH,
  G_INH, DG_AHP, G_AHP, STATE_VEC_SIZE
}
 Symbolic indices to the elements of the state vector y. More...
 

Public Member Functions

 State_ (const Parameters_ &)
 Default initialization. More...
 
 State_ (const State_ &)
 
State_operator= (const State_ &)
 
void get (DictionaryDatum &) const
 Store current values in dictionary. More...
 
void set (const DictionaryDatum &, const Parameters_ &)
 Set state from values in dictionary. More...
 

Public Attributes

double_t y [STATE_VEC_SIZE]
 state vector, must be C-array for GSL solver More...
 
int_t r
 

Detailed Description

State variables of the model.

State variables consist of the state vector for the subthreshold dynamics and the refractory count. The state vector must be a C-style array to be compatible with GSL ODE solvers.

Note
Copy constructor and assignment operator are required because of the C-style array.

Member Enumeration Documentation

Symbolic indices to the elements of the state vector y.

Enumerator
V_M 
DG_EXC 
G_EXC 
DG_INH 
G_INH 
DG_AHP 
G_AHP 
STATE_VEC_SIZE 

Constructor & Destructor Documentation

nest::iaf_chxk_2008::State_::State_ ( const Parameters_ p)

Default initialization.

References nest::iaf_chxk_2008::Parameters_::E_L, STATE_VEC_SIZE, V_M, and y.

nest::iaf_chxk_2008::State_::State_ ( const State_ s)

References STATE_VEC_SIZE, and y.

Member Function Documentation

void nest::iaf_chxk_2008::State_::get ( DictionaryDatum d) const

Store current values in dictionary.

References nest::names::d, nest::names::V_m, and nest::names::y.

Referenced by nest::iaf_chxk_2008::get_status().

nest::iaf_chxk_2008::State_ & nest::iaf_chxk_2008::State_::operator= ( const State_ s)

References r, nest::names::y, and y.

void nest::iaf_chxk_2008::State_::set ( const DictionaryDatum d,
const Parameters_  
)

Set state from values in dictionary.

Requires Parameters_ as argument to, e.g., check bounds.'

References nest::names::d, nest::names::V_m, and nest::names::y.

Referenced by nest::iaf_chxk_2008::set_status().

Member Data Documentation

int_t nest::iaf_chxk_2008::State_::r
double_t nest::iaf_chxk_2008::State_::y[STATE_VEC_SIZE]

state vector, must be C-array for GSL solver

number of refractory steps remaining

Referenced by nest::iaf_chxk_2008::get_I_ahp_(), nest::iaf_chxk_2008::get_I_syn_exc_(), nest::iaf_chxk_2008::get_I_syn_inh_(), nest::iaf_chxk_2008::get_y_elem_(), operator=(), and State_().


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