GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
currentSourceInternal.h
Go to the documentation of this file.
1 #pragma once
2 
3 // GeNN includes
4 #include "currentSource.h"
5 
6 //------------------------------------------------------------------------
7 // CurrentSourceInternal
8 //------------------------------------------------------------------------
10 {
11 public:
12  CurrentSourceInternal(const std::string &name, const CurrentSourceModels::Base *currentSourceModel,
13  const std::vector<double> &params, const std::vector<Models::VarInit> &varInitialisers,
14  const NeuronGroupInternal *targetNeuronGroup, VarLocation defaultVarLocation,
15  VarLocation defaultExtraGlobalParamLocation)
16  : CurrentSource(name, currentSourceModel, params, varInitialisers, targetNeuronGroup,
17  defaultVarLocation, defaultExtraGlobalParamLocation)
18  {
19  }
20 
30 };
bool isSimRNGRequired() const
Does this current source require an RNG to simulate.
Definition: currentSource.cc:68
Definition: neuronGroupInternal.h:9
const NeuronGroupInternal * getTrgNeuronGroup() const
Definition: currentSource.h:76
VarLocation
< Flags defining which memory space variables should be allocated in
Definition: variableMode.h:10
Base class for all current source models.
Definition: currentSourceModels.h:26
boost::uuids::detail::sha1::digest_type getHashDigest() const
Updates hash with current source.
Definition: currentSource.cc:95
boost::uuids::detail::sha1::digest_type getInitHashDigest() const
Updates hash with current source initialisation.
Definition: currentSource.cc:100
const std::vector< double > & getDerivedParams() const
Definition: currentSource.h:78
bool isZeroCopyEnabled() const
Definition: currentSource.cc:88
boost::uuids::detail::sha1::digest_type getVarLocationHashDigest() const
Definition: currentSource.cc:112
CurrentSourceInternal(const std::string &name, const CurrentSourceModels::Base *currentSourceModel, const std::vector< double > &params, const std::vector< Models::VarInit > &varInitialisers, const NeuronGroupInternal *targetNeuronGroup, VarLocation defaultVarLocation, VarLocation defaultExtraGlobalParamLocation)
Definition: currentSourceInternal.h:12
void initDerivedParams(double dt)
Definition: currentSource.cc:50
Definition: currentSourceInternal.h:9
Definition: currentSource.h:20
bool isInitRNGRequired() const
Does this current source group require an RNG for it&#39;s init code.
Definition: currentSource.cc:78