Commit 6cd948a0 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

cdiGridTypeInit: set nvertex = 2 for GRID_GAUSSIAN_REDUCED.

parent 15351e5a
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment