Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
f0558ab8
Commit
f0558ab8
authored
Aug 31, 2015
by
Pedro Gonnet
Browse files
massive dependency removal from .c-files.
Former-commit-id: d901d007257f585dd104dd79de4ac3caa96b5013
parent
7f27b385
Changes
18
Hide whitespace changes
Inline
Side-by-side
src/cell.c
View file @
f0558ab8
...
...
@@ -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
;
...
...
src/common_io.c
View file @
f0558ab8
...
...
@@ -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.
...
...
src/debug.c
View file @
f0558ab8
...
...
@@ -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.
...
...
src/engine.c
View file @
f0558ab8
...
...
@@ -41,17 +41,15 @@
#include
<metis.h>
#endif
/*
Local
header
s
. */
/*
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
...
...
src/kernel.h
View file @
f0558ab8
...
...
@@ -23,6 +23,7 @@
/* Includes. */
#include
"vector.h"
#include
"const.h"
#include
"inline.h"
/**
* @file kernel.h
...
...
src/multipole.c
View file @
f0558ab8
...
...
@@ -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.
...
...
src/parallel_io.c
View file @
f0558ab8
...
...
@@ -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"
/**
...
...
src/proxy.c
View file @
f0558ab8
...
...
@@ -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"
/**
...
...
src/queue.c
View file @
f0558ab8
...
...
@@ -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
...
...
src/queue.h
View file @
f0558ab8
...
...
@@ -23,7 +23,6 @@
#include
"cell.h"
#include
"lock.h"
#include
"task.h"
#include
"queue.h"
/* Some constants. */
#define queue_maxsuper 50
...
...
src/runner.c
View file @
f0558ab8
...
...
@@ -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 */
...
...
src/scheduler.c
View file @
f0558ab8
...
...
@@ -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.
...
...
src/serial_io.c
View file @
f0558ab8
...
...
@@ -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
"s
pace
.h"
#include
"scheduler.h"
#include
"engine.h"
/* MPI headers. */
#ifdef WITH_MPI
#include
<mpi
.h
>
#
endif
/* This object's header. */
#include
"s
erial_io
.h"
/* Local includes. */
#include
"error.h"
#include
"kernel.h"
#include
"common_io.h"
/*-----------------------------------------------------------------------------
...
...
src/single_io.c
View file @
f0558ab8
...
...
@@ -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"
/*-----------------------------------------------------------------------------
...
...
src/space.c
View file @
f0558ab8
...
...
@@ -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"
...
...
src/task.c
View file @
f0558ab8
...
...
@@ -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. */
...
...
src/timers.c
View file @
f0558ab8
...
...
@@ -20,8 +20,7 @@
/* Config parameters. */
#include
"../config.h"
/* Local headers. */
#include
"cycle.h"
/* This object's header. */
#include
"timers.h"
/* The timers. */
...
...
src/units.c
View file @
f0558ab8
...
...
@@ -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"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment