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
...@@ -19,6 +19,9 @@ ...@@ -19,6 +19,9 @@
#ifndef SWIFT_SERIAL_IO_H #ifndef SWIFT_SERIAL_IO_H
#define SWIFT_SERIAL_IO_H #define SWIFT_SERIAL_IO_H
/* Includes. */
#include "part.h"
#if defined(HAVE_HDF5) && defined(WITH_MPI) && !defined(HAVE_PARALLEL_HDF5) #if defined(HAVE_HDF5) && defined(WITH_MPI) && !defined(HAVE_PARALLEL_HDF5)
void read_ic_serial(char* fileName, double dim[3], struct part** parts, int* N, void read_ic_serial(char* fileName, double dim[3], struct part** parts, int* N,
......
...@@ -35,7 +35,6 @@ ...@@ -35,7 +35,6 @@
#include "cycle.h" #include "cycle.h"
#include "lock.h" #include "lock.h"
#include "task.h" #include "task.h"
#include "part.h"
#include "space.h" #include "space.h"
#include "scheduler.h" #include "scheduler.h"
#include "engine.h" #include "engine.h"
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
#include "lock.h" #include "lock.h"
#include "task.h" #include "task.h"
#include "kernel.h" #include "kernel.h"
#include "part.h"
#include "space.h" #include "space.h"
#include "multipole.h" #include "multipole.h"
#include "cell.h" #include "cell.h"
......
...@@ -19,6 +19,9 @@ ...@@ -19,6 +19,9 @@
#ifndef SWIFT_SPACE_H #ifndef SWIFT_SPACE_H
#define SWIFT_SPACE_H #define SWIFT_SPACE_H
/* Includes. */
#include "part.h"
/* Some constants. */ /* Some constants. */
#define space_maxdepth 10 #define space_maxdepth 10
#define space_cellallocchunk 1000 #define space_cellallocchunk 1000
......
...@@ -42,7 +42,6 @@ ...@@ -42,7 +42,6 @@
#include "atomic.h" #include "atomic.h"
#include "lock.h" #include "lock.h"
#include "space.h" #include "space.h"
#include "part.h"
#include "multipole.h" #include "multipole.h"
#include "cell.h" #include "cell.h"
#include "task.h" #include "task.h"
......
...@@ -32,7 +32,6 @@ ...@@ -32,7 +32,6 @@
#include "const.h" #include "const.h"
#include "cycle.h" #include "cycle.h"
#include "part.h"
#include "error.h" #include "error.h"
#include "units.h" #include "units.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