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
aaada2a2
Commit
aaada2a2
authored
Aug 30, 2015
by
Pedro Gonnet
Browse files
moved part.h from source files where appropriate.
Former-commit-id: 91658e395c7e520ce8f38f00828d1ab5a23cab73
parent
efc90268
Changes
26
Hide whitespace changes
Inline
Side-by-side
src/cell.c
View file @
aaada2a2
...
...
@@ -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"
...
...
src/cell.h
View file @
aaada2a2
...
...
@@ -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)
...
...
src/common_io.c
View file @
aaada2a2
...
...
@@ -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"
...
...
src/debug.c
View file @
aaada2a2
...
...
@@ -21,7 +21,6 @@
#include
<stdio.h>
#include
"const.h"
#include
"part.h"
#include
"lock.h"
#include
"multipole.h"
#include
"space.h"
...
...
src/debug.h
View file @
aaada2a2
...
...
@@ -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
);
...
...
src/engine.c
View file @
aaada2a2
...
...
@@ -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"
...
...
src/multipole.c
View file @
aaada2a2
...
...
@@ -40,7 +40,6 @@
#include
"atomic.h"
#include
"lock.h"
#include
"space.h"
#include
"part.h"
#include
"multipole.h"
#include
"cell.h"
...
...
src/multipole.h
View file @
aaada2a2
...
...
@@ -19,6 +19,9 @@
#ifndef SWIFT_MULTIPOLE_H
#define SWIFT_MULTIPOLE_H
/* Includes. */
#include
"part.h"
/* Some constants. */
#define multipole_order 1
...
...
src/parallel_io.c
View file @
aaada2a2
...
...
@@ -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"
...
...
src/parallel_io.h
View file @
aaada2a2
...
...
@@ -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
,
...
...
src/part.h
View file @
aaada2a2
...
...
@@ -16,7 +16,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
******************************************************************************/
#ifndef S
I
WFT_PART_H
#ifndef SW
I
FT_PART_H
#define SWIFT_PART_H
/* Some constants. */
...
...
src/proxy.c
View file @
aaada2a2
...
...
@@ -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"
...
...
src/proxy.h
View file @
aaada2a2
...
...
@@ -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
...
...
src/queue.c
View file @
aaada2a2
...
...
@@ -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"
...
...
src/runner.c
View file @
aaada2a2
...
...
@@ -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"
...
...
src/runner_doiact.h
View file @
aaada2a2
...
...
@@ -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,
...
...
src/runner_iact.h
View file @
aaada2a2
...
...
@@ -20,6 +20,8 @@
#ifndef SWIFT_RUNNER_IACT_H
#define SWIFT_RUNNER_IACT_H
/* Includes. */
#include
"part.h"
#include
"kernel.h"
#include
"vector.h"
...
...
src/runner_iact_legacy.h
View file @
aaada2a2
...
...
@@ -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"
...
...
src/scheduler.c
View file @
aaada2a2
...
...
@@ -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"
...
...
src/serial_io.c
View file @
aaada2a2
...
...
@@ -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"
...
...
Prev
1
2
Next
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