GeNN  4.0.0
GPU enhanced Neuronal Networks (GeNN)
NeuronGroupInternal Class Reference

#include <neuronGroupInternal.h>

Inheritance diagram for NeuronGroupInternal:
NeuronGroup

Public Member Functions

 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, int hostID)
 
- Public Member Functions inherited from NeuronGroup
 NeuronGroup (const NeuronGroup &)=delete
 
 NeuronGroup ()=delete
 
void setSpikeLocation (VarLocation loc)
 Set location of this neuron group's output spikes. More...
 
void setSpikeEventLocation (VarLocation loc)
 Set location of this neuron group's output spike events. More...
 
void setSpikeTimeLocation (VarLocation loc)
 Set location of this neuron group's output spike times. More...
 
void setVarLocation (const std::string &varName, VarLocation loc)
 Set variable location of neuron model state variable. More...
 
void setExtraGlobalParamLocation (const std::string &paramName, VarLocation loc)
 Set location of neuron model extra global parameter. More...
 
const std::string & getName () const
 
unsigned int getNumNeurons () const
 Gets number of neurons in group. More...
 
const NeuronModels::BasegetNeuronModel () const
 Gets the neuron model used by this group. More...
 
const std::vector< double > & getParams () const
 
const std::vector< Models::VarInit > & getVarInitialisers () const
 
int getClusterHostID () const
 
bool isSpikeTimeRequired () const
 
bool isTrueSpikeRequired () const
 
bool isSpikeEventRequired () const
 
unsigned int getNumDelaySlots () const
 
bool isDelayRequired () const
 
bool isZeroCopyEnabled () const
 
VarLocation getSpikeLocation () const
 Get location of this neuron group's output spikes. More...
 
VarLocation getSpikeEventLocation () const
 Get location of this neuron group's output spike events. More...
 
VarLocation getSpikeTimeLocation () const
 Get location of this neuron group's output spike times. More...
 
VarLocation getVarLocation (const std::string &varName) const
 Get location of neuron model state variable by name. More...
 
VarLocation getVarLocation (size_t index) const
 Get location of neuron model state variable by index. More...
 
VarLocation getExtraGlobalParamLocation (const std::string &paramName) const
 Get location of neuron model extra global parameter by name. More...
 
VarLocation getExtraGlobalParamLocation (size_t index) const
 Get location of neuron model extra global parameter by omdex. More...
 
bool isSimRNGRequired () const
 Does this neuron group require an RNG to simulate? More...
 
bool isInitRNGRequired () const
 Does this neuron group require an RNG for it's init code? More...
 
bool hasOutputToHost (int targetHostID) const
 Does this neuron group have outgoing connections specified host id? More...
 

Additional Inherited Members

- Protected Member Functions inherited from NeuronGroup
 NeuronGroup (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, int hostID)
 
void checkNumDelaySlots (unsigned int requiredDelay)
 Checks delay slots currently provided by the neuron group against a required delay and extends if required. More...
 
void updatePreVarQueues (const std::string &code)
 Update which presynaptic variables require queues based on piece of code. More...
 
void updatePostVarQueues (const std::string &code)
 Update which postsynaptic variables require queues based on piece of code. More...
 
void addSpkEventCondition (const std::string &code, const std::string &supportCodeNamespace)
 
void addInSyn (SynapseGroupInternal *synapseGroup)
 
void addOutSyn (SynapseGroupInternal *synapseGroup)
 
void initDerivedParams (double dt)
 
void mergeIncomingPSM (bool merge)
 Merge incoming postsynaptic models. More...
 
void injectCurrent (CurrentSourceInternal *source)
 add input current source More...
 
const std::vector< SynapseGroupInternal * > & getInSyn () const
 Gets pointers to all synapse groups which provide input to this neuron group. More...
 
const std::vector< std::pair< SynapseGroupInternal *, std::vector< SynapseGroupInternal * > > > & getMergedInSyn () const
 
const std::vector< SynapseGroupInternal * > & getOutSyn () const
 Gets pointers to all synapse groups emanating from this neuron group. More...
 
const std::vector< CurrentSourceInternal * > & getCurrentSources () const
 Gets pointers to all current sources which provide input to this neuron group. More...
 
const std::vector< double > & getDerivedParams () const
 
const std::set< std::pair< std::string, std::string > > & getSpikeEventCondition () const
 
bool isParamRequiredBySpikeEventCondition (const std::string &pnamefull) const
 Do any of the spike event conditions tested by this neuron require specified parameter? More...
 
std::string getCurrentQueueOffset (const std::string &devPrefix) const
 Get the expression to calculate the queue offset for accessing state of variables this timestep. More...
 
std::string getPrevQueueOffset (const std::string &devPrefix) const
 Get the expression to calculate the queue offset for accessing state of variables in previous timestep. More...
 
bool isVarQueueRequired (const std::string &var) const
 
bool isVarQueueRequired (size_t index) const
 

Constructor & Destructor Documentation

◆ NeuronGroupInternal()

NeuronGroupInternal::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,
int  hostID 
)
inline

The documentation for this class was generated from the following file: