Commit 6e49d4be authored by James Willis's avatar James Willis
Browse files

Check particles for accuracy.

parent 6cda3b62
...@@ -522,8 +522,8 @@ int main(int argc, char *argv[]) { ...@@ -522,8 +522,8 @@ int main(int argc, char *argv[]) {
dump_particle_fields(outputFileName, main_cell, cells); dump_particle_fields(outputFileName, main_cell, cells);
/* Check serial results against the vectorised results. */ /* Check serial results against the vectorised results. */
//if (check_results(main_cell->parts, vec_parts, main_cell->count, threshold)) if (check_results(main_cell->parts, vec_parts, main_cell->count, threshold))
// message("Differences found..."); message("Differences found...");
/* Output timing */ /* Output timing */
message("Brute force calculation took : %15lli ticks.", toc - tic); message("Brute force calculation took : %15lli ticks.", toc - tic);
......
Supports Markdown
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