Skip to content
Snippets Groups Projects
Commit 442892a3 authored by James Willis's avatar James Willis
Browse files

Reset particles.

parent 614928e3
No related branches found
No related tags found
1 merge request!406Doself2 vectorisation
......@@ -740,6 +740,11 @@ int main(int argc, char *argv[]) {
outputFileNameExtension);
dump_particle_fields(outputFileName, main_cell, solution, 0);
}
for (int i = 0; i < 125; ++i) {
for (int n = 0; n < cells[i]->count; ++n)
hydro_init_part(&cells[i]->parts[n], &space.hs);
}
}
/* Output timing */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment