mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Bugfix: set nphases properly.
This commit is contained in:
parent
f9436a1bef
commit
7e9690ece3
@ -458,6 +458,7 @@ namespace Opm
|
||||
forces.wells = &wells_tmp;
|
||||
forces.src = NULL; // Check if it is legal to leave it as NULL.
|
||||
compr_quantities_gen cq;
|
||||
cq.nphases = props_.numPhases();
|
||||
cq.Ac = &cell_A_[0];
|
||||
cq.dAc = &cell_dA_[0];
|
||||
cq.Af = &face_A_[0];
|
||||
|
Loading…
Reference in New Issue
Block a user