Commit f0558ab8 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

massive dependency removal from .c-files.


Former-commit-id: d901d007257f585dd104dd79de4ac3caa96b5013
parent 7f27b385
......@@ -39,17 +39,14 @@
#undef TIMER
#endif
/* This object's header. */
#include "cell.h"
/* Local headers. */
#include "const.h"
#include "atomic.h"
#include "cycle.h"
#include "lock.h"
#include "task.h"
#include "timers.h"
#include "space.h"
#include "multipole.h"
#include "error.h"
#include "inline.h"
/* Global variables. */
int cell_next_tag = 0;
......
......@@ -30,20 +30,19 @@
#include <stddef.h>
#include <hdf5.h>
#include <math.h>
/* MPI headers. */
#ifdef WITH_MPI
#include <mpi.h>
#endif
/* This object's header. */
#include "common_io.h"
/* Local includes. */
#include "const.h"
#include "cycle.h"
#include "lock.h"
#include "task.h"
#include "space.h"
#include "scheduler.h"
#include "engine.h"
#include "error.h"
#include "kernel.h"
#include "common_io.h"
/**
* @brief Converts a C data type to the HDF5 equivalent.
......
......@@ -20,10 +20,8 @@
#include <stdio.h>
#include "const.h"
#include "lock.h"
#include "multipole.h"
#include "space.h"
/* This object's header. */
#include "debug.h"
/**
* @brief Dump the information pertaining to the given cell.
......
......@@ -41,17 +41,15 @@
#include <metis.h>
#endif
/* Local headers. */
/* This object's header. */
#include "engine.h"
#include "const.h"
/* Local headers. */
#include "cycle.h"
#include "atomic.h"
#include "timers.h"
#include "const.h"
#include "vector.h"
#include "debug.h"
#include "cell.h"
#include "queue.h"
#include "error.h"
#ifdef LEGACY_GADGET2_SPH
......
......@@ -23,6 +23,7 @@
/* Includes. */
#include "vector.h"
#include "const.h"
#include "inline.h"
/**
* @file kernel.h
......
......@@ -33,15 +33,8 @@
#include <mpi.h>
#endif
/* Local headers. */
#include "error.h"
#include "const.h"
#include "cycle.h"
#include "atomic.h"
#include "lock.h"
#include "space.h"
/* This object's header. */
#include "multipole.h"
#include "cell.h"
/**
* @brief Merge two multipoles.
......
......@@ -35,15 +35,11 @@
#include <math.h>
#include <mpi.h>
#include "const.h"
#include "cycle.h"
#include "lock.h"
#include "task.h"
#include "space.h"
#include "scheduler.h"
#include "engine.h"
/* This object's header. */
#include "parallel_io.h"
/* Local includes. */
#include "error.h"
#include "kernel.h"
#include "common_io.h"
/**
......
......@@ -37,19 +37,10 @@
#include <mpi.h>
#endif
/* Local headers. */
#include "const.h"
#include "cycle.h"
#include "atomic.h"
#include "timers.h"
#include "const.h"
#include "vector.h"
#include "lock.h"
#include "space.h"
#include "multipole.h"
#include "task.h"
#include "debug.h"
/* This object's header. */
#include "proxy.h"
/* Local headers. */
#include "error.h"
/**
......
......@@ -30,17 +30,12 @@
#include <mpi.h>
#endif
/* This object's header. */
#include "queue.h"
/* Local headers. */
#include "const.h"
#include "cycle.h"
#include "lock.h"
#include "task.h"
#include "timers.h"
#include "space.h"
#include "multipole.h"
#include "queue.h"
#include "error.h"
#include "inline.h"
/* Counter macros. */
#ifdef COUNTER
......
......@@ -23,7 +23,6 @@
#include "cell.h"
#include "lock.h"
#include "task.h"
#include "queue.h"
/* Some constants. */
#define queue_maxsuper 50
......
......@@ -35,20 +35,16 @@
#include <mpi.h>
#endif
/* This object's header. */
#include "runner.h"
/* Local headers. */
#include "const.h"
#include "cycle.h"
#include "atomic.h"
#include "timers.h"
#include "const.h"
#include "lock.h"
#include "task.h"
#include "space.h"
#include "multipole.h"
#include "queue.h"
#include "scheduler.h"
#include "engine.h"
#include "runner.h"
#include "error.h"
/* Include the right variant of the SPH interactions */
......
......@@ -34,21 +34,16 @@
#include <mpi.h>
#endif
/* This object's header. */
#include "scheduler.h"
/* Local headers. */
#include "error.h"
#include "cycle.h"
#include "atomic.h"
#include "timers.h"
#include "const.h"
#include "vector.h"
#include "lock.h"
#include "task.h"
#include "debug.h"
#include "space.h"
#include "multipole.h"
#include "queue.h"
#include "kernel.h"
#include "scheduler.h"
/**
* @brief Add an unlock_task to the given task.
......
......@@ -31,17 +31,16 @@
#include <hdf5.h>
#include <math.h>
#include "mpi.h"
#include "const.h"
#include "cycle.h"
#include "lock.h"
#include "task.h"
#include "space.h"
#include "scheduler.h"
#include "engine.h"
/* MPI headers. */
#ifdef WITH_MPI
#include <mpi.h>
#endif
/* This object's header. */
#include "serial_io.h"
/* Local includes. */
#include "error.h"
#include "kernel.h"
#include "common_io.h"
/*-----------------------------------------------------------------------------
......
......@@ -31,15 +31,11 @@
#include <hdf5.h>
#include <math.h>
#include "const.h"
#include "cycle.h"
#include "lock.h"
#include "task.h"
#include "space.h"
#include "scheduler.h"
#include "engine.h"
/* This object's header. */
#include "single_io.h"
/* Local includes. */
#include "error.h"
#include "kernel.h"
#include "common_io.h"
/*-----------------------------------------------------------------------------
......
......@@ -35,16 +35,13 @@
#include <mpi.h>
#endif
/* This object's header. */
#include "space.h"
/* Local headers. */
#include "const.h"
#include "cycle.h"
#include "atomic.h"
#include "lock.h"
#include "task.h"
#include "kernel.h"
#include "space.h"
#include "multipole.h"
#include "scheduler.h"
#include "engine.h"
#include "runner.h"
#include "error.h"
......
......@@ -36,14 +36,12 @@
#include <mpi.h>
#endif
/* This object's header. */
#include "task.h"
/* Local headers. */
#include "const.h"
#include "cycle.h"
#include "atomic.h"
#include "lock.h"
#include "space.h"
#include "multipole.h"
#include "task.h"
#include "error.h"
/* Task type names. */
......
......@@ -20,8 +20,7 @@
/* Config parameters. */
#include "../config.h"
/* Local headers. */
#include "cycle.h"
/* This object's header. */
#include "timers.h"
/* The timers. */
......
......@@ -21,17 +21,23 @@
/* Config parameters. */
#include "../config.h"
/* Some standard headers. */
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stddef.h>
#include <math.h>
/* MPI headers. */
#ifdef WITH_MPI
#include <mpi.h>
#endif
/* This object's header. */
#include "units.h"
/* Includes. */
#include "const.h"
#include "cycle.h"
#include "error.h"
#include "units.h"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment