mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Use correct result name for Void ratio (#10969)
Use correct result name for Void ratio Enable porosity calculator for imported inp data Add model validation check for export/show model Fix last res. layer not being splitted into subelements Add model validation check in file exporter Bump version to dev.04
This commit is contained in:
@@ -193,7 +193,7 @@ caf::PdmFieldHandle* RimFaultReactivationModel::userDescriptionField()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
///
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
std::pair<bool, std::string> RimFaultReactivationModel::validateBeforeRun() const
|
||||
std::pair<bool, std::string> RimFaultReactivationModel::validateModel() const
|
||||
{
|
||||
if ( fault() == nullptr )
|
||||
{
|
||||
@@ -425,7 +425,9 @@ void RimFaultReactivationModel::defineUiOrdering( QString uiConfigName, caf::Pdm
|
||||
sizeModelGrp->add( &m_modelMinZ );
|
||||
sizeModelGrp->add( &m_modelBelowSize );
|
||||
|
||||
if ( m_geomechCase() != nullptr )
|
||||
const bool hasGeoMechCase = ( m_geomechCase() != nullptr );
|
||||
|
||||
if ( hasGeoMechCase )
|
||||
{
|
||||
m_modelMinZ.setValue( std::abs( m_geomechCase->allCellsBoundingBox().max().z() ) );
|
||||
m_modelMinZ.uiCapability()->setUiReadOnly( true );
|
||||
@@ -462,14 +464,14 @@ void RimFaultReactivationModel::defineUiOrdering( QString uiConfigName, caf::Pdm
|
||||
propertiesGrp->add( &m_useGridPorePressure );
|
||||
propertiesGrp->add( &m_useGridVoidRatio );
|
||||
propertiesGrp->add( &m_useGridTemperature );
|
||||
propertiesGrp->add( &m_useGridDensity );
|
||||
propertiesGrp->add( &m_useGridElasticProperties );
|
||||
propertiesGrp->add( &m_useGridStress );
|
||||
propertiesGrp->add( &m_waterDensity );
|
||||
|
||||
auto trgGroup = uiOrdering.addNewGroup( "Debug" );
|
||||
trgGroup->setCollapsedByDefault();
|
||||
trgGroup->add( &m_targets );
|
||||
if ( hasGeoMechCase )
|
||||
{
|
||||
propertiesGrp->add( &m_useGridDensity );
|
||||
propertiesGrp->add( &m_useGridElasticProperties );
|
||||
propertiesGrp->add( &m_useGridStress );
|
||||
propertiesGrp->add( &m_waterDensity );
|
||||
}
|
||||
|
||||
uiOrdering.skipRemainingFields();
|
||||
}
|
||||
|
||||
@@ -75,7 +75,7 @@ public:
|
||||
QString userDescription();
|
||||
void setUserDescription( QString description );
|
||||
|
||||
std::pair<bool, std::string> validateBeforeRun() const;
|
||||
std::pair<bool, std::string> validateModel() const;
|
||||
|
||||
void setFaultInformation( RimFaultInView* fault, size_t cellIndex, cvf::StructGridInterface::FaceType face );
|
||||
RimFaultInView* fault() const;
|
||||
|
||||
Reference in New Issue
Block a user