Merge pull request #650 from andlaus/rename_getCF

rename getCF() to getCompletionFactor()
This commit is contained in:
Joakim Hove 2014-09-07 07:21:32 +02:00
commit 5541f1553a

View File

@ -164,8 +164,8 @@ void WellsManager::createWellsFromSpecs(std::vector<WellConstPtr>& wells, size_t
int cell = cgit->second;
PerfData pd;
pd.cell = cell;
if (completion->getCF() > 0.0) {
pd.well_index = completion->getCF();
if (completion->getConnectionTransmissibilityFactor() > 0.0) {
pd.well_index = completion->getConnectionTransmissibilityFactor();
} else {
double radius = 0.5*completion->getDiameter();
if (radius <= 0.0) {