ABACUS
develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
source
source_lcao
module_deepks
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
6
#include "
source_base/complexmatrix.h
"
7
#include "
source_base/intarray.h
"
8
#include "
source_base/matrix.h
"
9
#include "
source_base/timer.h
"
10
#include "
source_basis/module_ao/parallel_orbitals.h
"
11
12
namespace
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
25
template
<
typename
TK,
typename
TH>
26
void
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
ModuleBase::matrix
Definition
matrix.h:18
Parallel_Orbitals
Definition
parallel_orbitals.h:9
complexmatrix.h
intarray.h
matrix.h
DeePKS_domain
Definition
deepks_basic.h:12
DeePKS_domain::cal_o_delta
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
parallel_orbitals.h
timer.h
Generated by
1.9.8