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

moved part.h from source files where appropriate.


Former-commit-id: 91658e395c7e520ce8f38f00828d1ab5a23cab73
parent efc90268
......@@ -46,7 +46,6 @@
#include "lock.h"
#include "task.h"
#include "timers.h"
#include "part.h"
#include "space.h"
#include "multipole.h"
#include "cell.h"
......
......@@ -19,6 +19,9 @@
#ifndef SWIFT_CELL_H
#define SWIFT_CELL_H
/* Includes. */
#include "part.h"
/* Some constants. */
#define cell_sid_dt 13
#define cell_max_tag (1 << 16)
......
......@@ -38,7 +38,6 @@
#include "cycle.h"
#include "lock.h"
#include "task.h"
#include "part.h"
#include "space.h"
#include "scheduler.h"
#include "engine.h"
......
......@@ -21,7 +21,6 @@
#include <stdio.h>
#include "const.h"
#include "part.h"
#include "lock.h"
#include "multipole.h"
#include "space.h"
......
......@@ -19,6 +19,9 @@
#ifndef SWIFT_DEBUG_H
#define SWIFT_DEBUG_H
/* Includes. */
#include "part.h"
void print_cell(struct cell *c);
void printParticle(struct part *parts, long long int i, int N);
void printgParticle(struct gpart *parts, long long int i, int N);
......
......@@ -51,7 +51,6 @@
#include "vector.h"
#include "lock.h"
#include "task.h"
#include "part.h"
#include "debug.h"
#include "space.h"
#include "multipole.h"
......
......@@ -40,7 +40,6 @@
#include "atomic.h"
#include "lock.h"
#include "space.h"
#include "part.h"
#include "multipole.h"
#include "cell.h"
......
......@@ -19,6 +19,9 @@
#ifndef SWIFT_MULTIPOLE_H
#define SWIFT_MULTIPOLE_H
/* Includes. */
#include "part.h"
/* Some constants. */
#define multipole_order 1
......
......@@ -39,7 +39,6 @@
#include "cycle.h"
#include "lock.h"
#include "task.h"
#include "part.h"
#include "space.h"
#include "scheduler.h"
#include "engine.h"
......
......@@ -19,6 +19,9 @@
#ifndef SWIFT_PARALLEL_IO_H
#define SWIFT_PARALLEL_IO_H
/* Includes. */
#include "part.h"
#if defined(HAVE_HDF5) && defined(WITH_MPI) && defined(HAVE_PARALLEL_HDF5)
void read_ic_parallel(char* fileName, double dim[3], struct part** parts,
......
......@@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
******************************************************************************/
#ifndef SIWFT_PART_H
#ifndef SWIFT_PART_H
#define SWIFT_PART_H
/* Some constants. */
......
......@@ -46,7 +46,6 @@
#include "vector.h"
#include "lock.h"
#include "space.h"
#include "part.h"
#include "multipole.h"
#include "cell.h"
#include "task.h"
......
......@@ -19,6 +19,9 @@
#ifndef SWIFT_PROXY_H
#define SWIFT_PROXY_H
/* Includes. */
#include "part.h"
/* Some constants. */
#define proxy_buffgrow 1.5
#define proxy_buffinit 100
......
......@@ -37,7 +37,6 @@
#include "task.h"
#include "timers.h"
#include "space.h"
#include "part.h"
#include "multipole.h"
#include "cell.h"
#include "queue.h"
......
......@@ -43,7 +43,6 @@
#include "const.h"
#include "lock.h"
#include "task.h"
#include "part.h"
#include "space.h"
#include "multipole.h"
#include "cell.h"
......
......@@ -17,6 +17,9 @@
*
******************************************************************************/
/* Includes. */
#include "part.h"
/* Before including this file, define FUNCTION, which is the
name of the interaction function. This creates the interaction functions
runner_dopair_FUNCTION, runner_dopair_FUNCTION_naive, runner_doself_FUNCTION,
......
......@@ -20,6 +20,8 @@
#ifndef SWIFT_RUNNER_IACT_H
#define SWIFT_RUNNER_IACT_H
/* Includes. */
#include "part.h"
#include "kernel.h"
#include "vector.h"
......
......@@ -20,6 +20,8 @@
#ifndef SWIFT_RUNNER_IACT_LEGACY_H
#define SWIFT_RUNNER_IACT_LECAGY_H
/* Includes. */
#include "part.h"
#include "kernel.h"
#include "vector.h"
......
......@@ -43,7 +43,6 @@
#include "vector.h"
#include "lock.h"
#include "task.h"
#include "part.h"
#include "debug.h"
#include "space.h"
#include "multipole.h"
......
......@@ -37,7 +37,6 @@
#include "cycle.h"
#include "lock.h"
#include "task.h"
#include "part.h"
#include "space.h"
#include "scheduler.h"
#include "engine.h"
......
Supports Markdown
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