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

#include <dftu_types.h>

Collaboration diagram for DFTU_BASE::OccmatOutputCfg:

Public Attributes

int out_freq_ion
 ionic-step interval; 0 disables numbered files
int out_freq_elec
 electronic-iteration interval recorded inside a numbered file
int scf_nmax
 maximum number of electronic iterations
bool out_occ_mat
int dft_plus_u

Detailed Description

Frequency configuration for numbered occupation-matrix output.

Each output ionic step (out_freq_ion) owns one file occ_matg{#}.txt. Within that file, one section is appended at every electronic step selected by out_freq_elec, scf_nmax or convergence.

Member Data Documentation

◆ dft_plus_u

int DFTU_BASE::OccmatOutputCfg::dft_plus_u

DFT+U calculation mode (INPUT parameter dft_plus_u). The occupation- matrix IO is meaningful only when dft_plus_u > 0; otherwise the occupation matrix is never computed and the writers must early-out to avoid touching an empty l_channel vector. This honours the documented contract that out_occ_mat only takes effect for DFT+U.

◆ out_freq_elec

int DFTU_BASE::OccmatOutputCfg::out_freq_elec

electronic-iteration interval recorded inside a numbered file

◆ out_freq_ion

int DFTU_BASE::OccmatOutputCfg::out_freq_ion

ionic-step interval; 0 disables numbered files

◆ out_occ_mat

bool DFTU_BASE::OccmatOutputCfg::out_occ_mat

master switch of occupation-matrix output (out_occ_mat INPUT parameter)

◆ scf_nmax

int DFTU_BASE::OccmatOutputCfg::scf_nmax

maximum number of electronic iterations


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