Header file that contains the class (struct) definition of neuronModel for defining a neuron model and the class definition of NNmodel for defining a neuronal network model. Part of the code generation and generated code sections.
More...
#include "neuronModels.h"
#include "synapseModels.h"
#include "postSynapseModels.h"
#include <set>
#include <string>
#include <vector>
Go to the source code of this file.
|
#define | _MODELSPEC_H_ |
| macro for avoiding multiple inclusion during compilation More...
|
|
#define | NO_DELAY 0 |
| Macro used to indicate no synapse delay for the group (only one queue slot will be generated) More...
|
|
#define | NOLEARNING 0 |
| Macro attaching the label "NOLEARNING" to flag 0. More...
|
|
#define | LEARNING 1 |
| Macro attaching the label "LEARNING" to flag 1. More...
|
|
#define | EXITSYN 0 |
| Macro attaching the label "EXITSYN" to flag 0 (excitatory synapse) More...
|
|
#define | INHIBSYN 1 |
| Macro attaching the label "INHIBSYN" to flag 1 (inhibitory synapse) More...
|
|
#define | CPU 0 |
| Macro attaching the label "CPU" to flag 0. More...
|
|
#define | GPU 1 |
| Macro attaching the label "GPU" to flag 1. More...
|
|
#define | AUTODEVICE -1 |
| Macro attaching the label AUTODEVICE to flag -1. Used by setGPUDevice. More...
|
|
|
void | initGeNN () |
| Method for GeNN initialisation (by preparing standard models) More...
|
|
Header file that contains the class (struct) definition of neuronModel for defining a neuron model and the class definition of NNmodel for defining a neuronal network model. Part of the code generation and generated code sections.
macro for avoiding multiple inclusion during compilation
Macro attaching the label AUTODEVICE to flag -1. Used by setGPUDevice.
Macro attaching the label "CPU" to flag 0.
Macro attaching the label "EXITSYN" to flag 0 (excitatory synapse)
Macro attaching the label "GPU" to flag 1.
Macro attaching the label "INHIBSYN" to flag 1 (inhibitory synapse)
Macro attaching the label "LEARNING" to flag 1.
Macro used to indicate no synapse delay for the group (only one queue slot will be generated)
Macro attaching the label "NOLEARNING" to flag 0.
Enumerator |
---|
GENN_LONG_DOUBLE |
|
Enumerator |
---|
ALLTOALL |
|
DENSE |
|
SPARSE |
|
Enumerator |
---|
INDIVIDUALG |
|
GLOBALG |
|
INDIVIDUALID |
|
Method for GeNN initialisation (by preparing standard models)