mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Created RigFemPartResultsCollection
Refactored the results stuff from GeoMechCaseData into the new class preparing to extend the statistics calculation
This commit is contained in:
@@ -173,7 +173,7 @@ void RimGeoMechResultSlot::fieldChangedByUi(const caf::PdmFieldHandle* changedFi
|
||||
m_resultComponentName = "";
|
||||
}
|
||||
|
||||
m_reservoirView->geoMechCase()->geoMechData()->assertResultsLoaded(this->resultAddress());
|
||||
m_reservoirView->geoMechCase()->geoMechData()->femPartResults()->assertResultsLoaded(this->resultAddress());
|
||||
|
||||
if (m_reservoirView)
|
||||
{
|
||||
@@ -192,7 +192,7 @@ std::map<std::string, std::vector<std::string> > RimGeoMechResultSlot::getResult
|
||||
RimGeoMechCase* gmCase = m_reservoirView->geoMechCase();
|
||||
if (gmCase && gmCase->geoMechData())
|
||||
{
|
||||
return gmCase->geoMechData()->scalarFieldAndComponentNames(m_resultPositionTypeUiField());
|
||||
return gmCase->geoMechData()->femPartResults()->scalarFieldAndComponentNames(m_resultPositionTypeUiField());
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user