GeNN  1.1
GPU enhanced Neuronal Networks (GeNN)
 All Classes Files Functions Variables Typedefs Macros Pages
neuronModel Struct Reference

class (struct) for specifying a neuron model. More...

#include <modelSpec.h>

Public Attributes

string simCode
 Code that defines the execution of one timestep of integration of the neuron model. More...
 
string thresholdConditionCode
 Code evaluating to a bool (e.g. "V > 20") that defines the condition for a true spike in the described neuron model. More...
 
string resetCode
 Code that defines the reset action taken after a spike occurred. This can be empty. More...
 
vector< string > varNames
 Names of the variables in the neuron model. More...
 
vector< string > tmpVarNames
 never used More...
 
vector< string > varTypes
 Types of the variable named above, e.g. "float". Names and types are matched by their order of occurrence in the vector. More...
 
vector< string > tmpVarTypes
 never used More...
 
vector< string > pNames
 Names of (independent) parameters of the model. These are assumed to be always of type "float". More...
 
vector< string > dpNames
 Names of dependent parameters of the model. These are assumed to be always of type "float". More...
 
vector< string > extraGlobalNeuronKernelParameters
 Additional parameter in the neuron kernel; it is translated to a population specific name but otherwise assumed to be one parameter per population rather than per neuron. More...
 
vector< string > extraGlobalNeuronKernelParameterTypes
 Additional parameters in the neuron kernel; they are translated to a population specific name but otherwise assumed to be one parameter per population rather than per neuron. More...
 
dpclassdps
 

Detailed Description

class (struct) for specifying a neuron model.

Member Data Documentation

vector<string> neuronModel::dpNames

Names of dependent parameters of the model. These are assumed to be always of type "float".

The dependent parameters are functions of independent parameters that enter into the neuron model. To avoid unecessary computational overhead, these parameters are calculated at compile time and inserted as explicit values into the generated code. See method NNmodel::initDerivedNeuronPara for how this is done.

dpclass* neuronModel::dps
vector<string> neuronModel::extraGlobalNeuronKernelParameters

Additional parameter in the neuron kernel; it is translated to a population specific name but otherwise assumed to be one parameter per population rather than per neuron.

vector<string> neuronModel::extraGlobalNeuronKernelParameterTypes

Additional parameters in the neuron kernel; they are translated to a population specific name but otherwise assumed to be one parameter per population rather than per neuron.

vector<string> neuronModel::pNames

Names of (independent) parameters of the model. These are assumed to be always of type "float".

string neuronModel::resetCode

Code that defines the reset action taken after a spike occurred. This can be empty.

string neuronModel::simCode

Code that defines the execution of one timestep of integration of the neuron model.

The code will refer to for the value of the variable with name "NN". It needs to refer to the predefined variable "ISYN", i.e. contain , if it is to receive input.

string neuronModel::thresholdConditionCode

Code evaluating to a bool (e.g. "V > 20") that defines the condition for a true spike in the described neuron model.

vector<string> neuronModel::tmpVarNames

never used

vector<string> neuronModel::tmpVarTypes

never used

vector<string> neuronModel::varNames

Names of the variables in the neuron model.

vector<string> neuronModel::varTypes

Types of the variable named above, e.g. "float". Names and types are matched by their order of occurrence in the vector.


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