|
| NeuronGroup (const std::string &name, int numNeurons, const NeuronModels::Base *neuronModel, const std::vector< double > ¶ms, const std::vector< NewModels::VarInit > &varInitialisers, int hostID, int deviceID) |
|
| NeuronGroup (const NeuronGroup &)=delete |
|
| NeuronGroup ()=delete |
|
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 | setSpikeTimeRequired (bool req) |
|
void | setTrueSpikeRequired (bool req) |
|
void | setSpikeEventRequired (bool req) |
|
void | setSpikeZeroCopyEnabled (bool enabled) |
| Function to enable the use of zero-copied memory for spikes (deprecated use NeuronGroup::setSpikeVarMode): More...
|
|
void | setSpikeEventZeroCopyEnabled (bool enabled) |
| Function to enable the use of zero-copied memory for spike-like events (deprecated use NeuronGroup::setSpikeEventVarMode): More...
|
|
void | setSpikeTimeZeroCopyEnabled (bool enabled) |
| Function to enable the use of zero-copied memory for spike times (deprecated use NeuronGroup::setSpikeTimeVarMode): More...
|
|
void | setVarZeroCopyEnabled (const std::string &varName, bool enabled) |
| Function to enable the use zero-copied memory for a particular state variable (deprecated use NeuronGroup::setVarMode): More...
|
|
void | setSpikeVarMode (VarMode mode) |
| Set variable mode used for variables containing this neuron group's output spikes. More...
|
|
void | setSpikeEventVarMode (VarMode mode) |
| Set variable mode used for variables containing this neuron group's output spike events. More...
|
|
void | setSpikeTimeVarMode (VarMode mode) |
| Set variable mode used for variables containing this neuron group's output spike times. More...
|
|
void | setVarMode (const std::string &varName, VarMode mode) |
| Set variable mode of neuron model state variable. More...
|
|
void | addSpkEventCondition (const std::string &code, const std::string &supportCodeNamespace) |
|
void | addInSyn (SynapseGroup *synapseGroup) |
|
void | addOutSyn (SynapseGroup *synapseGroup) |
|
void | initDerivedParams (double dt) |
|
void | calcSizes (unsigned int blockSize, unsigned int &idStart, unsigned int &paddedIDStart) |
|
void | mergeIncomingPSM () |
| Merge incoming postsynaptic models. More...
|
|
void | injectCurrent (CurrentSource *source) |
| add input current source More...
|
|
const std::string & | getName () const |
|
unsigned int | getNumNeurons () const |
| Gets number of neurons in group. More...
|
|
const std::pair< unsigned int, unsigned int > & | getPaddedIDRange () const |
|
const std::pair< unsigned int, unsigned int > & | getIDRange () const |
|
const NeuronModels::Base * | getNeuronModel () const |
| Gets the neuron model used by this group. More...
|
|
const std::vector< double > & | getParams () const |
|
const std::vector< double > & | getDerivedParams () const |
|
const std::vector< NewModels::VarInit > & | getVarInitialisers () const |
|
const std::vector< SynapseGroup * > & | getInSyn () const |
| Gets pointers to all synapse groups which provide input to this neuron group. More...
|
|
const std::vector< std::pair< SynapseGroup *, std::vector< SynapseGroup * > > > & | getMergedInSyn () const |
|
const std::vector< SynapseGroup * > & | getOutSyn () const |
| Gets pointers to all synapse groups emanating from this neuron group. More...
|
|
const std::vector< CurrentSource * > & | getCurrentSources () const |
| Gets pointers to all current sources which provide input to this neuron group. More...
|
|
int | getClusterHostID () const |
|
int | getClusterDeviceID () const |
|
bool | isSpikeTimeRequired () const |
|
bool | isTrueSpikeRequired () const |
|
bool | isSpikeEventRequired () const |
|
bool | isVarQueueRequired (const std::string &var) const |
|
bool | isVarQueueRequired (size_t index) const |
|
const std::set< std::pair< std::string, std::string > > & | getSpikeEventCondition () const |
|
unsigned int | getNumDelaySlots () const |
|
bool | isDelayRequired () const |
|
bool | isSpikeZeroCopyEnabled () const |
|
bool | isSpikeEventZeroCopyEnabled () const |
|
bool | isSpikeTimeZeroCopyEnabled () const |
|
bool | isZeroCopyEnabled () const |
|
bool | isVarZeroCopyEnabled (const std::string &var) const |
|
VarMode | getSpikeVarMode () const |
| Get variable mode used for variables containing this neuron group's output spikes. More...
|
|
VarMode | getSpikeEventVarMode () const |
| Get variable mode used for variables containing this neuron group's output spike events. More...
|
|
VarMode | getSpikeTimeVarMode () const |
| Get variable mode used for variables containing this neuron group's output spike times. More...
|
|
VarMode | getVarMode (const std::string &varName) const |
| Get variable mode used by neuron model state variable. More...
|
|
VarMode | getVarMode (size_t index) const |
| Get variable mode used by neuron model state variable. More...
|
|
bool | isParamRequiredBySpikeEventCondition (const std::string &pnamefull) const |
| Do any of the spike event conditions tested by this neuron require specified parameter? More...
|
|
void | addExtraGlobalParams (std::map< std::string, std::string > &kernelParameters) const |
|
bool | isInitCodeRequired () const |
| Does this neuron group require any initialisation code to be run? More...
|
|
bool | isSimRNGRequired () const |
| Does this neuron group require an RNG to simulate? More...
|
|
bool | isInitRNGRequired (VarInit varInitMode) const |
| Does this neuron group require an RNG for it's init code? More...
|
|
bool | isDeviceVarInitRequired () const |
| Is device var init code required for any variables in this neuron group? More...
|
|
bool | isDeviceInitRequired () const |
| Is any form of device initialisation required? More...
|
|
bool | canRunOnCPU () const |
| Can this neuron group run on the CPU? More...
|
|
bool | hasOutputToHost (int targetHostID) const |
| Does this neuron group have outgoing connections specified host id? 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...
|
|