Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
f757010e
Commit
f757010e
authored
6 years ago
by
Loic Hausammann
Browse files
Options
Downloads
Patches
Plain Diff
Formating + cleanup
parent
80abcc55
No related branches found
No related tags found
3 merge requests
!787
Eagle stellar evolution matthieu
,
!781
Eagle stellar evolution
,
!778
Fix default models
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/cell.h
+2
-1
2 additions, 1 deletion
src/cell.h
src/error.h
+1
-1
1 addition, 1 deletion
src/error.h
src/scheduler.h
+0
-1
0 additions, 1 deletion
src/scheduler.h
with
3 additions
and
3 deletions
src/cell.h
+
2
−
1
View file @
f757010e
...
...
@@ -1003,7 +1003,8 @@ cell_need_rebuild_for_hydro_pair(const struct cell *ci, const struct cell *cj) {
cj
->
dmin
);
}
/**
* @brief Have particles in a pair of cells moved too much and require a rebuild
* @brief Have star particles in a pair of cells moved too much and require a
* rebuild
* ?
*
* @param ci The first #cell.
...
...
This diff is collapsed.
Click to expand it.
src/error.h
+
1
−
1
View file @
f757010e
...
...
@@ -54,7 +54,7 @@ extern int engine_rank;
fprintf(stderr, "[%04i] %s %s:%s():%i: " s "\n", engine_rank, \
clocks_get_timesincestart(), __FILE__, __FUNCTION__, __LINE__, \
##__VA_ARGS__); \
swift_abort(1);
\
MPI_Abort(MPI_COMM_WORLD, -1);
\
})
#else
#define error(s, ...) \
...
...
This diff is collapsed.
Click to expand it.
src/scheduler.h
+
0
−
1
View file @
f757010e
...
...
@@ -140,7 +140,6 @@ __attribute__((always_inline)) INLINE static void scheduler_activate(
__attribute__
((
always_inline
))
INLINE
static
struct
link
*
scheduler_activate_send
(
struct
scheduler
*
s
,
struct
link
*
link
,
int
nodeID
)
{
if
(
link
==
NULL
)
error
(
""
);
struct
link
*
l
=
NULL
;
for
(
l
=
link
;
l
!=
NULL
&&
l
->
t
->
cj
->
nodeID
!=
nodeID
;
l
=
l
->
next
)
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment