mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Summary performance improvements
* Check flag before rebuilding summary address nodes * Performance: Use vector instead of set and map locally in thread * Performance: Skip looking for restart summary filenames for opm-common * Move adding of case realization parameters to OpenMP loop * Add unit test for file path operations * Performance: Avoid using cdUp() function when splitting path into strings
This commit is contained in:
@@ -58,6 +58,8 @@ void RimSummaryCalculationCollection::updateDataDependingOnCalculations()
|
||||
{
|
||||
if ( !summaryCase ) continue;
|
||||
|
||||
if ( !summaryCase->showRealizationDataSources() ) continue;
|
||||
|
||||
if ( auto reader = summaryCase->summaryReader() )
|
||||
{
|
||||
reader->buildMetaData();
|
||||
@@ -93,11 +95,3 @@ void RimSummaryCalculationCollection::rebuildCaseMetaData()
|
||||
ensureValidCalculationIds();
|
||||
updateDataDependingOnCalculations();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimSummaryCalculationCollection::initAfterRead()
|
||||
{
|
||||
rebuildCaseMetaData();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user