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
31 static void read_ucell(std::ifstream& ifs);
32};
33
34} // namespace ModuleIO
35
36#endif // UCELL_IO_H
A class for unit cell I/O operations.
Definition ucell_io.h:16
static void write_ucell(std::ofstream &ofs, const UnitCell *ucell)
Writes the unit cell information to a file.
Definition ucell_io.cpp:8
static void read_ucell(std::ifstream &ifs)
Reads the unit cell information lines in a file.
Definition ucell_io.cpp:38
Definition unitcell.h:15
Definition input_help.cpp:10