diff --git a/source/adios2/engine/bp5/BP5Engine.h b/source/adios2/engine/bp5/BP5Engine.h index be7f40a3b1..42464119a3 100644 --- a/source/adios2/engine/bp5/BP5Engine.h +++ b/source/adios2/engine/bp5/BP5Engine.h @@ -172,10 +172,10 @@ class BP5Engine MACRO(StatsBlockSize, SizeBytes, size_t, DefaultStatsBlockSize) \ MACRO(Threads, UInt, unsigned int, 0) \ MACRO(UseOneTimeAttributes, Bool, bool, true) \ - MACRO(FlattenSteps, Bool, bool, false) \ - MACRO(IgnoreFlattenSteps, Bool, bool, false) \ MACRO(RemoteDataPath, String, std::string, "") \ - MACRO(MaxOpenFilesAtOnce, UInt, unsigned int, UINT_MAX) + MACRO(MaxOpenFilesAtOnce, UInt, unsigned int, UINT_MAX) \ + MACRO(FlattenSteps, Bool, bool, false) \ + MACRO(IgnoreFlattenSteps, Bool, bool, false) struct BP5Params { diff --git a/source/adios2/toolkit/format/bp5/BP5Deserializer.cpp b/source/adios2/toolkit/format/bp5/BP5Deserializer.cpp index 5d5940f256..c930bab1c8 100644 --- a/source/adios2/toolkit/format/bp5/BP5Deserializer.cpp +++ b/source/adios2/toolkit/format/bp5/BP5Deserializer.cpp @@ -1996,6 +1996,12 @@ int BP5Deserializer::FindOffset(size_t Dims, const size_t *Size, const size_t *I * ******************************* */ +BP5Deserializer::BP5Deserializer(bool WriterIsRowMajor, bool ReaderIsRowMajor, + bool RandomAccessMode) + : BP5Deserializer::BP5Deserializer(WriterIsRowMajor, ReaderIsRowMajor, RandomAccessMode, false) +{ +} + BP5Deserializer::BP5Deserializer(bool WriterIsRowMajor, bool ReaderIsRowMajor, bool RandomAccessMode, bool FlattenSteps) : m_WriterIsRowMajor{WriterIsRowMajor}, m_ReaderIsRowMajor{ReaderIsRowMajor}, diff --git a/source/adios2/toolkit/format/bp5/BP5Deserializer.h b/source/adios2/toolkit/format/bp5/BP5Deserializer.h index 9f5e8d32cd..3f70806ef5 100644 --- a/source/adios2/toolkit/format/bp5/BP5Deserializer.h +++ b/source/adios2/toolkit/format/bp5/BP5Deserializer.h @@ -35,8 +35,8 @@ class BP5Deserializer : virtual public BP5Base { public: - BP5Deserializer(bool WriterIsRowMajor, bool ReaderIsRowMajor, bool RandomAccessMode = false, - bool FlattenSteps = false); + BP5Deserializer(bool WriterIsRowMajor, bool ReaderIsRowMajor, bool RandomAccessMode = false); + BP5Deserializer(bool WriterIsRowMajor, bool ReaderIsRowMajor, bool RandomAccessMode, bool FlattenSteps); ~BP5Deserializer();