#14823 Group nested hybrid LGRs per refinement level in the Grids tree

This commit is contained in:
Kristian Bendiksen authored and Magne Sjaastad committed 2026-10-12 15:12:48 +02:00
1 parent 3d8912ba6c
commit b0f2044746
5 files changed
+92 -8

No files matched your search

@@ -27,6 +27,8 @@
#include <QString>
#include <vector>
class RigMainGrid;
//==================================================================================================
@@ -47,6 +49,11 @@ public:
QString name() const;
int eclipseGridIndex() const;
// A grid info can represent several grids (e.g. all reconstructed LGRs of one nested hybrid level)
void resetSimulatorGridIndices( int index );
void addSimulatorGridIndex( int index );
std::vector<int> simulatorGridIndices() const;
caf::PdmFieldHandle* objectToggleField() override;
protected:
@@ -58,6 +65,7 @@ private:
caf::PdmField<bool> m_isActive;
caf::PdmField<QString> m_gridName;
caf::PdmField<int> m_eclipseGridIndex;
std::vector<int> m_additionalGridIndices;
};
//==================================================================================================