Support for copying GeoMech case settings using new input (#6471)

* Support copy and replace geomech case, to support importing another data file, but keep the view setup

* Make sure surfaces and intersections get updated with the correct separate result, too

* Simplify/refactor code

* Better naming
This commit is contained in:
jonjenssen authored and GitHub committed 2020-09-10 12:54:43 +02:00
1 parent 5eae17551f
commit bc82166151
15 files changed
+294 -48

No files matched your search

@@ -38,7 +38,12 @@ public:
RimGeoMechModels( void );
~RimGeoMechModels( void ) override;
caf::PdmChildArrayField<RimGeoMechCase*> cases;
RimGeoMechCase* copyCase( RimGeoMechCase* thecase, const QString& newInputFileName );
void removeCase( RimGeoMechCase* thecase );
void addCase( RimGeoMechCase* thecase );
std::vector<RimGeoMechCase*> cases() const;
private:
caf::PdmChildArrayField<RimGeoMechCase*> m_cases;
};