ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
dftu_nao_occ.h File Reference
#include "source_basis/module_ao/parallel_orbitals.h"
#include "source_base/matrix.h"
#include "source_cell/klist.h"
#include "source_cell/unitcell.h"
#include "source_hamilt/hamilt.h"
#include <complex>
#include <string>
#include <vector>
Include dependency graph for dftu_nao_occ.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  DFTU_LCAO

Functions

template<typename T>
void DFTU_LCAO::cal_occ_mat (const Parallel_Orbitals *pv, const UnitCell &ucell, const std::vector< std::vector< T > > &dm, const K_Vectors &kv, const double &mixing_beta, hamilt::Hamilt< T > *p_ham, Plus_U_Base &dftu, const bool gamma_only_local, const int nspin, const std::string &ks_solver)
 Compute the occupation matrix occ(m,m') = sum_R DMR(I,J,R) * <phi_0|chi_m(I)> * <chi_m'(J)|phi_R> and delegate to the Plus_U member.
void DFTU_LCAO::cal_occ_mat_k (const Parallel_Orbitals *pv, const UnitCell &ucell, const std::vector< std::vector< std::complex< double > > > &dm_k, const K_Vectors &kv, const double &mixing_beta, hamilt::Hamilt< std::complex< double > > *p_ham, const bool gamma_only_local, Plus_U_Base &dftu, const std::string &ks_solver)
void DFTU_LCAO::cal_occ_mat_gamma (const Parallel_Orbitals *pv, const UnitCell &ucell, const std::vector< std::vector< double > > &dm_gamma, const double &mixing_beta, hamilt::Hamilt< double > *p_ham, Plus_U_Base &dftu)