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
056a7ffb
Commit
056a7ffb
authored
Nov 17, 2017
by
lhausamm
Browse files
Add print units function
parent
81435140
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/units.c
View file @
056a7ffb
...
...
@@ -594,6 +594,7 @@ double units_conversion_factor(const struct unit_system* from,
* @param us The #unit_system
*/
void
units_print
(
const
struct
unit_system
*
us
)
{
message
(
"Units:"
);
message
(
"
\t
Unit Mass: %g"
,
us
->
UnitMass_in_cgs
);
message
(
"
\t
Unit Length: %g"
,
us
->
UnitLength_in_cgs
);
...
...
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