|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include "source_base/parallel_2d.h"#include "source_cell/unitcell.h"#include <string>#include <vector>Go to the source code of this file.
Namespaces | |
| namespace | ModuleIO |
Functions | |
| std::string | ModuleIO::dmk_gen_fname (const bool gamma_only, const int ispin, const int nspin, const int ik, const int istep) |
| Generates the filename for the DMK file based on the given parameters. | |
| void | ModuleIO::dmk_write_ucell (std::ofstream &ofs, const UnitCell *ucell) |
| Writes the unit cell information to a DMK file. | |
| void | ModuleIO::dmk_read_ucell (std::ifstream &ifs) |
| Reads the unit cell information lines in a DMK file. | |
| void | ModuleIO::dmk_readData (std::ifstream &ifs, double &data) |
| Read one double from a file. | |
| void | ModuleIO::dmk_readData (std::ifstream &ifs, std::complex< double > &data) |
| Read one complex double from a file. | |
| template<typename T > | |
| bool | ModuleIO::read_dmk (const int nspin, const int nk, const Parallel_2D &pv, const std::string &dmk_dir, std::vector< std::vector< T > > &dmk, std::ofstream &ofs_running) |
| Reads the DMK data from a file. | |
| template<typename T > | |
| void | ModuleIO::write_dmk (const std::vector< std::vector< T > > &dmk, const int precision, const std::vector< double > &efs, const UnitCell *ucell, const Parallel_2D &pv, const int istep) |
| Writes the DMK data to a file. | |