GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
neuronModels.h File Reference
#include <array>
#include <functional>
#include <string>
#include <tuple>
#include <vector>
#include <cmath>
#include "models.h"

Go to the source code of this file.

Classes

class  NeuronModels::Base
 Base class for all neuron models. More...
 
class  NeuronModels::RulkovMap
 Rulkov Map neuron. More...
 
class  NeuronModels::Izhikevich
 Izhikevich neuron with fixed parameters [1]. More...
 
class  NeuronModels::IzhikevichVariable
 Izhikevich neuron with variable parameters [1]. More...
 
class  NeuronModels::LIF
 
class  NeuronModels::SpikeSource
 Empty neuron which allows setting spikes from external sources. More...
 
class  NeuronModels::SpikeSourceArray
 Spike source array. More...
 
class  NeuronModels::Poisson
 Poisson neurons. More...
 
class  NeuronModels::PoissonNew
 Poisson neurons. More...
 
class  NeuronModels::TraubMiles
 Hodgkin-Huxley neurons with Traub & Miles algorithm. More...
 
class  NeuronModels::TraubMilesFast
 Hodgkin-Huxley neurons with Traub & Miles algorithm: Original fast implementation, using 25 inner iterations. More...
 
class  NeuronModels::TraubMilesAlt
 Hodgkin-Huxley neurons with Traub & Miles algorithm. More...
 
class  NeuronModels::TraubMilesNStep
 Hodgkin-Huxley neurons with Traub & Miles algorithm. More...
 

Namespaces

 NeuronModels
 

Macros

#define SET_SIM_CODE(SIM_CODE)   virtual std::string getSimCode() const override{ return SIM_CODE; }
 
#define SET_THRESHOLD_CONDITION_CODE(THRESHOLD_CONDITION_CODE)   virtual std::string getThresholdConditionCode() const override{ return THRESHOLD_CONDITION_CODE; }
 
#define SET_RESET_CODE(RESET_CODE)   virtual std::string getResetCode() const override{ return RESET_CODE; }
 
#define SET_SUPPORT_CODE(SUPPORT_CODE)   virtual std::string getSupportCode() const override{ return SUPPORT_CODE; }
 
#define SET_ADDITIONAL_INPUT_VARS(...)   virtual ParamValVec getAdditionalInputVars() const override{ return __VA_ARGS__; }
 
#define SET_NEEDS_AUTO_REFRACTORY(AUTO_REFRACTORY_REQUIRED)   virtual bool isAutoRefractoryRequired() const override{ return AUTO_REFRACTORY_REQUIRED; }
 

Macro Definition Documentation

◆ SET_ADDITIONAL_INPUT_VARS

#define SET_ADDITIONAL_INPUT_VARS (   ...)    virtual ParamValVec getAdditionalInputVars() const override{ return __VA_ARGS__; }

◆ SET_NEEDS_AUTO_REFRACTORY

#define SET_NEEDS_AUTO_REFRACTORY (   AUTO_REFRACTORY_REQUIRED)    virtual bool isAutoRefractoryRequired() const override{ return AUTO_REFRACTORY_REQUIRED; }

◆ SET_RESET_CODE

#define SET_RESET_CODE (   RESET_CODE)    virtual std::string getResetCode() const override{ return RESET_CODE; }

◆ SET_SIM_CODE

#define SET_SIM_CODE (   SIM_CODE)    virtual std::string getSimCode() const override{ return SIM_CODE; }

◆ SET_SUPPORT_CODE

#define SET_SUPPORT_CODE (   SUPPORT_CODE)    virtual std::string getSupportCode() const override{ return SUPPORT_CODE; }

◆ SET_THRESHOLD_CONDITION_CODE

#define SET_THRESHOLD_CONDITION_CODE (   THRESHOLD_CONDITION_CODE)    virtual std::string getThresholdConditionCode() const override{ return THRESHOLD_CONDITION_CODE; }