Пример #1
0
void mcobservables_load(alps::mcobservables & self, alps::hdf5::archive & ar, std::string const & path) {
    std::string current = ar.get_context();
    ar.set_context(path);
    self.load(ar);
    ar.set_context(current);
}
Пример #2
0
 /// Load from HDF5
 void load(alps::hdf5::archive &ar) {
   load(ar, ar.get_context());
 }
Пример #3
0
 /// Save to HDF5
 void save(alps::hdf5::archive &ar) const {
   save(ar, ar.get_context());
 }
Пример #4
0
 from_archive(alps::hdf5::archive& ar)
     : ar_(ar), context_(ar.get_context())
 {}