mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-25 13:15:55 +01:00
Merge branch 'develop' into feature/scalar-hmc-update
This commit is contained in:
commit
0b707b861c
@ -65,10 +65,12 @@ Hdf5Reader::Hdf5Reader(const std::string &fileName)
|
|||||||
Hdf5Type<unsigned int>::type());
|
Hdf5Type<unsigned int>::type());
|
||||||
}
|
}
|
||||||
|
|
||||||
void Hdf5Reader::push(const std::string &s)
|
bool Hdf5Reader::push(const std::string &s)
|
||||||
{
|
{
|
||||||
group_ = group_.openGroup(s);
|
group_ = group_.openGroup(s);
|
||||||
path_.push_back(s);
|
path_.push_back(s);
|
||||||
|
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void Hdf5Reader::pop(void)
|
void Hdf5Reader::pop(void)
|
||||||
|
@ -54,7 +54,7 @@ namespace Grid
|
|||||||
public:
|
public:
|
||||||
Hdf5Reader(const std::string &fileName);
|
Hdf5Reader(const std::string &fileName);
|
||||||
virtual ~Hdf5Reader(void) = default;
|
virtual ~Hdf5Reader(void) = default;
|
||||||
void push(const std::string &s);
|
bool push(const std::string &s);
|
||||||
void pop(void);
|
void pop(void);
|
||||||
template <typename U>
|
template <typename U>
|
||||||
void readDefault(const std::string &s, U &output);
|
void readDefault(const std::string &s, U &output);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user