mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
PLYVISC and PLYADS should not just have only one row.
This commit is contained in:
parent
42e6020b9e
commit
54c8014453
@ -145,20 +145,15 @@ namespace Opm
|
|||||||
// We assume NTPVT=1
|
// We assume NTPVT=1
|
||||||
const auto& plyviscTable = eclipseState->getPlyviscTables()[0];
|
const auto& plyviscTable = eclipseState->getPlyviscTables()[0];
|
||||||
|
|
||||||
// We also assume that each table has exactly one row...
|
|
||||||
assert(plyviscTable.numRows() == 1);
|
|
||||||
|
|
||||||
c_vals_visc_[0] = plyviscTable.getPolymerConcentrationColumn()[0];
|
c_vals_visc_ = plyviscTable.getPolymerConcentrationColumn();
|
||||||
visc_mult_vals_[0] = plyviscTable.getViscosityMultiplierColumn()[0];
|
visc_mult_vals_ = plyviscTable.getViscosityMultiplierColumn();
|
||||||
|
|
||||||
// We assume NTSFUN=1
|
// We assume NTSFUN=1
|
||||||
const auto& plyadsTable = eclipseState->getPlyadsTables()[0];
|
const auto& plyadsTable = eclipseState->getPlyadsTables()[0];
|
||||||
|
|
||||||
// We also assume that each table has exactly one row...
|
c_vals_ads_ = plyadsTable.getPolymerConcentrationColumn();
|
||||||
assert(plyadsTable.numRows() == 1);
|
ads_vals_ = plyadsTable.getAdsorbedPolymerColumn();
|
||||||
|
|
||||||
c_vals_ads_[0] = plyadsTable.getPolymerConcentrationColumn()[0];
|
|
||||||
ads_vals_[0] = plyadsTable.getAdsorbedPolymerColumn()[0];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
double cMax() const;
|
double cMax() const;
|
||||||
|
Loading…
Reference in New Issue
Block a user