19 #ifndef QMCPLUSPLUS_OBSERVABLEHELPER_H 20 #define QMCPLUSPLUS_OBSERVABLEHELPER_H
std::vector< hsize_t > offsets
offsets
void write(T &data, const std::string &aname)
write the data to the group aname and check status runtime error is issued on I/O error ...
helper functions for EinsplineSetBuilder
~ObservableHelper()
Destructor closes hdf5 remaining resources.
ObservableHelper(hdf_path title)
Favored constructor.
void write(const value_type *const first_v, hdf_archive &file)
void addProperty(T &p, const std::string &pname, hdf_archive &file)
add named property to describe the collectable this helper class handles
hsize_t current
"file pointer" for h5d_append
Tensor<T,D> class for D by D tensor.
std::vector< hsize_t > mydims
my dimensions
hsize_t lower_bound
starting index
hdf_path group_name
Path of this observable.
void push(const std::string &gname, bool createit=true)
push a group to the group stack
void set_dimensions(const std::vector< int > &dims, int first)
set the shape of this observable
ObservableHelper & operator=(const ObservableHelper &)=delete
QTFull::RealType FullPrecRealType
QMCTraits::FullPrecRealType value_type