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
6e7d4823
Commit
6e7d4823
authored
Feb 27, 2017
by
Uwe Schulzweida
Browse files
Added function gridDefUvRelativeToGrid().
parent
4f86c67c
Changes
3
Hide whitespace changes
Inline
Side-by-side
ChangeLog
View file @
6e7d4823
...
...
@@ -4,6 +4,7 @@
2017-02-27 Uwe Schulzweida
* Added function gridDefUvRelativeToGrid()
* gridInqUvRelativeToGrid(): added cgribex support
2017-02-24 Uwe Schulzweida
...
...
src/cdi.h
View file @
6e7d4823
...
...
@@ -964,6 +964,7 @@ void gridChangeType(int gridID, int gridtype);
void
gridDefComplexPacking
(
int
gridID
,
int
lpack
);
int
gridInqComplexPacking
(
int
gridID
);
void
gridDefUvRelativeToGrid
(
int
gridID
,
int
uvRelativeToGrid
);
int
gridInqUvRelativeToGrid
(
int
gridID
);
/* ZAXIS routines */
...
...
src/grid.c
View file @
6e7d4823
...
...
@@ -3934,6 +3934,18 @@ void gridInqUUID(int gridID, unsigned char uuid[CDI_UUID_SIZE])
}
void
gridDefUvRelativeToGrid
(
int
gridID
,
int
uvRelativeToGrid
)
{
grid_t
*
gridptr
=
grid_to_pointer
(
gridID
);
if
(
gridptr
->
uvRelativeToGrid
!=
uvRelativeToGrid
)
{
gridMark4Update
(
gridID
);
gridptr
->
uvRelativeToGrid
=
uvRelativeToGrid
;
}
}
int
gridInqUvRelativeToGrid
(
int
gridID
)
{
grid_t
*
gridptr
=
grid_to_pointer
(
gridID
);
...
...
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