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

State variables of the model. More...

#include <aeif_cond_exp.h>

Public Types

enum  StateVecElems {
  V_M = 0, G_EXC, G_INH, W,
  STATE_VEC_SIZE
}
 Enumeration identifying elements in state array State_::y_. 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_ &)
 

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

Detailed Description

State variables of the model.

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

Member Enumeration Documentation

Enumeration identifying elements in state array State_::y_.

The state vector must be passed to GSL as a C array. This enum identifies the elements of the vector. It must be public to be accessible from the iteration function.

Enumerator
V_M 
G_EXC 
G_INH 
STATE_VEC_SIZE 

Constructor & Destructor Documentation

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

Default initialization.

References nest::aeif_cond_exp::Parameters_::E_L, STATE_VEC_SIZE, and y_.

nest::aeif_cond_exp::State_::State_ ( const State_ s)

References STATE_VEC_SIZE, and y_.

Member Function Documentation

void nest::aeif_cond_exp::State_::get ( DictionaryDatum d) const
nest::aeif_cond_exp::State_ & nest::aeif_cond_exp::State_::operator= ( const State_ s)

References assert(), r_, and y_.

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

Member Data Documentation

int_t nest::aeif_cond_exp::State_::r_

number of refractory steps remaining

Referenced by operator=().

double_t nest::aeif_cond_exp::State_::y_[STATE_VEC_SIZE]

neuron state, must be C-array for GSL solver

Referenced by nest::aeif_cond_exp::get_y_elem_(), operator=(), and State_().


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