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

Update the function signatures in the unit tests following the modifications in the main code.

parent 71162e6c
No related branches found
No related tags found
No related merge requests found
......@@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
******************************************************************************/
#include "../config.h"
#include "config.h"
/* Some standard headers. */
#include <fenv.h>
......
......@@ -77,7 +77,7 @@ void runner_do_drift_part(struct runner *r, struct cell *c, int timer);
void runner_do_drift_gpart(struct runner *r, struct cell *c, int timer);
void runner_do_kick1(struct runner *r, struct cell *c, int timer);
void runner_do_kick2(struct runner *r, struct cell *c, int timer);
void runner_do_end_force(struct runner *r, struct cell *c, int timer);
void runner_do_end_hydro_force(struct runner *r, struct cell *c, int timer);
void runner_do_init(struct runner *r, struct cell *c, int timer);
void runner_do_cooling(struct runner *r, struct cell *c, int timer);
void runner_do_grav_external(struct runner *r, struct cell *c, int timer);
......
......@@ -809,7 +809,7 @@ int main(int argc, char *argv[]) {
timings[26] += getticks() - self_tic;
/* Finally, give a gentle kick */
runner_do_end_force(&runner, main_cell, 0);
runner_do_end_hydro_force(&runner, main_cell, 0);
const ticks toc = getticks();
time += toc - tic;
......@@ -960,7 +960,7 @@ int main(int argc, char *argv[]) {
self_all_force(&runner, main_cell);
/* Finally, give a gentle kick */
runner_do_end_force(&runner, main_cell, 0);
runner_do_end_hydro_force(&runner, main_cell, 0);
// runner_do_kick2(&runner, main_cell, 0);
const ticks toc = getticks();
......
......@@ -382,7 +382,6 @@ int main(int argc, char *argv[]) {
struct stars_props stars_p;
stars_p.eta_neighbours = h;
stars_p.h_tolerance = 1e0;
stars_p.h_max = FLT_MAX;
stars_p.max_smoothing_iterations = 1;
struct engine engine;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment