mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-12 16:32:12 -05:00
#3269 Compdat Export Performance : Load all data before loop
This commit is contained in:
1 parent
1fc6aca10b
commit
59b8d257cb
1 file changed
+8
-8
+8
-8
@@ -167,6 +167,14 @@ std::vector<RigCompletionData>
|
||||
}
|
||||
}
|
||||
|
||||
{
|
||||
// Load the data required by fracture summary header
|
||||
|
||||
std::vector<QString> resultNames{"TRANX", "TRANY", "TRANZ"};
|
||||
|
||||
caseToApply->loadStaticResultsByName(resultNames);
|
||||
}
|
||||
|
||||
{
|
||||
// Optional results
|
||||
std::vector<QString> resultNames = RigEclipseToStimPlanCellTransmissibilityCalculator::optionalResultNames();
|
||||
@@ -454,14 +462,6 @@ std::vector<RigCompletionData>
|
||||
|
||||
if (caseToApply && caseToApply->eclipseCaseData())
|
||||
{
|
||||
RigCaseCellResultsData* gridCellResults = caseToApply->results(RiaDefines::MATRIX_MODEL);
|
||||
if (gridCellResults)
|
||||
{
|
||||
gridCellResults->findOrLoadScalarResult(RiaDefines::STATIC_NATIVE, "TRANX");
|
||||
gridCellResults->findOrLoadScalarResult(RiaDefines::STATIC_NATIVE, "TRANY");
|
||||
gridCellResults->findOrLoadScalarResult(RiaDefines::STATIC_NATIVE, "TRANZ");
|
||||
}
|
||||
|
||||
cvf::ref<RigResultAccessor> tranxAccessObject = RigResultAccessorFactory::createFromUiResultName(
|
||||
caseToApply->eclipseCaseData(), 0, RiaDefines::MATRIX_MODEL, 0, "TRANX");
|
||||
|
||||
|
||||
Reference in new issue
Block a user