Allocate_cart_grid_2d(): Repeat cset a1537a0d194a from 3D case.

This commit is contained in:
Bård Skaflestad 2012-04-24 16:39:32 +02:00
parent 11a439da60
commit d59d648e93

View File

@ -543,7 +543,8 @@ allocate_cart_grid_2d(int nx, int ny)
G->global_cell = NULL; G->global_cell = NULL;
G->cell_facetag = NULL; G->cell_facetag = NULL;
if ((G->face_nodes == NULL ) || if ((G->node_coordinates == NULL ) ||
(G->face_nodes == NULL ) ||
(G->face_nodepos == NULL ) || (G->face_nodepos == NULL ) ||
(G->face_cells == NULL ) || (G->face_cells == NULL ) ||
(G->face_centroids == NULL ) || (G->face_centroids == NULL ) ||