ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
xc_functional_ncgga_sf.h
Go to the documentation of this file.
1#ifndef XC_FUNCTIONAL_NCGGA_SF_H
2#define XC_FUNCTIONAL_NCGGA_SF_H
3
5
6#include <tuple>
7#include <vector>
8
9class Charge;
10namespace ModulePW
11{
12class PW_Basis;
13}
14
15namespace ModuleXC
16{
17namespace NCGGA_SF_Builtin
18{
19
20// Exact discrete reverse of the regularized mapped-density LCA graph (gga_grad=2).
21std::tuple<double, double, ModuleBase::matrix> v_xc_ncgga_sf_builtin(
22 const int &nrxx,
23 const double &omega,
24 const double tpiba,
25 const Charge *const chr);
26
27// Gradient-metric stress of the exact gga_grad=2 mapped-density LCA graph. The
28// returned lower triangle is the unnormalised real-grid sum; Stress_Func
29// applies the existing pool reduction and 1/nxyz normalisation.
31 const Charge *const chr,
32 ModulePW::PW_Basis *rhopw,
33 const double tpiba,
34 std::vector<double> &stress_gga);
35
36} // namespace NCGGA_SF_Builtin
37} // namespace ModuleXC
38
39#endif
Definition charge.h:24
A class which can convert a function of "r" to the corresponding linear superposition of plane waves ...
Definition pw_basis.h:60
Definition pw_op.cpp:3
Definition xc_functional_ncgga_sf.cpp:18
std::tuple< double, double, ModuleBase::matrix > v_xc_ncgga_sf_builtin(const int &nrxx, const double &omega, const double tpiba, const Charge *const chr)
Definition xc_functional_ncgga_sf.cpp:20
void gradcorr_ncgga_lca_builtin(const Charge *const chr, ModulePW::PW_Basis *rhopw, const double tpiba, std::vector< double > &stress_gga)
Definition xc_functional_ncgga_sf.cpp:197
Definition xc_functional_ncgga_sf.cpp:16