GeNN  2.2.3
GPU enhanced Neuronal Networks (GeNN)
postSynModel Class Reference

Class to hold the information that defines a post-synaptic model (a model of how synapses affect post-synaptic neuron variables, classically in the form of a synaptic current). It also allows to define an equation for the dynamics that can be applied to the summed synaptic input variable "insyn". More...

#include <postSynapseModels.h>

Public Member Functions

 postSynModel ()
 Constructor for postSynModel objects. More...
 
 ~postSynModel ()
 Destructor for postSynModel objects. More...
 

Public Attributes

string postSyntoCurrent
 Code that defines how postsynaptic update is translated to current. More...
 
string postSynDecay
 Code that defines how postsynaptic current decays. 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 postsynaptic model. 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 > pNames
 Names of (independent) parameters of the model. More...
 
vector< string > dpNames
 Names of dependent parameters of the model. More...
 
dpclassdps
 Derived parameters. More...
 

Detailed Description

Class to hold the information that defines a post-synaptic model (a model of how synapses affect post-synaptic neuron variables, classically in the form of a synaptic current). It also allows to define an equation for the dynamics that can be applied to the summed synaptic input variable "insyn".

Constructor & Destructor Documentation

postSynModel::postSynModel ( )

Constructor for postSynModel objects.

postSynModel::~postSynModel ( )

Destructor for postSynModel objects.

Member Data Documentation

vector<string> postSynModel::dpNames

Names of dependent parameters of the model.

dpclass* postSynModel::dps

Derived parameters.

vector<string> postSynModel::pNames

Names of (independent) parameters of the model.

string postSynModel::postSynDecay

Code that defines how postsynaptic current decays.

string postSynModel::postSyntoCurrent

Code that defines how postsynaptic update is translated to current.

string postSynModel::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.

vector<string> postSynModel::varNames

Names of the variables in the postsynaptic model.

vector<string> postSynModel::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 class was generated from the following files: