Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
abb0793d
Commit
abb0793d
authored
Jul 28, 2016
by
Matthieu Schaller
Browse files
Conserve energy !
parent
c4e17fad
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/hydro/Gadget2/hydro_iact.h
View file @
abb0793d
...
...
@@ -470,7 +470,7 @@ __attribute__((always_inline)) INLINE static void runner_iact_force(
/* Change in entropy */
pi
->
entropy_dt
+=
0
.
5
f
*
mj
*
visc_term
*
dvdr
;
pj
->
entropy_dt
-
=
0
.
5
f
*
mi
*
visc_term
*
dvdr
;
pj
->
entropy_dt
+
=
0
.
5
f
*
mi
*
visc_term
*
dvdr
;
}
/**
...
...
Matthieu Schaller
@matthieu
mentioned in issue
#183 (closed)
·
Jul 28, 2016
mentioned in issue
#183 (closed)
mentioned in issue #183
Toggle commit list
Write
Preview
Supports
Markdown
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