Commit 6e7c727a authored by Vladislav Perepelkin's avatar Vladislav Perepelkin
Browse files

removed unnecessary file

parent 6ef8bc0d
// USER CONFIGURATION FILE
#define THREADS 8
// Main properties
#define WIDTH 500
#define HEIGHT 500
#define ITERS 501
#define SAVE_PERIOD 50
#define AVERAGING_RADIUS 1
#define ENSEMBLE_SIZE 2
// Fill part of field
void fill(int row, int col, int height, int width,
double prob_m1, double prob_m2, double prob_m4, double prob_m8,
double prob_rp16, double prob_rp32, double prob_rp64, double prob_rp128);
// Field initialization
void init()
{
fill(0, 0, HEIGHT, WIDTH, // area: row, col, height, width
0.7, 0.7, 0.7, 0.7, // move probabilities: 1, 2, 4, 8
0.25, 0.0, 0.0, 0.0); // rest probabilities: 16, 32, 64, 128
}
// Sources rules
void sources(int iter)
{
if (iter==0) {
fill(0, WIDTH/2-10, HEIGHT, WIDTH/2+10,
1.0, 1.0, 1.0, 1.0,
0.75, 0.0, 0.0, 0.0);
}
}
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