Updated reader interface

This commit is contained in:
Jon Jenssen
2023-09-06 14:02:19 +02:00
committed by jonjenssen
parent 406c208b33
commit a4e3e26d19
2 changed files with 4 additions and 4 deletions

View File

@@ -385,7 +385,7 @@ int RifInpReader::frameCount( int stepIndex ) const
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
std::vector<std::string> RifInpReader::elementSetNames( int partIndex )
std::vector<std::string> RifInpReader::elementSetNames( int partIndex, std::string partName )
{
// TODO: not implemented yet
if ( partIndex >= m_partElementSetNames.size() ) return {};
@@ -396,7 +396,7 @@ std::vector<std::string> RifInpReader::elementSetNames( int partIndex )
//--------------------------------------------------------------------------------------------------
///
//--------------------------------------------------------------------------------------------------
std::vector<size_t> RifInpReader::elementSet( int partIndex, int setIndex )
std::vector<size_t> RifInpReader::elementSet( int partIndex, std::string partName, int setIndex )
{
// TODO: not implemented yet
std::vector<size_t> elementIndexes;

View File

@@ -45,8 +45,8 @@ public:
std::vector<double> frameTimes( int stepIndex ) const override;
int frameCount( int stepIndex ) const override;
std::vector<std::string> elementSetNames( int partIndex ) override;
std::vector<size_t> elementSet( int partIndex, int setIndex ) override;
std::vector<std::string> elementSetNames( int partIndex, std::string partName ) override;
std::vector<size_t> elementSet( int partIndex, std::string partName, int setIndex ) override;
std::map<std::string, std::vector<std::string>> scalarNodeFieldAndComponentNames() override;
std::map<std::string, std::vector<std::string>> scalarElementNodeFieldAndComponentNames() override;