Wrapper around legacy weight update models stored in nModels array of neuronModel objects.
More...
#include <newNeuronModels.h>
Wrapper around legacy weight update models stored in nModels array of neuronModel objects.
◆ LegacyWrapper()
NeuronModels::LegacyWrapper::LegacyWrapper |
( |
unsigned int |
legacyTypeIndex | ) |
|
|
inline |
◆ getExtraGlobalParams()
Gets names and types (as strings) of additional per-population parameters for the weight update model.
◆ getResetCode()
std::string NeuronModels::LegacyWrapper::getResetCode |
( |
| ) |
const |
|
virtual |
Gets code that defines the reset action taken after a spike occurred. This can be empty.
◆ getSimCode()
std::string NeuronModels::LegacyWrapper::getSimCode |
( |
| ) |
const |
|
virtual |
Gets the 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.
◆ getSupportCode()
std::string NeuronModels::LegacyWrapper::getSupportCode |
( |
| ) |
const |
|
virtual |
Gets support code to be made available within the neuron kernel/funcion.
This is intended 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.
◆ getThresholdConditionCode()
std::string NeuronModels::LegacyWrapper::getThresholdConditionCode |
( |
| ) |
const |
|
virtual |
Gets code which defines the condition for a true spike in the described neuron model.
This evaluates to a bool (e.g. "V > 20").
◆ isPoisson()
bool NeuronModels::LegacyWrapper::isPoisson |
( |
| ) |
const |
|
virtual |
The documentation for this class was generated from the following files: