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
74a0bc98
Commit
74a0bc98
authored
Aug 30, 2015
by
Pedro Gonnet
Browse files
moved cell.h from source files where appropriate.
Former-commit-id: c30cf7048b327adde3c1a03fd3743eb4a05ab239
parent
aaada2a2
Changes
18
Hide whitespace changes
Inline
Side-by-side
src/cell.c
View file @
74a0bc98
...
...
@@ -48,7 +48,6 @@
#include
"timers.h"
#include
"space.h"
#include
"multipole.h"
#include
"cell.h"
#include
"error.h"
#include
"inline.h"
...
...
src/cell.h
View file @
74a0bc98
...
...
@@ -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
...
...
src/debug.c
View file @
74a0bc98
...
...
@@ -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.
...
...
src/debug.h
View file @
74a0bc98
...
...
@@ -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
);
...
...
src/proxy.c
View file @
74a0bc98
...
...
@@ -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"
...
...
src/proxy.h
View file @
74a0bc98
...
...
@@ -21,6 +21,7 @@
/* Includes. */
#include
"part.h"
#include
"cell.h"
/* Some constants. */
#define proxy_buffgrow 1.5
...
...
src/queue.c
View file @
74a0bc98
...
...
@@ -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"
...
...
src/queue.h
View file @
74a0bc98
...
...
@@ -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
...
...
src/runner.c
View file @
74a0bc98
...
...
@@ -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"
...
...
src/runner.h
View file @
74a0bc98
...
...
@@ -19,6 +19,8 @@
#ifndef SWIFT_RUNNER_H
#define SWIFT_RUNNER_H
/* Includes. */
#include
"cell.h"
#include
"inline.h"
/* Some constants/flags. */
...
...
src/runner_doiact.h
View file @
74a0bc98
...
...
@@ -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
...
...
src/runner_doiact_grav.h
View file @
74a0bc98
...
...
@@ -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.
*
...
...
src/scheduler.c
View file @
74a0bc98
...
...
@@ -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"
...
...
src/scheduler.h
View file @
74a0bc98
...
...
@@ -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
...
...
src/space.c
View file @
74a0bc98
...
...
@@ -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"
...
...
src/space.h
View file @
74a0bc98
...
...
@@ -21,6 +21,7 @@
/* Includes. */
#include
"part.h"
#include
"cell.h"
/* Some constants. */
#define space_maxdepth 10
...
...
src/task.c
View file @
74a0bc98
...
...
@@ -43,7 +43,6 @@
#include
"lock.h"
#include
"space.h"
#include
"multipole.h"
#include
"cell.h"
#include
"task.h"
#include
"error.h"
...
...
src/task.h
View file @
74a0bc98
...
...
@@ -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
...
...
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