Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mpim-sw
libcdi
Commits
751872af
Commit
751872af
authored
Aug 23, 2016
by
Uwe Schulzweida
Browse files
zaxisPrintKernel: print scalar parameter.
parent
7aba2d6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/zaxis.c
View file @
751872af
...
...
@@ -1322,6 +1322,11 @@ static void zaxisPrintKernel ( zaxis_t * zaxisptr, int index, FILE * fp )
fprintf
(
fp
,
"#
\n
"
);
fprintf
(
fp
,
"zaxistype = %s
\n
"
,
zaxisNamePtr
(
type
));
fprintf
(
fp
,
"size = %d
\n
"
,
nlevels
);
if
(
nlevels
==
1
)
{
bool
zscalar
=
(
bool
)
zaxisptr
->
scalar
;
if
(
zscalar
)
fprintf
(
fp
,
"scalar = true
\n
"
);
}
if
(
zaxisptr
->
name
[
0
]
)
fprintf
(
fp
,
"name = %s
\n
"
,
zaxisptr
->
name
);
if
(
zaxisptr
->
longname
[
0
]
)
fprintf
(
fp
,
"longname = %s
\n
"
,
zaxisptr
->
longname
);
if
(
zaxisptr
->
units
[
0
]
)
fprintf
(
fp
,
"units = %s
\n
"
,
zaxisptr
->
units
);
...
...
Write
Preview
Markdown
is supported
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