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
6cd948a0
Commit
6cd948a0
authored
May 04, 2019
by
Uwe Schulzweida
Browse files
cdiGridTypeInit: set nvertex = 2 for GRID_GAUSSIAN_REDUCED.
parent
15351e5a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/grid.c
View file @
6cd948a0
...
...
@@ -293,6 +293,7 @@ void cdiGridTypeInit(grid_t *gridptr, int gridtype, size_t size)
if
(
gridtype
==
GRID_LONLAT
)
gridptr
->
nvertex
=
2
;
else
if
(
gridtype
==
GRID_GAUSSIAN
)
gridptr
->
nvertex
=
2
;
else
if
(
gridtype
==
GRID_GAUSSIAN_REDUCED
)
gridptr
->
nvertex
=
2
;
else
if
(
gridtype
==
GRID_CURVILINEAR
)
gridptr
->
nvertex
=
4
;
else
if
(
gridtype
==
GRID_UNSTRUCTURED
)
gridptr
->
x
.
size
=
size
;
...
...
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