17 #ifndef _ADIOSScalar_h 18 #define _ADIOSScalar_h 20 #ifndef VTK_WRAPPING_CXX 36 Scalar(ADIOS_FILE *f, ADIOS_VARINFO *v);
40 const T&
GetValue(
size_t step,
size_t block)
const 45 ReadError::TestNe<StepBlock*>(
nullptr, idx,
"Variable not available");
47 return reinterpret_cast<const T*
>(this->
Values)[idx->BlockId];
57 #endif // _ADIOSScalar_h Scalar(ADIOS_FILE *f, ADIOS_VARINFO *v)
static void TestEq(const T &expected, const T &actual, const std::string &msg="")
const T & GetValue(size_t step, size_t block) const
StepBlock * GetNewestBlockIndex(size_t step, size_t pid) const