Enforce explicit no-flow on outer faces not affected by boundary conditions.

This commit is contained in:
Bård Skaflestad 2012-04-24 15:08:05 +02:00
parent 81733f5a43
commit 56d4f2aa1b

View File

@ -868,6 +868,7 @@ compute_flux(struct UnstructuredGrid *G,
c2 = G->face_cells[2*f + 1];
if ((c1 < 0) || (c2 < 0)) {
fflux[ f ] = 0.0; /* No-flow on ext. faces unless active BC. */
continue;
}