|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
#include "pos_op_csr.h"#include "source_base/tool_quit.h"#include "source_io/module_hs/hs_sparse_io_detail.h"#include <fstream>Namespaces | |
| namespace | ModuleIO |
| Internal helpers shared by the R-space sparse text writers. Declared here (instead of duplicated in each anonymous namespace) so the header layout, R records and file-append rules cannot diverge between hs_sparse_io.cpp, dhs_sparse_writer.cpp, pos_op_csr.cpp, hsr_writer.cpp and write_dmr.cpp. | |
| namespace | ModuleIO::detail |
Functions | |
| bool | ModuleIO::detail::lat_r_nonempty (const int nonzero_num[3]) |
| void | ModuleIO::detail::assemble_csr (const std::string &output_filename, const std::string &payload_filename, int step, int nlocal, int output_R_number, bool binary, bool append, const std::string &axis, const UnitCell *ucell, const std::string &context) |
| Assemble one r(R) component file from its temporary block payload. | |