GeNN  3.3.0
GPU enhanced Neuronal Networks (GeNN)
currentSourceModels.h File Reference
#include <array>
#include <functional>
#include <string>
#include <tuple>
#include <vector>
#include <cmath>
#include "codeGenUtils.h"
#include "newModels.h"

Go to the source code of this file.

Classes

class  CurrentSourceModels::Base
 Base class for all current source models. More...
 
class  CurrentSourceModels::DC
 DC source. More...
 
class  CurrentSourceModels::GaussianNoise
 Noisy current source with noise drawn from normal distribution. More...
 

Namespaces

 CurrentSourceModels
 

Macros

#define SET_INJECTION_CODE(INJECTION_CODE)   virtual std::string getInjectionCode() const override{ return INJECTION_CODE; }
 
#define SET_EXTRA_GLOBAL_PARAMS(...)   virtual StringPairVec getExtraGlobalParams() const override{ return __VA_ARGS__; }
 

Macro Definition Documentation

◆ SET_EXTRA_GLOBAL_PARAMS

#define SET_EXTRA_GLOBAL_PARAMS (   ...)    virtual StringPairVec getExtraGlobalParams() const override{ return __VA_ARGS__; }

◆ SET_INJECTION_CODE

#define SET_INJECTION_CODE (   INJECTION_CODE)    virtual std::string getInjectionCode() const override{ return INJECTION_CODE; }