mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-26 09:10:59 -06:00
Impose outflow sign convention when assembling w->c contributions.
This commit is contained in:
parent
2b65e19c6f
commit
99e5635af2
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user