From 16f8731371d5ab74a370a89b90f5a924c8d27d0c Mon Sep 17 00:00:00 2001 From: Matthieu Schaller <matthieu.schaller@durham.ac.uk> Date: Sun, 15 May 2016 16:22:53 +0100 Subject: [PATCH] Updated the tests as well. --- tests/test27cells.c | 2 +- tests/testPair.c | 2 +- tests/testSPHStep.c | 2 +- tests/testTimeIntegration.c | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/tests/test27cells.c b/tests/test27cells.c index bcd964620c..504c07b4db 100644 --- a/tests/test27cells.c +++ b/tests/test27cells.c @@ -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; } diff --git a/tests/testPair.c b/tests/testPair.c index 07e576332f..a70cb381fd 100644 --- a/tests/testPair.c +++ b/tests/testPair.c @@ -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; } diff --git a/tests/testSPHStep.c b/tests/testSPHStep.c index 74c151c97d..3af0c6ad1a 100644 --- a/tests/testSPHStep.c +++ b/tests/testSPHStep.c @@ -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); diff --git a/tests/testTimeIntegration.c b/tests/testTimeIntegration.c index f3802888bc..03893daf35 100644 --- a/tests/testTimeIntegration.c +++ b/tests/testTimeIntegration.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 */ -- GitLab