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

remove intermediates.

Former-commit-id: a014ce88344ffea76f0d74029f3973d320bbb307
parent 11b644b4
No related branches found
No related tags found
No related merge requests found
......@@ -124,6 +124,6 @@ struct part {
/* Pointer to extra particle data. */
struct xpart *xtras;
} __attribute__((aligned (32)));
} __attribute__((aligned (64)));
......@@ -628,7 +628,6 @@ void space_split ( struct space *s , struct cell *c ) {
int k, count = c->count, maxdepth = 0;
float h, h_max = 0.0f, dt, dt_min = c->parts[0].dt, dt_max = dt_min;
double x[3];
struct cell *temp;
struct part *p, *parts = c->parts;
struct xpart *xp;
......@@ -705,9 +704,9 @@ void space_split ( struct space *s , struct cell *c ) {
for ( k = 0 ; k < count ; k++ ) {
p = &parts[k];
xp = p->xtras;
xp->x_old[0] = x[0] = p->x[0];
xp->x_old[1] = x[1] = p->x[1];
xp->x_old[2] = x[2] = p->x[2];
xp->x_old[0] = p->x[0];
xp->x_old[1] = p->x[1];
xp->x_old[2] = p->x[2];
dt = p->dt;
h = p->h;
if ( h > h_max )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment