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
327eecab
Commit
327eecab
authored
Sep 25, 2018
by
Loic Hausammann
Browse files
Print star max h only if not FLT_MAX
parent
448e14cc
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/stars/Default/stars_io.h
View file @
327eecab
...
...
@@ -142,7 +142,8 @@ INLINE static void stars_props_print(const struct stars_props *sp) {
"(max|dlog(h)/dt|=%f)."
,
pow_dimension
(
expf
(
sp
->
log_max_h_change
)),
sp
->
log_max_h_change
);
message
(
"Maximal smoothing length allowed: %.4f"
,
sp
->
h_max
);
if
(
sp
->
h_max
!=
FLT_MAX
)
message
(
"Maximal smoothing length allowed: %.4f"
,
sp
->
h_max
);
message
(
"Maximal iterations in ghost task set to %d"
,
sp
->
max_smoothing_iterations
);
...
...
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