GeNN  2.2.3
GPU enhanced Neuronal Networks (GeNN)
OneComp_model.h
Go to the documentation of this file.
1 /*--------------------------------------------------------------------------
2  Author: Thomas Nowotny
3 
4  Institute: Institute for Nonlinear Dynamics
5  University of California San Diego
6  La Jolla, CA 92093-0402
7 
8  email to: tnowotny@ucsd.edu
9 
10  initial version: 2002-09-26
11 
12 --------------------------------------------------------------------------*/
13 
14 
15 #ifndef ONECOMP_H
16 #define ONECOMP_H
17 
18 #include "OneComp.cc"
19 
20 class neuronpop
21 {
22  public:
24  unsigned int sumIzh1;
25  neuronpop();
26  ~neuronpop();
27  void init(unsigned int);
28  void run(float, unsigned int);
29 #ifndef CPU_ONLY
30  void getSpikesFromGPU();
32 #endif
33  void output_state(FILE *, unsigned int);
34  void output_spikes(FILE *, unsigned int);
35  void sum_spikes();
36 };
37 
38 #endif
~neuronpop()
Definition: OneComp_model.cc:39
Definition: modelSpec.h:85
void run(float, unsigned int)
Definition: OneComp_model.cc:44
neuronpop()
Definition: OneComp_model.cc:19
void getSpikeNumbersFromGPU()
Method for copying the number of spikes in all neuron populations that have occurred during the last ...
Definition: OneComp_model.cc:103
NNmodel model
Definition: OneComp_model.h:23
void sum_spikes()
Definition: OneComp_model.cc:59
Definition: OneComp_model.h:20
void output_state(FILE *, unsigned int)
Definition: OneComp_model.cc:67
unsigned int sumIzh1
Definition: OneComp_model.h:24
void getSpikesFromGPU()
Method for copying all spikes of the last time step from the GPU.
Definition: OneComp_model.cc:91
void init(unsigned int)
Definition: OneComp_model.cc:27
void output_spikes(FILE *, unsigned int)
Definition: OneComp_model.cc:109