Skip to content
Snippets Groups Projects
Commit d6d517d2 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

Revert "use floats instead of double for cell splitting, makes space_rebuild ~10% faster."

This reverts commit 35896dad.
parent 35896dad
No related branches found
No related tags found
1 merge request!493Updated cell splitting strategy
...@@ -56,9 +56,9 @@ extern int cell_next_tag; ...@@ -56,9 +56,9 @@ extern int cell_next_tag;
/* Struct to temporarily buffer the particle locations and bin id. */ /* Struct to temporarily buffer the particle locations and bin id. */
struct cell_buff { struct cell_buff {
float x[3]; double x[3];
int ind; int ind;
} __attribute__((aligned(16))); } SWIFT_STRUCT_ALIGN;
/* Mini struct to link cells to tasks. Used as a linked list. */ /* Mini struct to link cells to tasks. Used as a linked list. */
struct link { struct link {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment