Skip to content
GitLab
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
aa7d8353
Commit
aa7d8353
authored
Sep 19, 2019
by
Alexei Borissov
Browse files
remove debugging print statements
parent
76100d37
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/cooling/EAGLE/cooling_rates.h
View file @
aa7d8353
...
...
@@ -503,10 +503,8 @@ INLINE static double eagle_metal_cooling_rate(
/* Sum up all the contributions */
double
Lambda_net
=
Lambda_free
+
Lambda_Compton
;
if
(
isnan
(
Lambda_net
))
error
(
"Lambda_net is nan free %.5e compton %.5e"
,
Lambda_free
,
Lambda_Compton
);
for
(
int
elem
=
2
;
elem
<
eagle_cooling_N_metal
+
2
;
++
elem
)
{
Lambda_net
+=
lambda_metal
[
elem
];
if
(
isnan
(
Lambda_net
))
error
(
"Lambda_net is nan elem %d lambda_metal %.5e"
,
elem
,
lambda_metal
[
elem
]);
}
return
Lambda_net
;
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment