|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
A class for unit cell I/O operations. More...
#include <ucell_io.h>
Static Public Member Functions | |
| static void | write_ucell (std::ofstream &ofs, const UnitCell *ucell) |
| Writes the unit cell information to a file. | |
| static void | read_ucell (std::ifstream &ifs) |
| Reads the unit cell information lines in a file. | |
A class for unit cell I/O operations.
This class provides methods to write and read unit cell information to/from files, particularly for DMK files.
|
static |
Reads the unit cell information lines in a file.
| ifs | The input file stream. |
|
static |
Writes the unit cell information to a file.
| ofs | The output file stream. |
| ucell | A pointer to the UnitCell object. |