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
6c08b105
Commit
6c08b105
authored
4 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Plain Diff
Merge branch 'fix_intel_ci' into 'master'
Fix CI See merge request
!1303
parents
d5285aa0
7213fdea
No related branches found
No related tags found
1 merge request
!1303
Fix CI
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/sink/Default/sink_iact.h
+7
-6
7 additions, 6 deletions
src/sink/Default/sink_iact.h
with
7 additions
and
6 deletions
src/sink/Default/sink_iact.h
+
7
−
6
View file @
6c08b105
...
...
@@ -63,12 +63,11 @@ runner_iact_nonsym_sinks_compute_formation(const float r2, const float *dx,
* @param Which particle should be removed?
* Possible value: (sink_merger_remove_none/first/second)
*/
__attribute__
((
always_inline
))
INLINE
static
int
runner_iact_sym_sinks_merger
(
const
float
r2
,
const
float
*
dx
,
const
float
hi
,
const
float
hj
,
struct
sink
*
restrict
si
,
struct
sink
*
restrict
sj
,
const
float
a
,
const
float
H
)
{
return
sink_merger_remove_none
;
__attribute__
((
always_inline
))
INLINE
static
enum
sink_merger_remove
runner_iact_sym_sinks_merger
(
const
float
r2
,
const
float
*
dx
,
const
float
hi
,
const
float
hj
,
struct
sink
*
restrict
si
,
struct
sink
*
restrict
sj
,
const
float
a
,
const
float
H
)
{
#ifdef DEBUG_INTERACTIONS_SINKS
/* Update ngb counters */
...
...
@@ -78,6 +77,8 @@ __attribute__((always_inline)) INLINE static int runner_iact_sym_sinks_merger(
/* Update ngb counters */
++
si
->
num_ngb_merger
;
#endif
return
sink_merger_remove_none
;
}
#endif
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