mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-02 05:49:09 -06:00
Reference per-cell fluid matrix when calculating phase densities.
This change repeats change-set f3bd5169811e of sibling class BlackoilPropertiesBasic .
This commit is contained in:
parent
a8b7dc1fbb
commit
232c84ff70
@ -182,7 +182,7 @@ namespace Opm
|
||||
for (int phase = 0; phase < np; ++phase) {
|
||||
rho[np*i + phase] = 0.0;
|
||||
for (int comp = 0; comp < np; ++comp) {
|
||||
rho[np*i + phase] += A[n*np*np + np*phase + comp]*sdens[comp];
|
||||
rho[np*i + phase] += A[i*np*np + np*phase + comp]*sdens[comp];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user