ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
write_dmr.h
Go to the documentation of this file.
1#ifndef MODULE_IO_WRITE_DMR_H
2#define MODULE_IO_WRITE_DMR_H
3
6
7#include <string>
8
9namespace ModuleIO
10{
11
21std::string dmr_gen_fname(const int out_type, const int ispin, const bool append = true, const int istep = -1);
22
30void write_dmr_csr(std::string& fname, hamilt::HContainer<double>* dm_serial, const int istep);
31
44void write_dmr(const std::vector<hamilt::HContainer<double>*> dmr,
45 const Parallel_2D& paraV,
46 const bool append,
47 const int* iat2iwt,
48 const int nat,
49 const int istep);
50} // namespace ModuleIO
51
52#endif
This class packs the basic information of 2D-block-cyclic parallel distribution of an arbitrary matri...
Definition parallel_2d.h:12
Definition hcontainer.h:144
This class has two functions: restart psi from the previous calculation, and write psi to the disk.
Definition cal_dos.h:9
void write_dmr(const std::vector< hamilt::HContainer< double > * > dmr, const Parallel_2D &paraV, const bool append, const int *iat2iwt, const int nat, const int istep)
Definition write_dmr.cpp:66
std::string dmr_gen_fname(const int out_type, const int ispin, const bool append, const int istep)
Definition write_dmr.cpp:12
void write_dmr_csr(std::string &fname, hamilt::HContainer< double > *dm_serial, const int istep)
Definition write_dmr.cpp:38