Skip to content
Snippets Groups Projects
Commit 8115c3c8 authored by Andreas Gattringer's avatar Andreas Gattringer
Browse files

butterflies: whitespace changes

parent 7cbddbcf
No related branches found
No related tags found
No related merge requests found
......@@ -133,6 +133,7 @@ void grid_butterflies_maturation(struct cats_grid *grid, struct cats_thread_info
continue;
}
bf_cell_maturation(grid, ts, row, col, false);
}
}
......@@ -180,7 +181,6 @@ void butterflies_area_dispersal(struct cats_grid *grid, struct cats_thread_info
for (cats_dt_coord row = start_row; row < end_row; row++) {
for (cats_dt_coord col = start_col; col < end_col; col++) {
if (cell_excluded_by_overlay(conf, row, col)
|| bf_cell_excluded_by_generation(grid, row, col)) {
continue;
......@@ -189,6 +189,7 @@ void butterflies_area_dispersal(struct cats_grid *grid, struct cats_thread_info
butterflies_cell_dispersal(grid, ts, row, col, false, false);
}
}
/*
if (ts->rw_debug_cells_with_adults) {
log_message(LOG_INFO, "thread %d: %ld cells with adults, %ld random walks, %ld deposits",
......
......@@ -59,6 +59,7 @@ void bf_area_generation_update(struct cats_grid *grid, struct cats_thread_info *
}
cats_dt_rates gen = calculate_rate(rate, 0, conf->param, grid, row, col, NULL);
data->generations[row][col] = (float) gen;
if (data->eggs[row][col] > 0) cells_with_eggs += 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment