ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
write_dos_lcao.h
Go to the documentation of this file.
1#ifndef WRITE_DOS_LCAO_H
2#define WRITE_DOS_LCAO_H
3
4#include "source_base/matrix.h" // use matrix
5#include "source_cell/klist.h" // use K_Vectors
6#include "source_psi/psi.h" // use psi::Psi<T>
7#include "source_hamilt/hamilt.h" // use hamilt::Hamilt<T>
8#include "source_basis/module_ao/parallel_orbitals.h" // use Parallel_Orbitals
9#include "source_estate/fp_energy.h" // use elecstate::Efermi
10
11
12namespace ModuleIO
13{
17 template <typename T>
18 void write_dos_lcao(
19 const psi::Psi<T>* psi, // LCAO wave functions
20 hamilt::Hamilt<T>* p_ham, // Hamiltonian
21 const Parallel_Orbitals &pv, // Parallel scheme for LCAO wave functions
22 const UnitCell& ucell, // Unit cell information
23 const K_Vectors& kv, // k-point information in Brillouin zone
24 const int nbands, // Number of bands
25 const elecstate::Efermi &energy_fermi, // Fermi energy
26 const ModuleBase::matrix& ekb, // Eigenvalues per k-point and band
27 const ModuleBase::matrix& wg, // Weights of eigenvalues
28 const double& dos_edelta_ev, // Delta energy
29 const double& dos_scale,
30 const double& bcoeff,
31 const int out_dos,
32 const int out_app_flag,
33 const int precision, // number of decimal places in doss/pdoss files
34 const int istep,
35 const int nspin,
36 const int nlocal,
37 const bool dos_setemax,
38 const double dos_emax_ev,
39 const bool dos_setemin,
40 const double dos_emin_ev,
41 const bool two_fermi,
42 const int bndpar,
43 const std::string& global_out_dir,
44 std::ofstream &ofs_running);
45}
46#endif
This file contains all energies about first-principle calculations.
Internal helpers shared by the R-space sparse text writers. Declared here (instead of duplicated in e...
Definition csr_reader.cpp:8
void write_dos_lcao(const psi::Psi< T > *psi, hamilt::Hamilt< T > *p_ham, const Parallel_Orbitals &pv, const UnitCell &ucell, const K_Vectors &kv, const int nbands, const elecstate::Efermi &energy_fermi, const ModuleBase::matrix &ekb, const ModuleBase::matrix &wg, const double &dos_edelta_ev, const double &dos_scale, const double &bcoeff, const int out_dos, const int out_app_flag, const int precision, const int istep, const int nspin, const int nlocal, const bool dos_setemax, const double dos_emax_ev, const bool dos_setemin, const double dos_emin_ev, const bool two_fermi, const int bndpar, const std::string &global_out_dir, std::ofstream &ofs_running)
calculate density of states(DOS), partial density of states(PDOS), and mulliken charge for LCAO base
Definition write_dos_lcao.cpp:58