mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#4495 Active Cells : Remove unused function
This commit is contained in:
@@ -517,33 +517,6 @@ bool RifEclipseOutputFileTools::isExportedFromIntersect(const ecl_file_type* ecl
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
///
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
|
||||||
ecl_kw_type* RifEclipseOutputFileTools::createActnumFromPorv(ecl_file_type* ecl_file)
|
|
||||||
{
|
|
||||||
std::string porv_kw("PORV");
|
|
||||||
|
|
||||||
if (ecl_file_has_kw(ecl_file, porv_kw.data()))
|
|
||||||
{
|
|
||||||
ecl_file_view_type* fileView = ecl_file_get_global_view(ecl_file);
|
|
||||||
|
|
||||||
int keywordCount = ecl_file_get_num_named_kw(ecl_file, porv_kw.data());
|
|
||||||
for (int index = 0; index < keywordCount; index++)
|
|
||||||
{
|
|
||||||
ecl_kw_type* fileKeyword = ecl_file_view_iget_named_kw(fileView, porv_kw.data(), index);
|
|
||||||
if (fileKeyword)
|
|
||||||
{
|
|
||||||
float porvLimit = 0.0f;
|
|
||||||
|
|
||||||
return ecl_kw_alloc_actnum(fileKeyword, porvLimit);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
return nullptr;
|
|
||||||
}
|
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
/// Convenience method to hide C fopen calls in #pragma declarations to avoid warnings on Windows
|
/// Convenience method to hide C fopen calls in #pragma declarations to avoid warnings on Windows
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
|||||||
@@ -78,8 +78,6 @@ public:
|
|||||||
|
|
||||||
static bool isExportedFromIntersect(const ecl_file_type* ecl_file);
|
static bool isExportedFromIntersect(const ecl_file_type* ecl_file);
|
||||||
|
|
||||||
static ecl_kw_type* createActnumFromPorv(ecl_file_type* ecl_file);
|
|
||||||
|
|
||||||
static FILE* fopen(const QString& filePath, const QString& mode);
|
static FILE* fopen(const QString& filePath, const QString& mode);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
Reference in New Issue
Block a user