![]() |
QMCPACK
|
Class to handle Sk parsing from scalar.dat This reads a processed scalar.dat from energy.pl format. More...
Inheritance diagram for SkParserScalarDat:
Collaboration diagram for SkParserScalarDat:Public Types | |
| enum | data_layout { KX, KY, KZ, SK, SKERR } |
Public Types inherited from SkParserBase | |
| using | Grid_t = LinearGrid< RealType > |
Public Types inherited from QMCTraits | |
| enum | { DIM = OHMMS_DIM, DIM_VGL = OHMMS_DIM + 2 } |
| using | QTBase = QMCTypes< OHMMS_PRECISION, DIM > |
| using | QTFull = QMCTypes< OHMMS_PRECISION_FULL, DIM > |
| using | RealType = QTBase::RealType |
| using | ComplexType = QTBase::ComplexType |
| using | ValueType = QTBase::ValueType |
| using | PosType = QTBase::PosType |
| using | GradType = QTBase::GradType |
| using | TensorType = QTBase::TensorType |
| using | IndexType = OHMMS_INDEXTYPE |
| define other types More... | |
| using | FullPrecRealType = QTFull::RealType |
| using | FullPrecValueType = QTFull::ValueType |
| using | PropertySetType = RecordNamedProperty< FullPrecRealType > |
| define PropertyList_t More... | |
| using | PtclGrpIndexes = std::vector< std::pair< int, int > > |
Public Member Functions | |
| void | parse (const std::string &fname) override |
Public Member Functions inherited from SkParserBase | |
| 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 Member Functions | |
| void | read_sk_file (const std::string &fname) |
Additional Inherited Members | |
Protected Attributes inherited from SkParserBase | |
| bool | isParseSuccess |
| bool | isGridComputed |
| bool | isSkComputed |
| bool | hasGrid |
| bool | isNormalized |
| Grid_t | xgrid |
| Grid_t | ygrid |
| Grid_t | zgrid |
| std::vector< RealType > | skraw |
| std::vector< RealType > | skerr_raw |
| std::vector< PosType > | kgridraw |
| std::vector< RealType > | sk |
| std::vector< RealType > | skerr |
| std::vector< PosType > | kgrid |
| std::string | skname |
Class to handle Sk parsing from scalar.dat This reads a processed scalar.dat from energy.pl format.
Data to be read must have rhok_e_e val err rhok_e_r val err rhok_e_i val err
Definition at line 17 of file SkParserScalarDat.h.
| enum data_layout |
|
overridevirtual |
Implements SkParserBase.
Definition at line 106 of file SkParserScalarDat.cpp.
References SkParserBase::hasGrid, SkParserBase::isNormalized, SkParserBase::isParseSuccess, and SkParserScalarDat::read_sk_file().
|
private |
Definition at line 13 of file SkParserScalarDat.cpp.
References qmcplusplus::abs(), APP_ABORT, qmcplusplus::Units::distance::pm, SkParserBase::skerr_raw, and SkParserBase::skraw.
Referenced by SkParserScalarDat::parse().