ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
write_wfc_nao.cpp File Reference
Include dependency graph for write_wfc_nao.cpp:

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::wfc_nao_write2file (const std::string &name, const double *ctot, const int nlocal, const int ik, const ModuleBase::matrix &ekb, const ModuleBase::matrix &wg, const bool &writeBinary, const bool &append_flag, const std::string &header)
 write real-valued Gamma-only wavefunction coefficients to a file.
void ModuleIO::wfc_nao_write2file_complex (const std::string &name, const std::complex< double > *ctot, const int nlocal, const int &ik, const ModuleBase::Vector3< double > &kvec_c, const ModuleBase::matrix &ekb, const ModuleBase::matrix &wg, const bool &writeBinary, const bool &append_flag, const std::string &header)
 write complex wavefunction coefficients to a file.
template<typename T>
void ModuleIO::write_wfc_nao (const int out_type, const int out_app_flag, const psi::Psi< T > &psi, const ModuleBase::matrix &ekb, const ModuleBase::matrix &wg, const std::vector< ModuleBase::Vector3< double > > &kvec_c, const std::vector< int > &ik2iktot, const int nkstot, const Parallel_Orbitals &pv, const int nspin, std::ofstream &ofs_running, const int istep)
template void ModuleIO::write_wfc_nao< double > (const int out_type, const int out_app_flag, const psi::Psi< double > &psi, const ModuleBase::matrix &ekb, const ModuleBase::matrix &wg, const std::vector< ModuleBase::Vector3< double > > &kvec_c, const std::vector< int > &ik2iktot, const int nkstot, const Parallel_Orbitals &pv, const int nspin, std::ofstream &ofs_running, const int istep)
template void ModuleIO::write_wfc_nao< std::complex< double > > (const int out_type, const int out_app_flag, const psi::Psi< std::complex< double > > &psi, const ModuleBase::matrix &ekb, const ModuleBase::matrix &wg, const std::vector< ModuleBase::Vector3< double > > &kvec_c, const std::vector< int > &ik2iktot, const int nkstot, const Parallel_Orbitals &pv, const int nspin, std::ofstream &ofs_running, const int istep)