ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
write_wfc_nao.h
Go to the documentation of this file.
1#ifndef WRITE_WFC_NAO_H
2#define WRITE_WFC_NAO_H
5#include "source_psi/psi.h"
7#include <iosfwd>
8#include <string>
9#include <vector>
10
11namespace ModuleIO
12{
13
28template <typename T>
29void write_wfc_nao(const int out_type,
30 const int out_app_flag,
31 const psi::Psi<T>& psi,
32 const ModuleBase::matrix& ekb,
33 const ModuleBase::matrix& wg,
34 const std::vector<ModuleBase::Vector3<double>>& kvec_c,
35 const std::vector<int> &ik2iktot,
36 const int nkstot,
37 const Parallel_Orbitals& pv,
38 const int nspin,
39 std::ofstream& ofs_running,
40 const int istep=-1) ;
41
56void wfc_nao_write2file(const std::string& name,
57 const double* ctot,
58 const int nlocal,
59 const int ik,
60 const ModuleBase::matrix& ekb,
61 const ModuleBase::matrix& wg,
62 const bool& writeBinary,
63 const bool& append_flag,
64 const std::string& header);
65
81void wfc_nao_write2file_complex(const std::string& name,
82 const std::complex<double>* ctot,
83 const int nlocal,
84 const int& ik,
85 const ModuleBase::Vector3<double>& kvec_c,
86 const ModuleBase::matrix& ekb,
87 const ModuleBase::matrix& wg,
88 const bool& writeBinary,
89 const bool& append_flag,
90 const std::string& header);
91}// namespace ModuleIO
92#endif
Internal helpers shared by the R-space sparse text writers. Declared here (instead of duplicated in e...
Definition csr_reader.cpp:8
void 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)
Definition write_wfc_nao.cpp:275
void 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.
Definition write_wfc_nao.cpp:74
void 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.
Definition write_wfc_nao.cpp:171