pub struct UpfDocument {Show 16 fields
pub version: String,
pub info: Option<String>,
pub input_file: Option<String>,
pub header: UpfHeader,
pub mesh: UpfMesh,
pub nlcc: Option<NumericData>,
pub local: Option<NumericData>,
pub semilocal: Option<Semilocal>,
pub nonlocal: Option<Nonlocal>,
pub pswfc: Option<PseudoWavefunctionSet>,
pub full_wfc: Option<FullWavefunctionSet>,
pub rhoatom: Option<NumericData>,
pub spin_orb: Option<SpinOrbitData>,
pub paw: Option<PawData>,
pub gipaw: Option<GipawReconstruction>,
pub unknown_sections: Vec<RawNode>,
}Expand description
Public UPF data model. A deserialized Unified Pseudopotential Format (UPF) document.
This is the top-level Rust representation produced by crate::from_str,
crate::from_reader, and crate::from_file.
Fields§
§version: StringUPF document version declared on the root <UPF> element.
info: Option<String>Free-form <PP_INFO> text provided by the pseudopotential generator.
PP stands for pseudopotential.
input_file: Option<String>Raw <PP_INPUTFILE> generator input payload.
PP stands for pseudopotential.
header: UpfHeaderHeader metadata from <PP_HEADER>.
PP stands for pseudopotential.
mesh: UpfMeshRadial mesh definition from <PP_MESH>.
PP stands for pseudopotential.
nlcc: Option<NumericData>Non-linear core correction from <PP_NLCC>.
NLCC stands for non-linear core correction.
local: Option<NumericData>Local potential samples from <PP_LOCAL>.
PP stands for pseudopotential.
semilocal: Option<Semilocal>Semi-local channels from <PP_SEMILOCAL>.
PP stands for pseudopotential.
nonlocal: Option<Nonlocal>Non-local projectors and augmentation data from <PP_NONLOCAL>.
PP stands for pseudopotential.
pswfc: Option<PseudoWavefunctionSet>Pseudo-wavefunctions from <PP_PSWFC>.
PSWFC stands for pseudo-wavefunction.
full_wfc: Option<FullWavefunctionSet>All-electron and pseudo-wavefunction pairs from <PP_FULL_WFC>.
WFC stands for wavefunction.
rhoatom: Option<NumericData>Atomic charge density from <PP_RHOATOM>.
RHOATOM stands for atomic charge density.
spin_orb: Option<SpinOrbitData>Spin-orbit data from <PP_SPIN_ORB>.
paw: Option<PawData>Projector augmented-wave data from <PP_PAW>.
PAW stands for projector augmented wave.
gipaw: Option<GipawReconstruction>Gauge including projector augmented-wave reconstruction data from
<PP_GIPAW_RECONSTRUCTION>.
GIPAW stands for gauge including projector augmented wave.
unknown_sections: Vec<RawNode>Unrecognized top-level sections preserved as a raw tree.
Trait Implementations§
Source§impl Clone for UpfDocument
impl Clone for UpfDocument
Source§fn clone(&self) -> UpfDocument
fn clone(&self) -> UpfDocument
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more