mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Created FemPartCollection
Used that instead against reader to make a "results free" interface regarding reading the element models.
This commit is contained in:
@@ -19,8 +19,8 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "RigFemPart.h"
|
||||
#include "cvfCollection.h"
|
||||
#include "RigFemPartCollection.h"
|
||||
|
||||
|
||||
class RigGeoMechCaseData: public cvf::Object
|
||||
{
|
||||
@@ -28,11 +28,11 @@ public:
|
||||
RigGeoMechCaseData();
|
||||
~RigGeoMechCaseData();
|
||||
|
||||
void addFemPart(RigFemPart* part);
|
||||
RigFemPart* part(size_t index);
|
||||
size_t partCount();
|
||||
|
||||
RigFemPartCollection* femParts();
|
||||
|
||||
|
||||
private:
|
||||
cvf::Collection<RigFemPart> m_femParts;
|
||||
cvf::ref<RigFemPartCollection> m_femParts;
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user