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
fd29103c
Commit
fd29103c
authored
Jun 01, 2016
by
Vladislav Perepelkin
Browse files
updated gitignore
parent
82aaa6b4
Changes
3
Hide whitespace changes
Inline
Side-by-side
.gitignore
View file @
fd29103c
collide.c
hpprp
move/*.png
move/*.txt
...
...
config.c
View file @
fd29103c
...
...
@@ -3,10 +3,10 @@
#define THREADS 4
// Main properties
#define WIDTH
4
000
#define HEIGHT
4
000
#define WIDTH
1
000
#define HEIGHT
1
000
#define ITERS 1000
#define SAVE_PERIOD
100
#define SAVE_PERIOD
25
#define AVERAGING_RADIUS 5
// Field initialization
...
...
@@ -21,7 +21,7 @@ void init()
void
sources
(
int
iter
)
{
if
(
iter
==
0
)
{
fill
(
0
,
WIDTH
*
4
/
10
,
HEIGHT
,
WIDTH
*
6
/
10
,
// area
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
View file @
fd29103c
5 10 16
5
1 0 0
10 0
1 0
16 0
0 1
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
1 0 0
21 0
1 0
26 0
0 1
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
18
1 0
7 0
.1 0.9
18
0.9 0.1
11 17
11 0
1
17 1 0
11 0
.9 0.
1
17
0.
1 0
.9
13 24
13 0
1
24
1 0
13 0
.1 0.9
24
0.9 0.1
14 20
14 0
1
20 1 0
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