Allocate_cart_grid_3d(): Check allocation status of ->node_coordinates.

This was missing even in early implementations.
This commit is contained in:
Bård Skaflestad 2012-04-24 16:37:26 +02:00
parent 881d4e1225
commit 11a439da60

View File

@ -207,7 +207,8 @@ allocate_cart_grid_3d(int nx, int ny, int nz)
G->global_cell = 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_cells == NULL ) ||
(G->face_centroids == NULL ) ||