Bugfix: face_cells, not cell_faces

This commit is contained in:
Ove Saevareid committed 2012-04-23 14:00:31 +02:00
1 parent 3aefb649b5
commit cd5cf1d348
1 file changed
+1 -1
+1 -1
View File
@@ -985,7 +985,7 @@ compute_f2hf_mapping(struct UnstructuredGrid *G ,
for (c = i = 0, nc = G->number_of_cells; c < nc; c++) {
for (; i < G->cell_facepos[c + 1]; i++) {
f = G->cell_faces[ i ];
p = G->cell_faces[2*f + 0] != c;
p = G->face_cells[2*f + 0] != c;
data->pimpl->f2hf[2*f + p] = i;
}