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 <vector>
8
9namespace ModuleIO
10{
11
26template <typename T>
27void write_wfc_nao(const int out_type,
28 const bool out_app_flag,
29 const psi::Psi<T>& psi,
30 const ModuleBase::matrix& ekb,
31 const ModuleBase::matrix& wg,
32 const std::vector<ModuleBase::Vector3<double>>& kvec_c,
33 const std::vector<int> &ik2iktot,
34 const int nkstot,
35 const Parallel_Orbitals& pv,
36 const int nspin,
37 const int istep=-1) ;
38
39void wfc_nao_write2file(const std::string& name,
40 const double* ctot,
41 const int nlocal,
42 const int ik,
43 const ModuleBase::matrix& ekb,
44 const ModuleBase::matrix& wg,
45 const bool& writeBinary,
46 const bool& append_flag = false);
47
48void wfc_nao_write2file_complex(const std::string& name,
49 const std::complex<double>* ctot,
50 const int nlocal,
51 const int& ik,
52 const ModuleBase::Vector3<double>& kvec_c,
53 const ModuleBase::matrix& ekb,
54 const ModuleBase::matrix& wg,
55 const bool& writeBinary = false,
56 const bool& append_flag = false);
57}// namespace ModuleIO
58#endif
3 elements vector
Definition vector3.h:22
Definition matrix.h:19
Definition parallel_orbitals.h:9
Definition psi.h:37
This class has two functions: restart psi from the previous calculation, and write psi to the disk.
Definition cal_dos.h:9
void write_wfc_nao(const int out_type, const bool 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, const int istep)
Definition write_wfc_nao.cpp:204
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)
Definition write_wfc_nao.cpp:17
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)
Definition write_wfc_nao.cpp:107
Definition exx_lip.h:23