GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
extra_neurons.h File Reference

Go to the source code of this file.

Functions

n varNames clear ()
 
n varNames push_back ("V")
 
n varTypes push_back ("float")
 
n varNames push_back ("V_NB")
 
n varNames push_back ("tSpike_NB")
 
n varNames push_back ("__regime_val")
 
n varTypes push_back ("int")
 
n pNames push_back ("VReset_NB")
 
n pNames push_back ("VThresh_NB")
 
n pNames push_back ("tRefrac_NB")
 
n pNames push_back ("VRest_NB")
 
n pNames push_back ("TAUm_NB")
 
n pNames push_back ("Cm_NB")
 
nModels push_back (n)
 
n varNames push_back ("count_t_NB")
 
n pNames push_back ("max_t_NB")
 

Variables

simCode
 

Function Documentation

◆ clear()

ps dpNames clear ( )

◆ push_back() [1/15]

n varNames push_back ( "V"  )

◆ push_back() [2/15]

ps varTypes push_back ( "float"  )

◆ push_back() [3/15]

n varNames push_back ( "V_NB"  )

◆ push_back() [4/15]

n varNames push_back ( "tSpike_NB"  )

◆ push_back() [5/15]

n varNames push_back ( "__regime_val"  )

◆ push_back() [6/15]

n varTypes push_back ( "int"  )

◆ push_back() [7/15]

n pNames push_back ( "VReset_NB"  )

◆ push_back() [8/15]

n pNames push_back ( "VThresh_NB"  )

◆ push_back() [9/15]

n pNames push_back ( "tRefrac_NB"  )

◆ push_back() [10/15]

n pNames push_back ( "VRest_NB"  )

◆ push_back() [11/15]

n pNames push_back ( "TAUm_NB"  )

◆ push_back() [12/15]

n pNames push_back ( "Cm_NB"  )

◆ push_back() [13/15]

nModels push_back ( )

◆ push_back() [14/15]

n varNames push_back ( "count_t_NB"  )

◆ push_back() [15/15]

n pNames push_back ( "max_t_NB"  )

Variable Documentation

◆ simCode

n simCode
Initial value:
= " \
$(V) = -1000000; \
if ($(__regime_val)==1) { \n \
$(V_NB) += (Isyn_NB/$(Cm_NB)+($(VRest_NB)-$(V_NB))/$(TAUm_NB))*DT; \n \
if ($(V_NB)>$(VThresh_NB)) { \n \
$(V_NB) = $(VReset_NB); \n \
$(tSpike_NB) = t; \n \
$(V) = 100000; \
$(__regime_val) = 2; \n \
} \n \
} \n \
if ($(__regime_val)==2) { \n \
if (t-$(tSpike_NB) > $(tRefrac_NB)) { \n \
$(__regime_val) = 1; \n \
} \n \
} \n \
"