ResInsight/ApplicationLibCode/ProjectDataModel/RimGridCalculationCollection.h
Magne Sjaastad a74b168e03
Improve property linking
* Allow linking of property filters across cases with same IJK size
* Recalculate when grid is replaced
Find dependencies between calculations and order them accordingly
2022-11-22 10:22:17 +01:00

43 lines
1.4 KiB
C++

/////////////////////////////////////////////////////////////////////////////////
//
// Copyright (C) 2022 Equinor ASA
//
// ResInsight is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// ResInsight is distributed in the hope that it will be useful, but WITHOUT ANY
// WARRANTY; without even the implied warranty of MERCHANTABILITY or
// FITNESS FOR A PARTICULAR PURPOSE.
//
// See the GNU General Public License at <http://www.gnu.org/licenses/gpl.html>
// for more details.
//
/////////////////////////////////////////////////////////////////////////////////
#pragma once
#include "RimGridCalculation.h"
#include "RimUserDefinedCalculationCollection.h"
//==================================================================================================
///
///
//==================================================================================================
class RimGridCalculationCollection : public RimUserDefinedCalculationCollection
{
CAF_PDM_HEADER_INIT;
public:
RimGridCalculationCollection();
void rebuildCaseMetaData() override;
RimGridCalculation* createCalculation() const override;
std::vector<RimGridCalculation*> sortedGridCalculations() const;
private:
void initAfterRead() override;
};