mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5747 Completion Export: Include comment for zero transmissibility cells
This commit is contained in:
parent
1272ee92d0
commit
b315022a2a
@ -1008,12 +1008,6 @@ void RicWellPathExportCompletionDataFeatureImpl::exportCompdatTableUsingFormatte
|
||||
|
||||
for ( const RigCompletionData& data : completionData )
|
||||
{
|
||||
if ( data.transmissibility() == 0.0 || data.wpimult() == 0.0 )
|
||||
{
|
||||
// Don't export completions without transmissibility
|
||||
continue;
|
||||
}
|
||||
|
||||
if ( currentCompletionType != data.completionType() )
|
||||
{
|
||||
// The completions are sorted by completion type, write out a heading when completion type changes
|
||||
@ -1032,6 +1026,13 @@ void RicWellPathExportCompletionDataFeatureImpl::exportCompdatTableUsingFormatte
|
||||
{
|
||||
formatter.comment( QString( "%1 : %2" ).arg( metadata.name ).arg( metadata.comment ) );
|
||||
}
|
||||
|
||||
if ( data.transmissibility() == 0.0 || data.wpimult() == 0.0 )
|
||||
{
|
||||
// Don't export completions without transmissibility
|
||||
continue;
|
||||
}
|
||||
|
||||
formatter.add( data.wellName() );
|
||||
|
||||
if ( !gridName.isEmpty() )
|
||||
|
Loading…
Reference in New Issue
Block a user