mirror of
https://github.com/OPM/opm-upscaling.git
synced 2026-08-26 21:17:11 -05:00
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:
@@ -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";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user