SIRIUS 7.5.0
Electronic structure library and applications
|
Parameters of the simulation. More...
#include <config.hpp>
Public Member Functions | |
parameters_t (nlohmann::json &dict__) | |
auto | electronic_structure_method () const |
Type of electronic structure method. More... | |
void | electronic_structure_method (std::string electronic_structure_method__) |
auto | xc_functionals () const |
List of XC functionals (typically contains exchange term and correlation term). More... | |
void | xc_functionals (std::vector< std::string > xc_functionals__) |
auto | core_relativity () const |
Type of core-states relativity in full-potential LAPW case. More... | |
void | core_relativity (std::string core_relativity__) |
auto | valence_relativity () const |
Type of valence states relativity in full-potential LAPW case. More... | |
void | valence_relativity (std::string valence_relativity__) |
auto | num_bands () const |
Number of bands. More... | |
void | num_bands (int num_bands__) |
auto | num_fv_states () const |
Number of first-variational states. More... | |
void | num_fv_states (int num_fv_states__) |
auto | smearing_width () const |
Width of the smearing delta-function in the units of [Ha]. More... | |
void | smearing_width (double smearing_width__) |
auto | smearing () const |
Type of occupancy smearing. More... | |
void | smearing (std::string smearing__) |
auto | pw_cutoff () const |
Cutoff for plane-waves (for density and potential expansion) in the units of [a.u.^-1]. More... | |
void | pw_cutoff (double pw_cutoff__) |
auto | aw_cutoff () const |
Cutoff for augmented-wave functions. More... | |
void | aw_cutoff (double aw_cutoff__) |
auto | gk_cutoff () const |
Cutoff for |G+k| plane-waves in the units of [a.u.^-1]. More... | |
void | gk_cutoff (double gk_cutoff__) |
auto | lmax_apw () const |
Maximum l for APW functions. More... | |
void | lmax_apw (int lmax_apw__) |
auto | lmax_rho () const |
Maximum l for density expansion in real spherical harmonics. More... | |
void | lmax_rho (int lmax_rho__) |
auto | lmax_pot () const |
Maximum l for potential expansion in real spherical harmonics. More... | |
void | lmax_pot (int lmax_pot__) |
auto | num_mag_dims () const |
Number of dimensions of the magnetization and effective magnetic field vector. More... | |
void | num_mag_dims (int num_mag_dims__) |
auto | auto_rmt () const |
A choice of scaleing muffin-tin radii automatically. More... | |
void | auto_rmt (int auto_rmt__) |
auto | ngridk () const |
Regular k-point grid for the SCF ground state. More... | |
void | ngridk (std::array< int, 3 > ngridk__) |
auto | shiftk () const |
Shift in the k-point grid. More... | |
void | shiftk (std::array< int, 3 > shiftk__) |
auto | vk () const |
Specific list of k-point coordinates. More... | |
void | vk (std::vector< std::array< double, 3 > > vk__) |
auto | num_dft_iter () const |
Number of SCF iterations. More... | |
void | num_dft_iter (int num_dft_iter__) |
auto | energy_tol () const |
Tolerance in total energy change (in units of [Ha]). More... | |
void | energy_tol (double energy_tol__) |
auto | density_tol () const |
Tolerance for the density mixing. More... | |
void | density_tol (double density_tol__) |
auto | molecule () const |
True if this is a molecule calculation. More... | |
void | molecule (bool molecule__) |
auto | gamma_point () const |
True if gamma-point (real) version of the PW code is used. More... | |
void | gamma_point (bool gamma_point__) |
auto | so_correction () const |
True if spin-orbit correction is applied. More... | |
void | so_correction (bool so_correction__) |
auto | hubbard_correction () const |
True if Hubbard U correction is applied. More... | |
void | hubbard_correction (bool hubbard_correction__) |
auto | use_symmetry () const |
True if symmetry is used. More... | |
void | use_symmetry (bool use_symmetry__) |
auto | use_ibz () const |
Use irreducible Brillouin zone. More... | |
void | use_ibz (bool use_ibz__) |
auto | nn_radius () const |
Radius of atom nearest-neighbour cluster. More... | |
void | nn_radius (double nn_radius__) |
auto | reduce_aux_bf () const |
Reduction of the auxiliary magnetic field at each SCF step. More... | |
void | reduce_aux_bf (double reduce_aux_bf__) |
auto | extra_charge () const |
Introduce extra charge to the system. Positive charge means extra holes, negative charge - extra electrons. More... | |
void | extra_charge (double extra_charge__) |
auto | xc_dens_tre () const |
XC density threshold (debug purposes). More... | |
void | xc_dens_tre (double xc_dens_tre__) |
auto | use_scf_correction () const |
True if SCF correction to total energy should be computed. More... | |
void | use_scf_correction (bool use_scf_correction__) |
auto | precision_wf () const |
The floating point precision of the Kohn-Sham wave-functions. More... | |
void | precision_wf (std::string precision_wf__) |
auto | precision_hs () const |
The floating point precision of the Hamiltonian subspace matrices. More... | |
void | precision_hs (std::string precision_hs__) |
auto | precision_gs () const |
The final floating point precision of the ground state DFT calculation (dev options). More... | |
void | precision_gs (std::string precision_gs__) |
Private Attributes | |
nlohmann::json & | dict_ |
Parameters of the simulation.
Most of this parameters control the behavior of high-level classes like sirius::DFT_ground_state.
Definition at line 908 of file config.hpp.
|
inline |
Definition at line 911 of file config.hpp.
|
inline |
Type of electronic structure method.
Definition at line 916 of file config.hpp.
|
inline |
Definition at line 920 of file config.hpp.
|
inline |
List of XC functionals (typically contains exchange term and correlation term).
Naming convention of LibXC is used, names should be provided in capital letters.
Definition at line 931 of file config.hpp.
|
inline |
Definition at line 935 of file config.hpp.
|
inline |
Type of core-states relativity in full-potential LAPW case.
Definition at line 943 of file config.hpp.
|
inline |
Definition at line 947 of file config.hpp.
|
inline |
Type of valence states relativity in full-potential LAPW case.
Definition at line 955 of file config.hpp.
|
inline |
Definition at line 959 of file config.hpp.
|
inline |
Number of bands.
In spin-collinear case this is the number of bands for each spin channel.
Definition at line 970 of file config.hpp.
|
inline |
Definition at line 974 of file config.hpp.
|
inline |
Number of first-variational states.
Definition at line 982 of file config.hpp.
|
inline |
Definition at line 986 of file config.hpp.
|
inline |
Width of the smearing delta-function in the units of [Ha].
Definition at line 994 of file config.hpp.
|
inline |
Definition at line 998 of file config.hpp.
|
inline |
Type of occupancy smearing.
Definition at line 1006 of file config.hpp.
|
inline |
Definition at line 1010 of file config.hpp.
|
inline |
Cutoff for plane-waves (for density and potential expansion) in the units of [a.u.^-1].
Definition at line 1018 of file config.hpp.
|
inline |
Definition at line 1022 of file config.hpp.
|
inline |
Cutoff for augmented-wave functions.
This value is equal to R_{MT} * |G+k|_{max}
Definition at line 1033 of file config.hpp.
|
inline |
Definition at line 1037 of file config.hpp.
|
inline |
Cutoff for |G+k| plane-waves in the units of [a.u.^-1].
Definition at line 1045 of file config.hpp.
|
inline |
Definition at line 1049 of file config.hpp.
|
inline |
Maximum l for APW functions.
Definition at line 1057 of file config.hpp.
|
inline |
Definition at line 1061 of file config.hpp.
|
inline |
Maximum l for density expansion in real spherical harmonics.
Definition at line 1069 of file config.hpp.
|
inline |
Definition at line 1073 of file config.hpp.
|
inline |
Maximum l for potential expansion in real spherical harmonics.
Definition at line 1081 of file config.hpp.
|
inline |
Definition at line 1085 of file config.hpp.
|
inline |
Number of dimensions of the magnetization and effective magnetic field vector.
Definition at line 1093 of file config.hpp.
|
inline |
Definition at line 1097 of file config.hpp.
|
inline |
A choice of scaleing muffin-tin radii automatically.
Definition at line 1105 of file config.hpp.
|
inline |
Definition at line 1109 of file config.hpp.
|
inline |
Regular k-point grid for the SCF ground state.
Definition at line 1117 of file config.hpp.
|
inline |
Definition at line 1121 of file config.hpp.
|
inline |
Shift in the k-point grid.
Definition at line 1129 of file config.hpp.
|
inline |
Definition at line 1133 of file config.hpp.
|
inline |
Specific list of k-point coordinates.
Definition at line 1141 of file config.hpp.
|
inline |
Definition at line 1145 of file config.hpp.
|
inline |
Number of SCF iterations.
Definition at line 1153 of file config.hpp.
|
inline |
Definition at line 1157 of file config.hpp.
|
inline |
Tolerance in total energy change (in units of [Ha]).
Definition at line 1165 of file config.hpp.
|
inline |
Definition at line 1169 of file config.hpp.
|
inline |
Tolerance for the density mixing.
Definition at line 1177 of file config.hpp.
|
inline |
Definition at line 1181 of file config.hpp.
|
inline |
True if this is a molecule calculation.
Definition at line 1189 of file config.hpp.
|
inline |
Definition at line 1193 of file config.hpp.
|
inline |
True if gamma-point (real) version of the PW code is used.
Definition at line 1201 of file config.hpp.
|
inline |
Definition at line 1205 of file config.hpp.
|
inline |
True if spin-orbit correction is applied.
Definition at line 1213 of file config.hpp.
|
inline |
Definition at line 1217 of file config.hpp.
|
inline |
True if Hubbard U correction is applied.
Definition at line 1225 of file config.hpp.
|
inline |
Definition at line 1229 of file config.hpp.
|
inline |
True if symmetry is used.
Definition at line 1237 of file config.hpp.
|
inline |
Definition at line 1241 of file config.hpp.
|
inline |
Use irreducible Brillouin zone.
Definition at line 1249 of file config.hpp.
|
inline |
Definition at line 1253 of file config.hpp.
|
inline |
Radius of atom nearest-neighbour cluster.
Definition at line 1261 of file config.hpp.
|
inline |
Definition at line 1265 of file config.hpp.
|
inline |
Reduction of the auxiliary magnetic field at each SCF step.
Definition at line 1273 of file config.hpp.
|
inline |
Definition at line 1277 of file config.hpp.
|
inline |
Introduce extra charge to the system. Positive charge means extra holes, negative charge - extra electrons.
Definition at line 1285 of file config.hpp.
|
inline |
Definition at line 1289 of file config.hpp.
|
inline |
XC density threshold (debug purposes).
Definition at line 1297 of file config.hpp.
|
inline |
Definition at line 1301 of file config.hpp.
|
inline |
True if SCF correction to total energy should be computed.
Definition at line 1309 of file config.hpp.
|
inline |
Definition at line 1313 of file config.hpp.
|
inline |
The floating point precision of the Kohn-Sham wave-functions.
Definition at line 1321 of file config.hpp.
|
inline |
Definition at line 1325 of file config.hpp.
|
inline |
The floating point precision of the Hamiltonian subspace matrices.
Definition at line 1333 of file config.hpp.
|
inline |
Definition at line 1337 of file config.hpp.
|
inline |
The final floating point precision of the ground state DFT calculation (dev options).
Definition at line 1345 of file config.hpp.
|
inline |
Definition at line 1349 of file config.hpp.
|
private |
Definition at line 1357 of file config.hpp.