ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
GradCorrParams Struct Reference

Parameters shared by all stages of the gradcorr pipeline. More...

#include <xc_grad_internal.h>

Collaboration diagram for GradCorrParams:

Public Attributes

const Charge * chr
ModulePW::PW_Basis * rhopw
const UnitCell * ucell
int nspin
int nspin0
double fac
bool need_laplacian
bool is_stress
bool igcc_is_lyp
bool domag
bool domag_z
int gga_grad
double hybrid_alpha
double hse_omega
bool use_libxc
int func_type
std::vector< int > func_id

Detailed Description

Parameters shared by all stages of the gradcorr pipeline.

Built once by XC_Functional::gradcorr and passed by const reference. Packing the parameters into one struct keeps same-typed arguments from being silently swapped and leaves stage signatures stable when a new parameter is needed.

Member Data Documentation

◆ chr

const Charge* GradCorrParams::chr

◆ domag

bool GradCorrParams::domag

◆ domag_z

bool GradCorrParams::domag_z

◆ fac

double GradCorrParams::fac

◆ func_id

std::vector<int> GradCorrParams::func_id

◆ func_type

int GradCorrParams::func_type

◆ gga_grad

int GradCorrParams::gga_grad

◆ hse_omega

double GradCorrParams::hse_omega

◆ hybrid_alpha

double GradCorrParams::hybrid_alpha

◆ igcc_is_lyp

bool GradCorrParams::igcc_is_lyp

◆ is_stress

bool GradCorrParams::is_stress

◆ need_laplacian

bool GradCorrParams::need_laplacian

◆ nspin

int GradCorrParams::nspin

◆ nspin0

int GradCorrParams::nspin0

◆ rhopw

ModulePW::PW_Basis* GradCorrParams::rhopw

◆ ucell

const UnitCell* GradCorrParams::ucell

◆ use_libxc

bool GradCorrParams::use_libxc

The documentation for this struct was generated from the following file: