Skip to content
Snippets Groups Projects
Commit 702c26de authored by Tom Fischer's avatar Tom Fischer
Browse files

[A/FileIO/Gocad] GocadSGridReader: Rm unused function.

parent 4aac036d
No related branches found
No related tags found
No related merge requests found
......@@ -517,30 +517,6 @@ void GocadSGridReader::readElementPropertiesBinary()
}
}
std::vector<int> GocadSGridReader::readFlagsBinary() const
{
std::vector<int> result;
if (!_double_precision_binary)
{
result = BaseLib::readBinaryArray<int32_t>(_flags_fname,
_index_calculator._n_nodes);
std::for_each(result.begin(), result.end(),
[](int32_t& val) { BaseLib::swapEndianness(val); });
}
else
{
result = BaseLib::readBinaryArray<int>(_flags_fname,
_index_calculator._n_nodes);
std::for_each(result.begin(), result.end(),
[](int& val) { BaseLib::swapEndianness(val); });
}
if (result.empty())
ERR("Reading of flags file '%s' failed.", _flags_fname.c_str());
return result;
}
std::vector<Bitset> GocadSGridReader::readRegionFlagsBinary() const
{
std::vector<Bitset> result;
......
......@@ -64,7 +64,6 @@ private:
void parseFaceSet(std::string& line, std::istream& in);
void readNodesBinary();
std::vector<int> readFlagsBinary() const;
std::vector<Bitset> readRegionFlagsBinary() const;
void readElementPropertiesBinary();
void mapRegionFlagsToCellProperties(std::vector<Bitset> const& rf);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment