Skip to content

Commit

Permalink
Revamp ui.
Browse files Browse the repository at this point in the history
  • Loading branch information
kriben committed Dec 18, 2024
1 parent b9812a8 commit 0d4fbf6
Showing 1 changed file with 24 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,11 +353,32 @@ void RimWellTargetCandidatesGenerator::generateEnsembleStatistics()
//--------------------------------------------------------------------------------------------------
void RimWellTargetCandidatesGenerator::defineUiOrdering( QString uiConfigName, caf::PdmUiOrdering& uiOrdering )
{
PdmObject::defineUiOrdering( uiConfigName, uiOrdering );

caf::PdmUiGroup* resultDefinitionGroup = uiOrdering.addNewGroup( "Result Definition" );
caf::PdmUiGroup* resultGroup = uiOrdering.addNewGroup( "Result" );
resultGroup->add( &m_timeStep );
resultGroup->add( &m_volumeType );
resultGroup->add( &m_volumeResultType );
resultGroup->add( &m_volumesType );

caf::PdmUiGroup* clusterLimitsGroup = uiOrdering.addNewGroup( "Cluster Growth Limits" );
clusterLimitsGroup->add( &m_volume );
clusterLimitsGroup->add( &m_pressure );
clusterLimitsGroup->add( &m_permeability );
clusterLimitsGroup->add( &m_transmissibility );

caf::PdmUiGroup* resultDefinitionGroup = uiOrdering.addNewGroup( "Cluster Filter" );
m_resultDefinition->uiOrdering( uiConfigName, *resultDefinitionGroup );

caf::PdmUiGroup* ensembleGridGroup = uiOrdering.addNewGroup( "Ensemble Statistics Grid" );
ensembleGridGroup->add( &m_cellCountI );
ensembleGridGroup->add( &m_cellCountJ );
ensembleGridGroup->add( &m_cellCountK );

caf::PdmUiGroup* advancedGroup = uiOrdering.addNewGroup( "Advanced" );
advancedGroup->add( &m_maxIterations );
advancedGroup->add( &m_maxClusters );

uiOrdering.add( &m_generateEnsembleStatistics );

if ( m_minimumVolume == cvf::UNDEFINED_DOUBLE || m_maximumVolume == cvf::UNDEFINED_DOUBLE )
{
updateAllBoundaries();
Expand Down

0 comments on commit 0d4fbf6

Please sign in to comment.