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

Aggregated SCF convergence thresholds and status flags for chgmixing_ks. More...

#include <chg_routine.h>

Collaboration diagram for module_charge::ScfMixingCtx:

Public Attributes

int iter_limit
 maximum iterations for the current SCF attempt
double hsolver_error
 solver error from diagonalization
double scf_thr
 charge density convergence threshold
double scf_ene_thr
 energy convergence threshold
bool converged_u
 whether DFT+U has converged
bool ks_run
 whether the current run is a KS calculation (PARAM.globalv.ks_run)
bool model_changed = false
 a potential component changed its model in this iteration (SCCS delayed start); the SCF is not converged
double drho
 charge density deviation (in/out)
bool oscillate_esolver
 whether esolver oscillates (out)
bool conv_esolver
 whether esolver converged (out)

Detailed Description

Aggregated SCF convergence thresholds and status flags for chgmixing_ks.

Member Data Documentation

◆ conv_esolver

bool module_charge::ScfMixingCtx::conv_esolver

whether esolver converged (out)

◆ converged_u

bool module_charge::ScfMixingCtx::converged_u

whether DFT+U has converged

◆ drho

double module_charge::ScfMixingCtx::drho

charge density deviation (in/out)

◆ hsolver_error

double module_charge::ScfMixingCtx::hsolver_error

solver error from diagonalization

◆ iter_limit

int module_charge::ScfMixingCtx::iter_limit

maximum iterations for the current SCF attempt

◆ ks_run

bool module_charge::ScfMixingCtx::ks_run

whether the current run is a KS calculation (PARAM.globalv.ks_run)

◆ model_changed

bool module_charge::ScfMixingCtx::model_changed = false

a potential component changed its model in this iteration (SCCS delayed start); the SCF is not converged

◆ oscillate_esolver

bool module_charge::ScfMixingCtx::oscillate_esolver

whether esolver oscillates (out)

◆ scf_ene_thr

double module_charge::ScfMixingCtx::scf_ene_thr

energy convergence threshold

◆ scf_thr

double module_charge::ScfMixingCtx::scf_thr

charge density convergence threshold


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