-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdefault.cfg
61 lines (49 loc) · 1.49 KB
/
default.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
# Brian Chrzanowski
# Fri Nov 15, 2019 12:57
#
# Config File from Matlab
#
# WARN (brian)
# this only checks to see if there's a "#" as the first character on the line,
# not anywhere on the line.
# first, we have to define the dimensionality of the system
# the defaults for these are in config.h, but generally it's 1-10, or 1-100.
# these must be non-negative numbers
t_start: 0
t_stop : 10
t_step : 1
x_start: 0
x_stop : 100
x_step : 1
y_start: 0
y_stop : 100
y_step : 1
z_start: 0
z_stop : 100
z_step : 1
# then, to make sense of the units, we include some scaling parameters.
# timescale scales the time dimension, and the spacescale scales the spacial
# parameters
scale_time : 1e-9
scale_space: 1e-4
acc_time : 3
acc_space: 6
# next, we can define specific alpha and beta values
beta : 1.48392756860545
alpha: 8.234301513035760
# we can also define a library for the program to load up
# library: ./moltcuda.dll
# library: ./moltthreaded.so
# Then finally, we can define an extra command to fill out our initial
# conditions. Provide a valid command on these lines, and the program will give
# that command on standard input 2 things,
#
# 1. First Line is the X, Y, and Z dimensions, either the defaults, or what's
# provided above.
#
# 2. The subsequent lines are the individual X, Y, and Z values of the volume,
# as scaled by the 'timescale' and 'spacescale' parameters above.
# initial velocity command
initvel: experiments/test --vel
# initial amplitude command
initamp: experiments/test --amp