Reduce memory usage and improve performance for summary reload

* Select top level summary cases and ensembles for reload
Simplifies the summary case reloading process by removing the unnecessary `createAddressObjects` parameter and instead using the `showTreeNodes` flag to determine when to create address objects.

This change optimizes the loading process, especially for ensembles, by avoiding the creation of addresses for all cases, which improves performance. It also moves the responsibility of building tree nodes into a dedicated function `buildTreeNodesIfRequired` which is only called when needed.

* Remove obsolete parallel loop
* Use zoomAll
* Add updateConnectedEditors to make sure the tree nodes are updated correctly
This commit is contained in:
Magne Sjaastad authored and GitHub committed 2025-11-19 14:30:13 +01:00
1 parent 544e9eedd9
commit 0f20fd4e92
15 files changed
+90 -80

No files matched your search

@@ -2165,7 +2165,6 @@ void RimEnsembleCurveSet::updateEnsembleCurves( const std::vector<RimSummaryCase
auto curves = realizationCurves();
#pragma omp parallel for
for ( int i = 0; i < (int)curves.size(); ++i )
{
// When the curves are created, they contain no data. Curves can be reattached to the plot without loading of data in