GeNN
3.3.0
GPU enhanced Neuronal Networks (GeNN)
|
class for specifying a neuron model. More...
#include <neuronModels.h>
Public Member Functions | |
neuronModel () | |
Constructor for neuronModel objects. More... | |
~neuronModel () | |
Destructor for neuronModel objects. More... | |
Public Attributes | |
string | 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. 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... | |
string | supportCode |
Support code is made available within the neuron kernel definition file and is meant to contain user defined device functions that are used in the neuron codes. Preprocessor defines are also allowed if appropriately safeguarded against multiple definition by using ifndef; functions should be declared as "__host__ __device__" to be available for both GPU and CPU versions. 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. More... | |
vector< string > | dpNames |
Names of dependent parameters of the model. 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. 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... | |
dpclass * | dps |
Derived parameters. More... | |
class for specifying a neuron model.
neuronModel::neuronModel | ( | ) |
Constructor for neuronModel objects.
neuronModel::~neuronModel | ( | ) |
Destructor for neuronModel objects.
vector<string> neuronModel::dpNames |
Names of dependent parameters of the model. 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 |
Derived parameters.
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.
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::supportCode |
Support code is made available within the neuron kernel definition file and is meant to contain user defined device functions that are used in the neuron codes. Preprocessor defines are also allowed if appropriately safeguarded against multiple definition by using ifndef; functions should be declared as "__host__ __device__" to be available for both GPU and CPU versions.
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.