CARLsim  3.1.3
CARLsim: a GPU-accelerated SNN simulator
carlsim_definitions.h File Reference
#include <stdio.h>
#include <math.h>

Go to the source code of this file.

Macros

#define ALL   -1
 CARLsim common definitions. More...
 
#define DOPAMINERGIC_NEURON   (TARGET_DA | EXCITATORY_NEURON)
 
#define EXCITATORY_NEURON   (TARGET_NMDA | TARGET_AMPA)
 
#define EXCITATORY_POISSON   (EXCITATORY_NEURON | POISSON_NEURON)
 
#define INHIBITORY_NEURON   (TARGET_GABAa | TARGET_GABAb)
 
#define INHIBITORY_POISSON   (INHIBITORY_NEURON | POISSON_NEURON)
 
#define IS_EXCITATORY_TYPE(type)   (!IS_INHIBITORY_TYPE(type))
 
#define IS_INHIBITORY_TYPE(type)   (((type) & TARGET_GABAa) || ((type) & TARGET_GABAb))
 
#define MAX_NUM_COMP_CONN   4
 
#define MAX_NUM_CUDA_DEVICES   8
 
#define POISSON_NEURON   (1 << 0)
 
#define SYN_FIXED   false
 
#define SYN_PLASTIC   true
 
#define TARGET_5HT   (1 << 6)
 
#define TARGET_ACh   (1 << 7)
 
#define TARGET_AMPA   (1 << 1)
 
#define TARGET_DA   (1 << 5)
 
#define TARGET_GABAa   (1 << 3)
 
#define TARGET_GABAb   (1 << 4)
 
#define TARGET_NE   (1 << 8)
 
#define TARGET_NMDA   (1 << 2)
 
#define UNKNOWN_NEURON   (0)
 

Macro Definition Documentation

#define ALL   -1

used for the set* methods to specify all groups and/or configIds

Definition at line 50 of file carlsim_definitions.h.

#define DOPAMINERGIC_NEURON   (TARGET_DA | EXCITATORY_NEURON)

Definition at line 70 of file carlsim_definitions.h.

#define EXCITATORY_NEURON   (TARGET_NMDA | TARGET_AMPA)

Definition at line 69 of file carlsim_definitions.h.

#define EXCITATORY_POISSON   (EXCITATORY_NEURON | POISSON_NEURON)

Definition at line 71 of file carlsim_definitions.h.

#define INHIBITORY_NEURON   (TARGET_GABAa | TARGET_GABAb)

Definition at line 68 of file carlsim_definitions.h.

#define INHIBITORY_POISSON   (INHIBITORY_NEURON | POISSON_NEURON)

Definition at line 72 of file carlsim_definitions.h.

#define IS_EXCITATORY_TYPE (   type)    (!IS_INHIBITORY_TYPE(type))

Definition at line 74 of file carlsim_definitions.h.

#define IS_INHIBITORY_TYPE (   type)    (((type) & TARGET_GABAa) || ((type) & TARGET_GABAb))

Definition at line 73 of file carlsim_definitions.h.

#define MAX_NUM_COMP_CONN   4

Definition at line 79 of file carlsim_definitions.h.

#define MAX_NUM_CUDA_DEVICES   8

Definition at line 76 of file carlsim_definitions.h.

#define POISSON_NEURON   (1 << 0)

Definition at line 58 of file carlsim_definitions.h.

#define SYN_FIXED   false

Definition at line 52 of file carlsim_definitions.h.

#define SYN_PLASTIC   true

Definition at line 53 of file carlsim_definitions.h.

#define TARGET_5HT   (1 << 6)

Definition at line 64 of file carlsim_definitions.h.

#define TARGET_ACh   (1 << 7)

Definition at line 65 of file carlsim_definitions.h.

#define TARGET_AMPA   (1 << 1)

Definition at line 59 of file carlsim_definitions.h.

#define TARGET_DA   (1 << 5)

Definition at line 63 of file carlsim_definitions.h.

#define TARGET_GABAa   (1 << 3)

Definition at line 61 of file carlsim_definitions.h.

#define TARGET_GABAb   (1 << 4)

Definition at line 62 of file carlsim_definitions.h.

#define TARGET_NE   (1 << 8)

Definition at line 66 of file carlsim_definitions.h.

#define TARGET_NMDA   (1 << 2)

Definition at line 60 of file carlsim_definitions.h.

#define UNKNOWN_NEURON   (0)

Definition at line 57 of file carlsim_definitions.h.