pub struct UpfMesh {
pub dx: f64,
pub mesh: usize,
pub xmin: f64,
pub rmax: f64,
pub zmesh: f64,
pub r: NumericData,
pub rab: NumericData,
}Expand description
Public UPF data model.
Radial mesh data from <PP_MESH>.
PP stands for pseudopotential.
Fields§
§dx: f64Logarithmic or linear mesh spacing parameter dx.
mesh: usizeNumber of radial mesh points.
xmin: f64Smallest radial coordinate represented in the mesh.
rmax: f64Largest radial coordinate represented in the mesh.
zmesh: f64Effective nuclear charge used for the mesh definition.
r: NumericDataRadial coordinates from <PP_R>.
PP_R means pseudopotential radial grid.
rab: NumericDataRadial integration weights from <PP_RAB>.
RAB is the UPF short form for the radial integration measure r_ab.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for UpfMesh
impl<'de> Deserialize<'de> for UpfMesh
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for UpfMesh
Auto Trait Implementations§
impl Freeze for UpfMesh
impl RefUnwindSafe for UpfMesh
impl Send for UpfMesh
impl Sync for UpfMesh
impl Unpin for UpfMesh
impl UnsafeUnpin for UpfMesh
impl UnwindSafe for UpfMesh
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more