mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
GeoMech with OdbReader Included in ResInsight Build
Preliminary, first shot. Added first iteration on basic visualization code.
This commit is contained in:
@@ -65,6 +65,7 @@ void readOdbFile(const std::string& fileName, RigGeoMechCaseData* geoMechCase)
|
||||
odb_InstanceRepository instanceRepository = odb.rootAssembly().instances();
|
||||
|
||||
odb_InstanceRepositoryIT iter(instanceRepository);
|
||||
|
||||
for (iter.first(); !iter.isDone(); iter.next())
|
||||
{
|
||||
odb_Instance& inst = instanceRepository[iter.currentKey()];
|
||||
@@ -102,6 +103,7 @@ void readOdbFile(const std::string& fileName, RigGeoMechCaseData* geoMechCase)
|
||||
femPart->appendElement(elmType, odbElm.label(), odbElm.connectivity(nodeCount));
|
||||
}
|
||||
|
||||
femPart->setElementPartId(geoMechCase->partCount());
|
||||
geoMechCase->addFemPart(femPart);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user