NEST main@caf0ae8
 
Loading...
Searching...
No Matches
nest::NMDA Class Reference

#include <cm_compartmentcurrents.h>

Collaboration diagram for nest::NMDA:
[legend]

Public Member Functions

 NMDA (const long syn_index)
 
 NMDA (const long syn_index, const Dictionary &receptor_params)
 
 ~NMDA ()
 
long get_syn_idx ()
 
void pre_run_hook ()
 initialization of the state variables
 
void append_recordables (std::map< std::string, double * > *recordables)
 make the state variables of this receptor accessible
 
void set_buffer_ptr (std::vector< RingBuffer > &syn_buffers)
 associate the receptor with a spike buffer
 
std::pair< double, double > f_numstep (const double v_comp, const long lag)
 advance receptor by one numerical integration step
 
std::pair< double, double > NMDA_sigmoid__and__d_NMDAsigmoid_dv (double v_comp)
 synapse specific function (NMDA nonlinearity)
 

Private Attributes

long syn_idx = 0
 global synapse index
 
double g_r_NMDA_
 state variables
 
double g_d_NMDA_
 
double e_rev_
 user defined parameters
 
double tau_r_
 
double tau_d_
 
double g_norm_
 assigned variables
 
double prop_r_
 propagators
 
double prop_d_
 
RingBuffer * b_spikes_
 spike buffer
 

Constructor & Destructor Documentation

◆ NMDA() [1/2]

nest::NMDA::NMDA ( const long  syn_index)
explicit

References g_norm_, syn_idx, tau_d_, and tau_r_.

◆ NMDA() [2/2]

nest::NMDA::NMDA ( const long  syn_index,
const Dictionary &  receptor_params 
)

References e_rev_, g_norm_, Dictionary::get(), Dictionary::known(), syn_idx, tau_d_, and tau_r_.

Here is the call graph for this function:

◆ ~NMDA()

nest::NMDA::~NMDA ( )
inline

Member Function Documentation

◆ append_recordables()

void nest::NMDA::append_recordables ( std::map< std::string, double * > *  recordables)

make the state variables of this receptor accessible

References g_d_NMDA_, g_r_NMDA_, and syn_idx.

◆ f_numstep()

std::pair< double, double > nest::NMDA::f_numstep ( const double  v_comp,
const long  lag 
)

advance receptor by one numerical integration step

References b_spikes_, e_rev_, g_d_NMDA_, g_norm_, g_r_NMDA_, nest::RingBuffer::get_value(), NMDA_sigmoid__and__d_NMDAsigmoid_dv(), prop_d_, and prop_r_.

Here is the call graph for this function:

◆ get_syn_idx()

long nest::NMDA::get_syn_idx ( )
inline

References syn_idx.

◆ NMDA_sigmoid__and__d_NMDAsigmoid_dv()

std::pair< double, double > nest::NMDA::NMDA_sigmoid__and__d_NMDAsigmoid_dv ( double  v_comp)
inline

synapse specific function (NMDA nonlinearity)

Referenced by f_numstep().

Here is the caller graph for this function:

◆ pre_run_hook()

void nest::NMDA::pre_run_hook ( )
inline

initialization of the state variables

References b_spikes_, nest::RingBuffer::clear(), nest::Time::get_ms(), nest::Time::get_resolution(), prop_d_, prop_r_, tau_d_, and tau_r_.

Here is the call graph for this function:

◆ set_buffer_ptr()

void nest::NMDA::set_buffer_ptr ( std::vector< RingBuffer > &  syn_buffers)
inline

associate the receptor with a spike buffer

References b_spikes_, and syn_idx.

Member Data Documentation

◆ b_spikes_

RingBuffer* nest::NMDA::b_spikes_
private

spike buffer

Referenced by f_numstep(), pre_run_hook(), and set_buffer_ptr().

◆ e_rev_

double nest::NMDA::e_rev_
private

user defined parameters

Referenced by f_numstep(), and NMDA().

◆ g_d_NMDA_

double nest::NMDA::g_d_NMDA_
private

Referenced by append_recordables(), and f_numstep().

◆ g_norm_

double nest::NMDA::g_norm_
private

assigned variables

Referenced by f_numstep(), NMDA(), and NMDA().

◆ g_r_NMDA_

double nest::NMDA::g_r_NMDA_
private

state variables

Referenced by append_recordables(), and f_numstep().

◆ prop_d_

double nest::NMDA::prop_d_
private

Referenced by f_numstep(), and pre_run_hook().

◆ prop_r_

double nest::NMDA::prop_r_
private

propagators

Referenced by f_numstep(), and pre_run_hook().

◆ syn_idx

long nest::NMDA::syn_idx = 0
private

global synapse index

Referenced by append_recordables(), get_syn_idx(), NMDA(), NMDA(), and set_buffer_ptr().

◆ tau_d_

double nest::NMDA::tau_d_
private

Referenced by NMDA(), NMDA(), and pre_run_hook().

◆ tau_r_

double nest::NMDA::tau_r_
private

Referenced by NMDA(), NMDA(), and pre_run_hook().


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