Commit 9e226d14 authored by Vladislav Perepelkin's avatar Vladislav Perepelkin
Browse files

updated config.c.example

parent 8ba76279
// 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
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment