Upscaling utilities: Use raw property vectors where appropriate

We need access to the raw, unconverted property vectors to use the
existing algorithm for defining (e.g.,) capillary pressure ranges.
This subtle point was missed during the initial transition to using
the opm-parser module for input handling.
This commit is contained in:
Bård Skaflestad
2014-10-15 15:19:35 +02:00
parent d89977a696
commit 876d1d5a5e
4 changed files with 12 additions and 12 deletions
+4 -4
View File
@@ -391,16 +391,16 @@ try
exit(1);
}
vector<double> poros = deck->getKeyword("PORO")->getSIDoubleData();
vector<double> permxs = deck->getKeyword("PERMX")->getSIDoubleData();
vector<double> poros = deck->getKeyword("PORO")->getRawDoubleData();
vector<double> permxs = deck->getKeyword("PERMX")->getRawDoubleData();
// Load anisotropic (only diagonal supported) input if present in grid
vector<double> permys, permzs;
if (deck->hasKeyword("PERMY") && deck->hasKeyword("PERMZ")) {
anisotropic_input = true;
permys = deck->getKeyword("PERMY")->getSIDoubleData();
permzs = deck->getKeyword("PERMZ")->getSIDoubleData();
permys = deck->getKeyword("PERMY")->getRawDoubleData();
permzs = deck->getKeyword("PERMZ")->getRawDoubleData();
if (isMaster) cout << "Info: PERMY and PERMZ present, going into anisotropic input mode, no J-functions\n";
if (isMaster) cout << " Options -relPermCurve and -jFunctionCurve is meaningless.\n";
}