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
mpim-sw
libcdi
Commits
fea1cf81
Commit
fea1cf81
authored
Apr 01, 2010
by
Uwe Schulzweida
Browse files
vlistMerge: added support to merge levels
parent
9df36ae3
Changes
2
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
fea1cf81
2010-04-01 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* vlistMerge: added support to merge levels
2010-03-31 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
* cgribexDefTime: bug fix for timerange=3
* cgribexDefTime: bug fix for timerange=3
[report: Veronika Gayler]
* using CGRIBEX library version 1.4.4
2010-03-30 Uwe Schulzweida <Uwe.Schulzweida@zmaw.de>
...
...
src/vlist.c
View file @
fea1cf81
...
...
@@ -890,6 +890,11 @@ void vlistMerge(int vlistID2, int vlistID1)
memcpy
(
vlistptr2
->
vars
[
varID
].
levinfo
+
nlevs2
,
vlistptr1
->
vars
[
varID
].
levinfo
,
nlevs1
*
sizeof
(
levinfo_t
));
for
(
levID
=
0
;
levID
<
nlevs1
;
levID
++
)
{
vlistptr1
->
vars
[
varID
].
levinfo
[
levID
].
mlevelID
=
nlevs2
+
levID
;
}
}
lvar
=
(
int
*
)
malloc
(
nvars2
*
sizeof
(
int
));
...
...
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