ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
general_exx_info.h
Go to the documentation of this file.
1#ifndef GENERAL_EXX_INFO_H
2#define GENERAL_EXX_INFO_H
3
4#include "coulomb_config.h"
5
6#include <cstddef>
7
11{
12 bool cal_exx = false;
13
15
16 // Fock:
17 // "alpha": "0"
18 // "singularity_correction": "limits" / "spencer" / "revised_spencer" / "massidda" / "carrier"
19 // "lambda": "0.3"
20 // "Rcut"
21 // Erfc:
22 // "alpha": "0"
23 // "omega": "0.11"
24 // "singularity_correction": "limits" / "spencer" / "revised_spencer"
25 // "Rcut"
26
28 double hybrid_alpha = 0.25;
29 double hse_omega = 0.11;
31
32 bool separate_loop = true;
33 size_t hybrid_step = 1;
34
35 // PW EXX operator configuration:
36 bool exxace = false; // ACE acceleration of the EXX operator (INPUT exxace)
37 bool gamma_extrapolation = true; // INPUT exx_gamma_extra
38 double ecut_exx = 0.0; // resolved EXX cutoff (Ry): ecutexx when set, else ecutrho
39 bool ecutexx_user_set = false; // ecutexx explicitly set (controls small-grid fallback warnings)
40 int exx_batch_size = 0; // band chunk width of the batched EXX path; 0 = all bands
41};
42
44struct Input_para;
45
49
50#endif // GENERAL_EXX_INFO_H
std::map< Conv_Coulomb_Pot_K::Coulomb_Type, std::vector< std::map< std::string, std::string > > > CoulombParam
Definition coulomb_config.h:29
bool init_general_exx_info(General_Exx_Info &info, const Input_para &inp)
Definition exx_info.cpp:21
Ccp_Type
Definition coulomb_config.h:16
Definition general_exx_info.h:11
double ecut_exx
Definition general_exx_info.h:38
Conv_Coulomb_Pot_K::Ccp_Type ccp_type
Definition general_exx_info.h:27
int exx_batch_size
Definition general_exx_info.h:40
bool gamma_extrapolation
Definition general_exx_info.h:37
bool cal_exx
Definition general_exx_info.h:12
size_t hybrid_step
Definition general_exx_info.h:33
double mixing_beta_for_loop1
Definition general_exx_info.h:30
bool separate_loop
Definition general_exx_info.h:32
CoulombParam coulomb_param
Definition general_exx_info.h:14
bool exxace
Definition general_exx_info.h:36
double hybrid_alpha
Definition general_exx_info.h:28
bool ecutexx_user_set
Definition general_exx_info.h:39
double hse_omega
Definition general_exx_info.h:29
Definition input_parameter.h:13