|
ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
|
Go to the source code of this file.
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. | |
Functions | |
| template<typename T> | |
| void | ModuleIO::save_lat_r (std::ofstream &ofs, const SparseRBlock< T > &XR, const Parallel_Blkcyclic &layout, const SparseWriteOptions &options) |
| template<typename T> | |
| void | ModuleIO::save_lat_r_csr (std::ofstream &ofs, const SparseRBlock< T > &XR, const Parallel_Blkcyclic &layout, const SparseWriteOptions &options) |
| Write one R block in the H(R)/S(R)/r(R) CSR text layout. | |
| template<typename T> | |
| void | ModuleIO::save_lat_r_empty_csr (std::ofstream &ofs, int nlocal, const SparseWriteOptions &options) |
| Write an all-zero R block in the H(R)/S(R)/r(R) CSR text layout. | |