mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Major modularization adjustments
Use uiField() when issuing setUi....() commands Use PdmChildArrayField instead of PdmPointersFielc Use PdmChildField instead of PdmField to pdm pointer objects Use PdmChildArrayField instead of PdmField< std::list< caf::PdmPointer< type > > > Use PdmObjectHandle instead of PdmObject Replaced parentFields(std::vector) with parentField() Use PdmUiPropertyViewDialog instead of PdmUiPropertyDialog
This commit is contained in:
@@ -50,9 +50,9 @@ RimReservoirCellResultsStorage::RimReservoirCellResultsStorage()
|
||||
CAF_PDM_InitObject("Cacher", "", "", "");
|
||||
|
||||
CAF_PDM_InitField(&m_resultCacheFileName, "ResultCacheFileName", QString(), "UiDummyname", "", "" ,"");
|
||||
m_resultCacheFileName.setUiHidden(true);
|
||||
m_resultCacheFileName.capability<caf::PdmUiFieldHandle>()->setUiHidden(true);
|
||||
CAF_PDM_InitFieldNoDefault(&m_resultCacheMetaData, "ResultCacheEntries", "UiDummyname", "", "", "");
|
||||
m_resultCacheMetaData.setUiHidden(true);
|
||||
m_resultCacheMetaData.capability<caf::PdmUiFieldHandle>()->setUiHidden(true);
|
||||
|
||||
}
|
||||
|
||||
@@ -1527,8 +1527,11 @@ double RimReservoirCellResultsStorage::darchysValue()
|
||||
|
||||
double darchy = 0.008527; // (ECLIPSE 100) (METRIC)
|
||||
|
||||
// MODTODO Fix usage of firstAncestorOfType
|
||||
return darchy;
|
||||
|
||||
RimEclipseCase* rimCase = NULL;
|
||||
this->firstAncestorOfType(rimCase);
|
||||
//this->firstAncestorOfType(rimCase);
|
||||
|
||||
if (rimCase && rimCase->reservoirData())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user