![]() |
QMCPACK
|
General SplineSetReader to handle any unitcell. More...
Inheritance diagram for SplineSetReader< SA >:
Collaboration diagram for SplineSetReader< SA >:Public Member Functions | |
| SplineSetReader (EinsplineSetBuilder *e) | |
| std::unique_ptr< SPOSet > | create_spline_set (const std::string &my_name, int spin, const BandInfoGroup &bandgroup) override |
| create the actual spline sets More... | |
| bool | createSplineDataSpaceLookforDumpFile (const BandInfoGroup &bandgroup, SA &bspline) const |
| create data space in the spline object and try open spline dump files. More... | |
| void | readOneOrbitalCoefs (const std::string &s, hdf_archive &h5f, Vector< std::complex< double >> &cG) const |
| read planewave coefficients from h5 file More... | |
| void | initialize_spline_pio_gather (const int spin, const BandInfoGroup &bandgroup, SA &bspline) const |
| transforming planewave orbitals to 3D B-spline orbitals in real space. More... | |
Public Member Functions inherited from BsplineReader | |
| BsplineReader (EinsplineSetBuilder *e) | |
| virtual | ~BsplineReader () |
| std::string | getSplineDumpFileName (const BandInfoGroup &bandgroup) const |
| template<typename GT , typename BCT > | |
| bool | set_grid (const TinyVector< int, 3 > &halfg, GT *xyz_grid, BCT *xyz_bc) const |
| read gvectors and set the mesh, and prepare for einspline More... | |
| template<typename SPE > | |
| void | check_twists (SPE &bspline, const BandInfoGroup &bandgroup) const |
| initialize twist-related data for N orbitals More... | |
| std::string | psi_g_path (int ti, int spin, int ib) const |
| return the path name in hdf5 More... | |
| std::string | psi_r_path (int ti, int spin, int ib) const |
| return the path name in hdf5 More... | |
| void | setCommon (xmlNodePtr cur) |
| setting common parameters More... | |
| std::unique_ptr< SPOSet > | create_spline_set (int spin, xmlNodePtr cur, SPOSetInputInfo &input_info) |
| create the spline after one of the kind is created More... | |
| std::unique_ptr< SPOSet > | create_spline_set (int spin, xmlNodePtr cur) |
| create the spline set More... | |
| void | setCheckNorm (bool new_checknorm) |
| Set the checkNorm variable. More... | |
| void | setRotate (bool new_rotate) |
| Set the orbital rotation flag. More... | |
| void | initialize_spo2band (int spin, const std::vector< BandInfo > &bigspace, SPOSetInfo &sposet, std::vector< int > &band2spo) |
| build index tables to map a state to band with k-point folidng More... | |
Additional Inherited Members | |
Public Attributes inherited from BsplineReader | |
| EinsplineSetBuilder * | mybuilder |
| pointer to the EinsplineSetBuilder More... | |
| Communicate * | myComm |
| communicator More... | |
| bool | checkNorm |
| mesh size check the norm of orbitals More... | |
| bool | saveSplineCoefs |
| save spline coefficients to storage More... | |
| bool | rotate |
| apply orbital rotations More... | |
| std::vector< std::vector< int > > | spo2band |
| map from spo index to band index More... | |
General SplineSetReader to handle any unitcell.
Definition at line 52 of file SplineSetReader.h.
Definition at line 34 of file SplineSetReader.cpp.
|
overridevirtual |
create the actual spline sets
Implements BsplineReader.
Definition at line 38 of file SplineSetReader.cpp.
| bool createSplineDataSpaceLookforDumpFile | ( | const BandInfoGroup & | bandgroup, |
| SA & | bspline | ||
| ) | const |
create data space in the spline object and try open spline dump files.
| bandgroup | band info |
| bspline | the spline object being worked on |
Definition at line 92 of file SplineSetReader.cpp.
| void initialize_spline_pio_gather | ( | const int | spin, |
| const BandInfoGroup & | bandgroup, | ||
| SA & | bspline | ||
| ) | const |
transforming planewave orbitals to 3D B-spline orbitals in real space.
| spin | orbital dataset spin index |
| bandgroup | band info |
| bspline | the spline object being worked on |
Definition at line 160 of file SplineSetReader.cpp.
| void readOneOrbitalCoefs | ( | const std::string & | s, |
| hdf_archive & | h5f, | ||
| Vector< std::complex< double >> & | cG | ||
| ) | const |
read planewave coefficients from h5 file
| s | data set full path in h5 |
| h5f | hdf5 file handle |
| cG | vector to store coefficients |
Definition at line 136 of file SplineSetReader.cpp.