Skip to content
Snippets Groups Projects
Commit 16f87313 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Updated the tests as well.

parent cdeeb55a
No related branches found
No related tags found
1 merge request!165Better names for functions
......@@ -126,7 +126,7 @@ struct cell *make_cell(size_t n, double *offset, double size, double h,
cell->sorted = 0;
cell->sort = NULL;
cell->sortsize = 0;
runner_dosort(NULL, cell, 0x1FFF, 0);
runner_do_sort(NULL, cell, 0x1FFF, 0);
return cell;
}
......
......@@ -91,7 +91,7 @@ struct cell *make_cell(size_t n, double *offset, double size, double h,
cell->sorted = 0;
cell->sort = NULL;
cell->sortsize = 0;
runner_dosort(NULL, cell, 0x1FFF, 0);
runner_do_sort(NULL, cell, 0x1FFF, 0);
return cell;
}
......
......@@ -141,7 +141,7 @@ int main() {
/* Compute density */
runner_doself1_density(&r, ci);
runner_do_cellhierarchy(&r, ci);
runner_do_ghost(&r, ci);
message("h=%f rho=%f N_ngb=%f", p->h, p->rho, p->density.wcount);
message("c=%f", p->force.c);
......
......@@ -115,10 +115,10 @@ int main() {
c.parts[0].a_hydro[1] = -(G * M_sun * c.parts[0].x[1] / r * r * r);
/* Kick... */
runner_dokick(&run, &c, 0);
runner_do_kick(&run, &c, 0);
/* Drift... */
runner_dodrift(&run, &c, 0);
runner_do_drift(&run, &c, 0);
}
/* Clean-up */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment