CSIM: globaldefinitions.h File Reference
globaldefinitions.h File Reference
Detailed Description
Definition of some global variables and unique ID's for all classes.
#include <stdio.h>
Go to the source code of this file. Defines
-
#define SimulationTime (simTime())
- An alias for the current simulation time.
-
#define DT (simDT())
- An alias for the integration time step.
-
#define PSR_MULTIPLE_TAU 5
- Constant for spike driven simulation: after PSR_MULTIPLE_TAU*tau the psr is cut off.
-
#define nMaxExtIO 1000
- maximum external inputs and outputs
Typedefs
-
typedef unsigned long uint32
- 32 bit unsigned integers [on Pentium Linux PC]
-
typedef unsigned short uint16
- 16 bit unsigned integers [on Pentium Linux PC]
Functions
-
double simTime (void)
- This function just returns TheNetwork->t; i.e. the Simulation time.
-
double simDT (void)
- This function just returns TheNetwork->dt; i.e. the Simulation step size.
Variables
-
int MAXINTEGER
- This should assume a very large positive integer number.
-
int nSharedMemUse
- sort of a semaphore showing the use of shared mem
-
double * sharedData
- pointer to shared mem
-
int memID
- file ID of shared mem file
-
const char * rtMemFile
- name of the shared mem file
|