mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#7148 StimPlanModel: provide better default for por/perm.
This commit is contained in:
committed by
Magne Sjaastad
parent
d73bd60825
commit
784f3069f0
@@ -1082,7 +1082,7 @@ void RimStimPlanModel::loadDataAndUpdate()
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
double RimStimPlanModel::defaultPorosity() const
|
||||
{
|
||||
return m_stimPlanModelTemplate() ? m_stimPlanModelTemplate()->defaultPorosity() : 0.0;
|
||||
return m_stimPlanModelTemplate() ? m_stimPlanModelTemplate()->defaultPorosity() : RiaDefines::defaultPorosity();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
@@ -1090,7 +1090,8 @@ double RimStimPlanModel::defaultPorosity() const
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
double RimStimPlanModel::defaultPermeability() const
|
||||
{
|
||||
return m_stimPlanModelTemplate() ? m_stimPlanModelTemplate()->defaultPermeability() : 0.0;
|
||||
return m_stimPlanModelTemplate() ? m_stimPlanModelTemplate()->defaultPermeability()
|
||||
: RiaDefines::defaultPermeability();
|
||||
}
|
||||
|
||||
//--------------------------------------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user