mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
use compressed field properties setting up ThermalLawManager
This commit is contained in:
parent
3c050f4dda
commit
ef27c1d110
@ -2347,13 +2347,8 @@ private:
|
||||
const auto& eclState = vanguard.eclState();
|
||||
|
||||
// fluid-matrix interactions (saturation functions; relperm/capillary pressure)
|
||||
size_t numDof = this->model().numGridDof();
|
||||
std::vector<int> compressedToCartesianElemIdx(numDof);
|
||||
for (unsigned elemIdx = 0; elemIdx < numDof; ++elemIdx)
|
||||
compressedToCartesianElemIdx[elemIdx] = vanguard.cartesianIndex(elemIdx);
|
||||
|
||||
thermalLawManager_ = std::make_shared<EclThermalLawManager>();
|
||||
thermalLawManager_->initParamsForElements(eclState, compressedToCartesianElemIdx);
|
||||
thermalLawManager_->initParamsForElements(eclState, this->model().numGridDof());
|
||||
}
|
||||
|
||||
void updateReferencePorosity_()
|
||||
|
Loading…
Reference in New Issue
Block a user