GeoMech with OdbReader Included in ResInsight Build

Preliminary, first shot.
Added first iteration on basic visualization code.
This commit is contained in:
Jacob Støren
2015-04-24 15:53:50 +02:00
parent 6dad519f30
commit a538be1775
15 changed files with 723 additions and 48 deletions

View File

@@ -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);
}
}