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
16a45a14
Commit
16a45a14
authored
8 years ago
by
Matthieu Schaller
Browse files
Options
Downloads
Patches
Plain Diff
Documentation
parent
32fddbd3
No related branches found
No related tags found
1 merge request
!194
Io unit conversion
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/single_io.c
+1
-1
1 addition, 1 deletion
src/single_io.c
src/units.c
+3
-1
3 additions, 1 deletion
src/units.c
with
4 additions
and
2 deletions
src/single_io.c
+
1
−
1
View file @
16a45a14
...
...
@@ -71,7 +71,7 @@ void readArrayBackEnd(hid_t grp, char* name, enum DATA_TYPE type, int N,
int
dim
,
char
*
part_c
,
size_t
partSize
,
enum
DATA_IMPORTANCE
importance
,
const
struct
UnitSystem
*
internal_units
,
const
struct
UnitSystem
*
snapshot
_units
,
const
struct
UnitSystem
*
ic
_units
,
enum
UnitConversionFactor
convFactor
)
{
hid_t
h_data
=
0
,
h_err
=
0
,
h_type
=
0
;
...
...
This diff is collapsed.
Click to expand it.
src/units.c
+
3
−
1
View file @
16a45a14
...
...
@@ -506,7 +506,9 @@ double units_general_conversion_factor(const struct UnitSystem* from,
*
* @param from The #UnitSystem we are converting from
* @param to The #UnitSystem we are converting to
* @return unit The unit we are converting
* @param unit The unit we are converting
*
* @return The conversion factor
*/
double
units_conversion_factor
(
const
struct
UnitSystem
*
from
,
const
struct
UnitSystem
*
to
,
...
...
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