Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Vladislav Perepelkin
hppca
Commits
4ddb442a
Commit
4ddb442a
authored
Jun 01, 2016
by
Vladislav Perepelkin
Browse files
removed config files from index
parent
fcf4d55c
Changes
2
Hide whitespace changes
Inline
Side-by-side
config.c
deleted
100644 → 0
View file @
fcf4d55c
// USER CONFIGURATION FILE
#define THREADS 4
// Main properties
#define WIDTH 1000
#define HEIGHT 1000
#define ITERS 1000
#define SAVE_PERIOD 25
#define AVERAGING_RADIUS 5
// Field initialization
void
init
()
{
fill
(
0
,
0
,
HEIGHT
,
WIDTH
,
// area
0
.
7
,
0
.
7
,
0
.
7
,
0
.
7
,
// move
0
.
25
,
0
.
0
,
0
.
0
,
0
.
0
);
// rest
}
// Sources rules
void
sources
(
int
iter
)
{
if
(
iter
==
0
)
{
fill
(
0
,
WIDTH
/
2
-
5
,
HEIGHT
,
WIDTH
/
2
+
5
,
// area
1
.
0
,
1
.
0
,
1
.
0
,
1
.
0
,
// move
0
.
75
,
0
.
0
,
0
.
0
,
0
.
0
);
// rest
}
}
rules.txt
deleted
100644 → 0
View file @
fcf4d55c
5 10 16
5 0.33333 0.33333 0.33334
10 0.33333 0.33333 0.33334
16 0.33333 0.33333 0.33334
15 21 26
15 0.33333 0.33333 0.33334
21 0.33333 0.33333 0.33334
26 0.33333 0.33333 0.33334
7 18
7 0.1 0.9
18 0.9 0.1
11 17
11 0.9 0.1
17 0.1 0.9
13 24
13 0.1 0.9
24 0.9 0.1
14 20
14 0.9 0.1
20 0.1 0.9
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment