![]() |
QMCPACK
|
Class to handle reading the S(k) directly from stat.h5 file. More...
Public Member Functions | |
void | parse (const std::string &fname) override |
![]() | |
SkParserBase () | |
virtual | ~SkParserBase () |
void | get_grid (Grid_t &xgrid, Grid_t &ygrid, Grid_t &zgrid) |
void | get_sk (std::vector< RealType > &sk, std::vector< RealType > &skerr) |
std::vector< PosType > | get_grid_raw () |
std::vector< RealType > | get_sk_raw () |
std::vector< RealType > | get_skerr_raw () |
void | compute_sk () |
void | set_grid (const std::vector< PosType > &gridpoints) |
void | set_grid (const std::vector< TinyVector< int, OHMMS_DIM >> &gridpoints) |
void | compute_grid () |
bool | is_normalized () |
bool | has_grid () |
void | setName (std::string in_name) |
Private Attributes | |
hdf_archive | statfile |
Class to handle reading the S(k) directly from stat.h5 file.
This class parses the kgrid and fluctuation S(k) from skall estimator. In the parse function, it performs a simple equilibration estimate and block average to create the S(k) to use for the corrections
Definition at line 17 of file SkParserHDF5.h.
|
overridevirtual |
Implements SkParserBase.
Definition at line 7 of file SkParserHDF5.cpp.
References hdf_archive::close(), qmcplusplus::estimateEquilibration(), hdf_archive::getShape(), qmcplusplus::getStats(), SkParserBase::hasGrid, SkParserBase::isNormalized, SkParserBase::isParseSuccess, SkParserBase::kgridraw, hdf_archive::open(), hdf_archive::readSlabReshaped(), SkParserBase::skerr_raw, SkParserBase::skname, SkParserBase::skraw, and SkParserHDF5::statfile.
|
private |
Definition at line 23 of file SkParserHDF5.h.
Referenced by SkParserHDF5::parse().