Fix spelling of "Petrel"

This commit is contained in:
Jon Jenssen 2020-08-11 17:47:08 +02:00 committed by Magne Sjaastad
parent 96c7ac422f
commit beef70a791
3 changed files with 8 additions and 8 deletions

View File

@ -84,7 +84,7 @@ void RicExportKLayerToPtlFeature::onActionTriggered( bool isChecked )
if ( surf->exportStructSurfaceFromGridCase( &vertices, &structGridVertexIndices ) )
{
RifSurfaceExporter::writePetrellPtlFile( fileName, vertices, structGridVertexIndices );
RifSurfaceExporter::writePetrelPtlFile( fileName, vertices, structGridVertexIndices );
}
}
}
@ -95,5 +95,5 @@ void RicExportKLayerToPtlFeature::onActionTriggered( bool isChecked )
void RicExportKLayerToPtlFeature::setupActionLook( QAction* actionToSetup )
{
actionToSetup->setIcon( QIcon( ":/ReservoirSurfaces16x16.png" ) );
actionToSetup->setText( "Export Grid Case Surface to Petrell ptl-file" );
actionToSetup->setText( "Export Grid Case Surface to Petrel ptl-file" );
}

View File

@ -80,9 +80,9 @@ bool RifSurfaceExporter::writeGocadTSurfFile( const QString& fil
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
bool RifSurfaceExporter::writePetrellPtlFile( const QString& fileName,
const std::vector<cvf::Vec3d>& vertices,
const std::vector<std::pair<unsigned int, unsigned int>>& columnRowIndices )
bool RifSurfaceExporter::writePetrelPtlFile( const QString& fileName,
const std::vector<cvf::Vec3d>& vertices,
const std::vector<std::pair<unsigned int, unsigned int>>& columnRowIndices )
{
if ( vertices.size() != columnRowIndices.size() ) return false;

View File

@ -34,7 +34,7 @@ public:
const std::vector<cvf::Vec3d>& vertices,
const std::vector<unsigned>& triangleIndices );
static bool writePetrellPtlFile( const QString& fileName,
const std::vector<cvf::Vec3d>& vertices,
const std::vector<std::pair<unsigned int, unsigned int>>& columnRowIndices );
static bool writePetrelPtlFile( const QString& fileName,
const std::vector<cvf::Vec3d>& vertices,
const std::vector<std::pair<unsigned int, unsigned int>>& columnRowIndices );
};