ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
dos_npy_header.h File Reference
#include <algorithm>
#include <cstdint>
#include <limits>
#include <ostream>
#include <string>
Include dependency graph for dos_npy_header.h:
This graph shows which files directly or indirectly include this file:

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

void ModuleIO::write_dos_npy_header (std::ostream &out, const std::string &fields, std::size_t count)
 Write the NPY v1 header for a one-dimensional array of structured records.