ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
ucell_io.h
Go to the documentation of this file.
1#ifndef UCELL_IO_H
2#define UCELL_IO_H
3
5
6#include <fstream>
7
8namespace ModuleIO {
9
16class UcellIO {
17public:
24 static void write_ucell(std::ofstream& ofs, const UnitCell* ucell);
25
41 static bool read_ucell(std::ifstream& ifs);
42};
43
44} // namespace ModuleIO
45
46#endif // UCELL_IO_H
A class for unit cell I/O operations.
Definition ucell_io.h:16
static bool read_ucell(std::ifstream &ifs)
Skips the UnitCell block that follows the DMK header.
Definition ucell_io.cpp:38
static void write_ucell(std::ofstream &ofs, const UnitCell *ucell)
Writes the unit cell information to a file.
Definition ucell_io.cpp:8
Provide the basic information about unitcell.
Definition unitcell.h:16
Internal helpers shared by the R-space sparse text writers. Declared here (instead of duplicated in e...
Definition csr_reader.cpp:8