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
bf19a904
Commit
bf19a904
authored
Oct 14, 2015
by
Matthieu Schaller
Browse files
Formatting in preparation for merge
parent
81e4ad0e
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/debug.h
View file @
bf19a904
...
...
@@ -23,7 +23,6 @@
#include
"cell.h"
#include
"part.h"
void
printParticle
(
struct
part
*
parts
,
long
long
int
i
,
int
N
);
void
printgParticle
(
struct
gpart
*
parts
,
long
long
int
i
,
int
N
);
void
printParticle_single
(
struct
part
*
p
);
...
...
src/engine.c
View file @
bf19a904
...
...
@@ -366,7 +366,7 @@ void engine_repartition(struct engine *e) {
/* Get the task weight. */
idx_t
w
=
(
t
->
toc
-
t
->
tic
)
*
wscale
;
if
(
w
<
0
)
error
(
"Bad task weight (%"
SCIDX
")."
,
w
);
if
(
w
<
0
)
error
(
"Bad task weight (%"
SCIDX
")."
,
w
);
/* Do we need to re-scale? */
wtot
+=
w
;
...
...
src/units.h
View file @
bf19a904
...
...
@@ -40,9 +40,8 @@ struct UnitSystem {
double
UnitCurrent_in_cgs
;
/*< Conversion factor from Ampere to internal
current units. */
double
UnitTemperature_in_cgs
;
/*< Conversion factor from Kelvins to internal
temperature units. */
double
UnitTemperature_in_cgs
;
/*< Conversion factor from Kelvins to internal
temperature units. */
};
/**
...
...
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