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
3aec2f61
Commit
3aec2f61
authored
8 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Be verbose about snapshot writing
parent
4941e577
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/engine.c
+6
-1
6 additions, 1 deletion
src/engine.c
with
6 additions
and
1 deletion
src/engine.c
+
6
−
1
View file @
3aec2f61
...
@@ -1932,10 +1932,12 @@ void engine_link_gravity_tasks(struct engine *e) {
...
@@ -1932,10 +1932,12 @@ void engine_link_gravity_tasks(struct engine *e) {
* @param gradient The gradient task to link.
* @param gradient The gradient task to link.
* @param force The force task to link.
* @param force The force task to link.
* @param c The cell.
* @param c The cell.
* @param with_cooling Do we have a cooling task ?
*/
*/
static
inline
void
engine_make_hydro_loops_dependencies
(
static
inline
void
engine_make_hydro_loops_dependencies
(
struct
scheduler
*
sched
,
struct
task
*
density
,
struct
task
*
gradient
,
struct
scheduler
*
sched
,
struct
task
*
density
,
struct
task
*
gradient
,
struct
task
*
force
,
struct
cell
*
c
,
int
with_cooling
)
{
struct
task
*
force
,
struct
cell
*
c
,
int
with_cooling
)
{
/* init --> density loop --> ghost --> gradient loop --> extra_ghost */
/* init --> density loop --> ghost --> gradient loop --> extra_ghost */
/* extra_ghost --> force loop */
/* extra_ghost --> force loop */
scheduler_addunlock
(
sched
,
c
->
super
->
init
,
density
);
scheduler_addunlock
(
sched
,
c
->
super
->
init
,
density
);
...
@@ -3392,9 +3394,12 @@ void engine_dump_snapshot(struct engine *e) {
...
@@ -3392,9 +3394,12 @@ void engine_dump_snapshot(struct engine *e) {
* That can include cells that have not
* That can include cells that have not
* previously been active on this rank. */
* previously been active on this rank. */
space_check_drift_point
(
e
->
s
,
e
->
ti_current
);
space_check_drift_point
(
e
->
s
,
e
->
ti_current
);
#endif
/* Be verbose about this */
message
(
"writing snapshot at t=%e."
,
e
->
time
);
#else
if
(
e
->
verbose
)
message
(
"writing snapshot at t=%e."
,
e
->
time
);
if
(
e
->
verbose
)
message
(
"writing snapshot at t=%e."
,
e
->
time
);
#endif
/* Dump... */
/* Dump... */
#if defined(WITH_MPI)
#if defined(WITH_MPI)
...
...
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