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
9e226d14
Commit
9e226d14
authored
Jul 29, 2016
by
Vladislav Perepelkin
Browse files
updated config.c.example
parent
8ba76279
Changes
1
Hide whitespace changes
Inline
Side-by-side
scripts/config.c.example
View file @
9e226d14
// USER CONFIGURATION FILE
#define THREADS
4
#define THREADS
8
// Main properties
#define WIDTH 1000
#define HEIGHT 1000
#define ITERS 1000
#define SAVE_PERIOD 25
#define AVERAGING_RADIUS 5
#define WIDTH 500
#define HEIGHT 500
#define ITERS 501
#define SAVE_PERIOD 50
#define AVERAGING_RADIUS 1
#define ENSEMBLE_SIZE 2
// Field initialization
void init()
...
...
@@ -21,7 +22,7 @@ void init()
void sources(int iter)
{
if (iter==0) {
fill(0, WIDTH/2-
5
, HEIGHT, WIDTH/2+
5
, // area
fill(0, WIDTH/2-
10
, HEIGHT, WIDTH/2+
10
, // area
1.0, 1.0, 1.0, 1.0, // move
0.75, 0.0, 0.0, 0.0); // rest
}
...
...
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