mirror of
https://github.com/OPM/ResInsight.git
synced 2026-10-14 01:12:11 -05:00
Improve summary calculation performance
* Only reload calculation data * Make sure performance is good when a calculated object is added or changed - avoid recreation of summary file readers - delete all nodes in address tree representing calculated curves - build address nodes for calculated curves
This commit is contained in:
1 parent
28d281e1d6
commit
672fbe177b
22 files changed
+143
-81
No files matched your search
@@ -103,9 +103,11 @@ RimUserDefinedCalculation* RimUserDefinedCalculationCollection::addCalculationCo
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
void RimUserDefinedCalculationCollection::deleteCalculation( RimUserDefinedCalculation* calculation )
|
||||
{
|
||||
calculation->removeDependentObjects();
|
||||
m_calculations.removeChild( calculation );
|
||||
|
||||
// Call this function after the object is removed from the collection
|
||||
calculation->removeDependentObjects();
|
||||
|
||||
rebuildCaseMetaData();
|
||||
|
||||
delete calculation;
|
||||
|
||||
Reference in new issue
Block a user