nns.c
1.0.1
Nanowire Network simulator
config.h
Go to the documentation of this file.
1
9
#ifndef CONFIG_H
10
#define CONFIG_H
11
12
/* SIMULATION INFORMATION */
13
14
// minimum and maximum conductance of the network
15
#define Y_MIN 0.001
16
#define Y_MAX 0.1
17
18
// standard update time of the simulator
19
// NOTE: changing it requires changing all the subsequent constants
20
#define TAU 0.05
21
22
#define ETA_P 10
23
#define ETA_D 1
24
#define KP 0.0001
25
#define KD 0.5
26
27
/* INTERFACE INFORMATION */
28
29
#define MEA_ELECTRODES 16
30
#define MAX_DISTANCE 225
// 15 µm ^ 2 (simplifies calculation)
31
32
/* IO INFORMATION */
33
34
#define DIRECTORY_FORMAT "%s/device_%d"
35
#define NETWORK_FILE_NAME_FORMAT "%s/device_%d/nn.nns"
36
#define STATE_FILE_NAME_FORMAT "%s/device_%d/ns_%d.nns"
37
#define INTERFACE_FILE_NAME_FORMAT "%s/device_%d/it_%d.nns"
38
#define MEA_FILE_NAME_FORMAT "%s/device_%d/mea_%d.nns"
39
#define COMPONENT_FILE_NAME_FORMAT "%s/device_%d/cc_%d.nns"
40
41
#endif
/* CONFIG_H */
headers
config.h
Generated by
1.9.1