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
172811c6
Commit
172811c6
authored
4 years ago
by
Mladen Ivkovic
Browse files
Options
Downloads
Patches
Plain Diff
small changes following Matthieu's suggestions
parent
2c3dc902
No related branches found
No related tags found
1 merge request
!1155
RT injection task
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/main.c
+5
-0
5 additions, 0 deletions
examples/main.c
src/rt/debug/rt_io.h
+2
-2
2 additions, 2 deletions
src/rt/debug/rt_io.h
with
7 additions
and
2 deletions
examples/main.c
+
5
−
0
View file @
172811c6
...
@@ -595,6 +595,11 @@ int main(int argc, char *argv[]) {
...
@@ -595,6 +595,11 @@ int main(int argc, char *argv[]) {
error
(
error
(
"Error: Cannot use radiative transfer without GEAR star model for now
\n
"
);
"Error: Cannot use radiative transfer without GEAR star model for now
\n
"
);
#endif
#endif
#ifdef WITH_MPI
/* Temporary, this will be removed in due time */
error
(
"Error: Cannot use radiative transfer with MPI
\n
"
);
#endif
#endif
/* idfef RT_NONE */
#endif
/* idfef RT_NONE */
/* Let's pin the main thread, now we know if affinity will be used. */
/* Let's pin the main thread, now we know if affinity will be used. */
...
...
This diff is collapsed.
Click to expand it.
src/rt/debug/rt_io.h
+
2
−
2
View file @
172811c6
...
@@ -51,7 +51,7 @@ INLINE static int rt_write_particles(const struct xpart* xparts,
...
@@ -51,7 +51,7 @@ INLINE static int rt_write_particles(const struct xpart* xparts,
"RTCallsPair"
,
INT
,
1
,
UNIT_CONV_NO_UNITS
,
0
,
xparts
,
rt_data
.
calls_pair
,
"RTCallsPair"
,
INT
,
1
,
UNIT_CONV_NO_UNITS
,
0
,
xparts
,
rt_data
.
calls_pair
,
"number of calls to this particle during one time step in self task"
);
"number of calls to this particle during one time step in self task"
);
return
(
5
)
;
return
5
;
}
}
/**
/**
...
@@ -79,6 +79,6 @@ INLINE static int rt_write_stars(const struct spart* sparts,
...
@@ -79,6 +79,6 @@ INLINE static int rt_write_stars(const struct spart* sparts,
"RTCallsPair"
,
INT
,
1
,
UNIT_CONV_NO_UNITS
,
0
,
sparts
,
rt_data
.
calls_pair
,
"RTCallsPair"
,
INT
,
1
,
UNIT_CONV_NO_UNITS
,
0
,
sparts
,
rt_data
.
calls_pair
,
"number of calls to this particle during one time step in self task"
);
"number of calls to this particle during one time step in self task"
);
return
(
5
)
;
return
5
;
}
}
#endif
/* SWIFT_RT_IO_DEBUG_H */
#endif
/* SWIFT_RT_IO_DEBUG_H */
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