pub struct UpfHeader {Show 26 fields
pub generated: Option<String>,
pub author: Option<String>,
pub date: Option<String>,
pub comment: Option<String>,
pub element: String,
pub pseudo_type: String,
pub relativistic: String,
pub is_ultrasoft: bool,
pub is_paw: bool,
pub is_coulomb: bool,
pub has_so: bool,
pub has_wfc: bool,
pub has_gipaw: bool,
pub paw_as_gipaw: bool,
pub core_correction: bool,
pub functional: String,
pub z_valence: f64,
pub total_psenergy: Option<f64>,
pub wfc_cutoff: Option<f64>,
pub rho_cutoff: Option<f64>,
pub l_max: i32,
pub l_max_rho: i32,
pub l_local: i32,
pub mesh_size: usize,
pub number_of_wfc: usize,
pub number_of_proj: usize,
}Expand description
Public UPF data model.
Metadata carried by the <PP_HEADER> section.
PP stands for pseudopotential.
Fields§
§generated: Option<String>Generator identifier or provenance string.
Author name recorded in the UPF file.
date: Option<String>Generation date recorded in the UPF file.
comment: Option<String>Free-form header comment.
element: StringChemical element symbol, for example Si.
pseudo_type: StringPseudopotential type, for example NC, US, or PAW.
NC stands for norm-conserving.
US stands for ultrasoft.
PAW stands for projector augmented wave.
relativistic: StringRelativistic treatment declared by the generator.
is_ultrasoft: boolWhether the pseudopotential is ultrasoft.
is_paw: boolWhether the pseudopotential is a projector augmented-wave potential.
is_coulomb: boolWhether the pseudopotential is a Coulomb potential.
has_so: boolWhether spin-orbit data is present.
has_wfc: boolWhether wavefunction data is present.
WFC stands for wavefunction.
has_gipaw: boolWhether GIPAW reconstruction data is present.
GIPAW stands for gauge including projector augmented wave.
paw_as_gipaw: boolWhether the PAW data can also be used as GIPAW data.
PAW stands for projector augmented wave.
GIPAW stands for gauge including projector augmented wave.
core_correction: boolWhether a non-linear core correction is present.
NLCC stands for non-linear core correction.
functional: StringExchange-correlation functional label, such as PBE.
z_valence: f64Valence charge Z.
total_psenergy: Option<f64>Total pseudopotential energy.
wfc_cutoff: Option<f64>Suggested wavefunction cutoff.
WFC stands for wavefunction.
rho_cutoff: Option<f64>Suggested charge-density cutoff.
RHO is conventional shorthand for charge density.
l_max: i32Maximum angular momentum quantum number l.
l_max_rho: i32Maximum angular momentum quantum number used for the charge density.
RHO is conventional shorthand for charge density.
l_local: i32Angular momentum quantum number of the local channel.
mesh_size: usizeNumber of points in the radial mesh.
number_of_wfc: usizeNumber of wavefunctions.
WFC stands for wavefunction.
number_of_proj: usizeNumber of non-local projectors.