Bugfix: face_cells, not cell_faces
This commit is contained in:
1 parent
3aefb649b5
commit
cd5cf1d348
1 file changed
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user