Merge pull request #813 from iLoop2/Add_WPIMULT
Add WPIMULT keyword support
This commit is contained in:
commit
80dd0ef570
3
.gitignore
vendored
3
.gitignore
vendored
@ -41,3 +41,6 @@ install_manifest.txt
|
||||
CTestTestfile.cmake
|
||||
DartConfiguration.tcl
|
||||
Testing/
|
||||
.DS_Store
|
||||
.idea
|
||||
build
|
||||
|
@ -170,7 +170,7 @@ void WellsManager::createWellsFromSpecs(std::vector<WellConstPtr>& wells, size_t
|
||||
pd.cell = cell;
|
||||
{
|
||||
const Value<double>& transmissibilityFactor = completion->getConnectionTransmissibilityFactorAsValueObject();
|
||||
|
||||
const double wellPi = completion ->getWellPi();
|
||||
if (transmissibilityFactor.hasValue()) {
|
||||
pd.well_index = transmissibilityFactor.getValue();
|
||||
} else {
|
||||
@ -190,6 +190,7 @@ void WellsManager::createWellsFromSpecs(std::vector<WellConstPtr>& wells, size_t
|
||||
completion->getDirection(),
|
||||
ntg[cell]);
|
||||
}
|
||||
pd.well_index *= wellPi;
|
||||
}
|
||||
wellperf_data[well_index].push_back(pd);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user