Impose outflow sign convention when assembling w->c contributions.

This commit is contained in:
Bård Skaflestad 2011-12-19 14:09:27 +01:00
parent 2b65e19c6f
commit 99e5635af2

View File

@ -729,9 +729,8 @@ assemble_completion_to_cell(int c, int wdof, int np, double dt,
s2 += d2[ p ];
}
/* Negative sign due to completion flux sign convention. */
h->J->sa[ jc ] -= dt * s1;
h->J->sa[ jw ] -= dt * s2;
h->J->sa[ jc ] += dt * s1;
h->J->sa[ jw ] += dt * s2;
}