pub struct CalculationResult {
pub charges: Vec<f64>,
pub equilibrated_potential: f64,
pub iterations: u32,
}Expand description
The result of a charge equilibration calculation.
This struct encapsulates the output of a successful charge equilibration run, including the computed partial atomic charges, the equilibrated chemical potential, and diagnostic information about the iterative solution process.
Fields§
§charges: Vec<f64>The computed partial atomic charges for each atom in the system.
Charges are stored in the same order as the input atoms. The sum of all charges equals the total system charge specified in the calculation.
equilibrated_potential: f64The equilibrated chemical potential achieved at convergence.
This value represents the uniform chemical potential across all atoms when the system has reached charge equilibration.
iterations: u32The number of iterations performed to reach convergence.
This provides insight into the computational effort required and can help diagnose convergence issues in difficult systems.
Trait Implementations§
Source§impl Clone for CalculationResult
impl Clone for CalculationResult
Source§fn clone(&self) -> CalculationResult
fn clone(&self) -> CalculationResult
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CalculationResult
impl Debug for CalculationResult
Source§impl PartialEq for CalculationResult
impl PartialEq for CalculationResult
impl StructuralPartialEq for CalculationResult
Auto Trait Implementations§
impl Freeze for CalculationResult
impl RefUnwindSafe for CalculationResult
impl Send for CalculationResult
impl Sync for CalculationResult
impl Unpin for CalculationResult
impl UnwindSafe for CalculationResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more