#3512 System : Remove unused functions

This commit is contained in:
Magne Sjaastad
2018-10-18 15:14:25 +02:00
parent 5e25db97da
commit 766fea603e
54 changed files with 47 additions and 669 deletions

View File

@@ -397,30 +397,6 @@ std::vector<std::string> RifHdf5Reader::getSubGroupNames(H5::H5File file, std::s
//--------------------------------------------------------------------------------------------------
/// Intended for finding all timesteps of one SourSimRL result file
//--------------------------------------------------------------------------------------------------
std::vector<double> RifHdf5Reader::getStepTimeValues(H5::H5File file, std::string baseGroupName) const
{
std::vector<std::string> subGroupNames = getSubGroupNames(file, baseGroupName);
std::vector<double> stepTimeValues;
for (std::vector<std::string>::iterator it = subGroupNames.begin(); it != subGroupNames.end(); it++)
{
if (it->find("Timestep_") != std::string::npos)
{
std::string groupName = baseGroupName + *it;
double timestep_value = getDoubleAttribute(file, groupName, "timestep");
stepTimeValues.push_back(timestep_value);
}
}
return stepTimeValues;
}
//--------------------------------------------------------------------------------------------------