Commit 74a0bc98 authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

moved cell.h from source files where appropriate.


Former-commit-id: c30cf7048b327adde3c1a03fd3743eb4a05ab239
parent aaada2a2
......@@ -48,7 +48,6 @@
#include "timers.h"
#include "space.h"
#include "multipole.h"
#include "cell.h"
#include "error.h"
#include "inline.h"
......
......@@ -21,6 +21,10 @@
/* Includes. */
#include "part.h"
#include "multipole.h"
/* Forward declaration of space, needed for cell_unpack. */
struct space;
/* Some constants. */
#define cell_sid_dt 13
......
......@@ -24,7 +24,6 @@
#include "lock.h"
#include "multipole.h"
#include "space.h"
#include "cell.h"
/**
* @brief Dump the information pertaining to the given cell.
......
......@@ -21,6 +21,7 @@
/* Includes. */
#include "part.h"
#include "cell.h"
void print_cell(struct cell *c);
void printParticle(struct part *parts, long long int i, int N);
......
......@@ -47,7 +47,6 @@
#include "lock.h"
#include "space.h"
#include "multipole.h"
#include "cell.h"
#include "task.h"
#include "debug.h"
#include "proxy.h"
......
......@@ -21,6 +21,7 @@
/* Includes. */
#include "part.h"
#include "cell.h"
/* Some constants. */
#define proxy_buffgrow 1.5
......
......@@ -38,7 +38,6 @@
#include "timers.h"
#include "space.h"
#include "multipole.h"
#include "cell.h"
#include "queue.h"
#include "error.h"
#include "inline.h"
......
......@@ -19,6 +19,9 @@
#ifndef SWIFT_QUEUE_H
#define SWIFT_QUEUE_H
/* Includes. */
#include "cell.h"
/* Some constants. */
#define queue_maxsuper 50
#define queue_sizeinit 100
......
......@@ -45,7 +45,6 @@
#include "task.h"
#include "space.h"
#include "multipole.h"
#include "cell.h"
#include "queue.h"
#include "scheduler.h"
#include "engine.h"
......
......@@ -19,6 +19,8 @@
#ifndef SWIFT_RUNNER_H
#define SWIFT_RUNNER_H
/* Includes. */
#include "cell.h"
#include "inline.h"
/* Some constants/flags. */
......
......@@ -19,6 +19,7 @@
/* Includes. */
#include "part.h"
#include "cell.h"
/* Before including this file, define FUNCTION, which is the
name of the interaction function. This creates the interaction functions
......
......@@ -19,6 +19,10 @@
#ifndef SWIFT_RUNNER_DOIACT_GRAV_H
#define SWIFT_RUNNER_DOIACT_GRAV_H
/* Includes. */
#include "cell.h"
#include "part.h"
/**
* @brief Compute the sorted gravity interactions between a cell pair.
*
......
......@@ -46,7 +46,6 @@
#include "debug.h"
#include "space.h"
#include "multipole.h"
#include "cell.h"
#include "queue.h"
#include "kernel.h"
#include "scheduler.h"
......
......@@ -19,6 +19,9 @@
#ifndef SWIFT_SCHEDULER_H
#define SWIFT_SCHEDULER_H
/* Includes. */
#include "cell.h"
/* Some constants. */
#define scheduler_maxwait 3
#define scheduler_maxunlock 40
......
......@@ -44,7 +44,6 @@
#include "kernel.h"
#include "space.h"
#include "multipole.h"
#include "cell.h"
#include "scheduler.h"
#include "engine.h"
#include "runner.h"
......
......@@ -21,6 +21,7 @@
/* Includes. */
#include "part.h"
#include "cell.h"
/* Some constants. */
#define space_maxdepth 10
......
......@@ -43,7 +43,6 @@
#include "lock.h"
#include "space.h"
#include "multipole.h"
#include "cell.h"
#include "task.h"
#include "error.h"
......
......@@ -19,6 +19,9 @@
#ifndef SWIFT_TASK_H
#define SWIFT_TASK_H
/* Includes. */
#include "cell.h"
/* Some constants. */
#define task_maxwait 3
#define task_maxunlock 15
......
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