ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
deepks_orbital.h
Go to the documentation of this file.
1#ifndef DEEPKS_ORBITAL_H
2#define DEEPKS_ORBITAL_H
3
4#ifdef __MLALGO
5
9#include "source_base/timer.h"
11
12namespace DeePKS_domain
13{
14//------------------------
15// deepks_orbital.cpp
16//------------------------
17
18// This file contains subroutines for calculating O_delta, i.e., corrections of the bandgap,
19// which is defind as sum_mu,nu rho^{hl}_mu,nu <chi_mu|alpha>V(D)<alpha|chi_nu>
20// where rho^{hl}_mu,nu = C_{L\mu}C_{L\nu} - C_{H\mu}C_{H\nu}, L for LUMO, H for HOMO
21
22// There are 1 subroutine in this file:
23// 1. cal_o_delta, which is used for O_delta calculation
24
25template <typename TK, typename TH>
26void cal_o_delta(const std::vector<TH>& dm_hl,
27 const std::vector<std::vector<TK>>& h_delta,
28 ModuleBase::matrix& o_delta,
29 const Parallel_Orbitals& pv,
30 const int nks,
31 const int nspin);
32} // namespace DeePKS_domain
33
34#endif
35#endif
Definition matrix.h:18
Definition parallel_orbitals.h:9
Definition deepks_basic.h:12
void cal_o_delta(const std::vector< TH > &dm_hl, const std::vector< std::vector< TK > > &h_delta, ModuleBase::matrix &o_delta, const Parallel_Orbitals &pv, const int nks, const int nspin)
Definition deepks_orbital.cpp:11