GeNN  4.9.0
GPU enhanced Neuronal Networks (GeNN)
neuronGroupInternal.h
Go to the documentation of this file.
1 #pragma once
2 
3 // GeNN includes
4 #include "neuronGroup.h"
5 
6 //------------------------------------------------------------------------
7 // NeuronGroupInternal
8 //------------------------------------------------------------------------
10 {
11 public:
12  NeuronGroupInternal(const std::string &name, int numNeurons, const NeuronModels::Base *neuronModel,
13  const std::vector<double> &params, const std::vector<Models::VarInit> &varInitialisers,
14  VarLocation defaultVarLocation, VarLocation defaultExtraGlobalParamLocation)
15  : NeuronGroup(name, numNeurons, neuronModel, params, varInitialisers,
16  defaultVarLocation, defaultExtraGlobalParamLocation)
17  {
18  }
19 
47 };
Definition: neuronGroup.h:21
const std::vector< SynapseGroupInternal * > & getFusedWUPreOutSyn() const
Definition: neuronGroup.h:238
Definition: neuronGroupInternal.h:9
VarLocation
< Flags defining which memory space variables should be allocated in
Definition: variableMode.h:10
std::vector< SynapseGroupInternal * > getFusedInSynWithPostCode() const
Helper to get vector of incoming synapse groups which have postsynaptic update code.
Definition: neuronGroup.cc:416
const std::vector< SynapseGroupInternal * > & getFusedPreOutputOutSyn() const
Definition: neuronGroup.h:240
std::vector< SynapseGroupInternal * > getFusedOutSynWithPreVars() const
Helper to get vector of outgoing synapse groups which have presynaptic variables. ...
Definition: neuronGroup.cc:448
const std::vector< CurrentSourceInternal * > & getCurrentSources() const
Gets pointers to all current sources which provide input to this neuron group.
Definition: neuronGroup.h:243
boost::uuids::detail::sha1::digest_type getVarLocationHashDigest() const
Definition: neuronGroup.cc:570
bool isVarQueueRequired(const std::string &var) const
Definition: neuronGroup.cc:480
void addSpkEventCondition(const std::string &code, SynapseGroupInternal *synapseGroup)
Definition: neuronGroup.cc:456
std::vector< SynapseGroupInternal * > getFusedInSynWithPostVars() const
Helper to get vector of incoming synapse groups which have postsynaptic variables.
Definition: neuronGroup.cc:440
void updatePostVarQueues(const std::string &code)
Update which postsynaptic variables require queues based on piece of code.
Definition: neuronGroup.cc:332
void updatePreVarQueues(const std::string &code)
Update which presynaptic variables require queues based on piece of code.
Definition: neuronGroup.cc:327
void checkNumDelaySlots(unsigned int requiredDelay)
Checks delay slots currently provided by the neuron group against a required delay and extends if req...
Definition: neuronGroup.cc:319
const std::vector< SynapseGroupInternal * > & getOutSyn() const
Gets pointers to all synapse groups emanating from this neuron group.
Definition: neuronGroup.h:237
const std::vector< SynapseGroupInternal * > & getFusedPSMInSyn() const
Definition: neuronGroup.h:233
void injectCurrent(CurrentSourceInternal *source)
add input current source
Definition: neuronGroup.cc:300
const std::vector< SynapseGroupInternal * > & getFusedWUPostInSyn() const
Definition: neuronGroup.h:234
boost::uuids::detail::sha1::digest_type getSpikeQueueUpdateHashDigest() const
Definition: neuronGroup.cc:550
void addOutSyn(SynapseGroupInternal *synapseGroup)
Definition: neuronGroup.h:218
NeuronGroupInternal(const std::string &name, int numNeurons, const NeuronModels::Base *neuronModel, const std::vector< double > &params, const std::vector< Models::VarInit > &varInitialisers, VarLocation defaultVarLocation, VarLocation defaultExtraGlobalParamLocation)
Definition: neuronGroupInternal.h:12
boost::uuids::detail::sha1::digest_type getInitHashDigest() const
Updates hash with neuron group initialisation.
Definition: neuronGroup.cc:517
void initDerivedParams(double dt)
Definition: neuronGroup.cc:337
const std::vector< double > & getDerivedParams() const
Definition: neuronGroup.h:245
std::vector< SynapseGroupInternal * > getFusedOutSynWithPreCode() const
Helper to get vector of outgoing synapse groups which have presynaptic update code.
Definition: neuronGroup.cc:428
Base class for all neuron models.
Definition: neuronModels.h:32
const std::set< SpikeEventThreshold > & getSpikeEventCondition() const
Definition: neuronGroup.h:247
boost::uuids::detail::sha1::digest_type getHashDigest() const
Updates hash with neuron group.
Definition: neuronGroup.cc:486
void addInSyn(SynapseGroupInternal *synapseGroup)
Definition: neuronGroup.h:217
boost::uuids::detail::sha1::digest_type getPrevSpikeTimeUpdateHashDigest() const
Definition: neuronGroup.cc:559
void fusePrePostSynapses(bool fusePSM, bool fusePrePostWUM)
Fuse incoming postsynaptic models.
Definition: neuronGroup.cc:355