Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
SWIFTsim
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
68
Issues
68
List
Boards
Labels
Milestones
Merge Requests
11
Merge Requests
11
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
SWIFT
SWIFTsim
Commits
172811c6
Commit
172811c6
authored
Sep 10, 2020
by
Mladen Ivkovic
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small changes following Matthieu's suggestions
parent
2c3dc902
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
examples/main.c
examples/main.c
+5
-0
src/rt/debug/rt_io.h
src/rt/debug/rt_io.h
+2
-2
No files found.
examples/main.c
View file @
172811c6
...
...
@@ -595,6 +595,11 @@ int main(int argc, char *argv[]) {
error
(
"Error: Cannot use radiative transfer without GEAR star model for now
\n
"
);
#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 */
/* Let's pin the main thread, now we know if affinity will be used. */
...
...
src/rt/debug/rt_io.h
View file @
172811c6
...
...
@@ -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
,
"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,
"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"
);
return
(
5
)
;
return
5
;
}
#endif
/* SWIFT_RT_IO_DEBUG_H */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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