pub struct GradOutput {
pub energy: f64,
pub gradient: Vec<f64>,
}Expand description
Gradient output from the electronic structure code.
energy: The energy of the system, scalar.gradient: The gradient of the system, flattened (natom * 3), with dimension of coordinate (3) to be contiguous.
Fields§
§energy: f64§gradient: Vec<f64>Auto Trait Implementations§
impl Freeze for GradOutput
impl RefUnwindSafe for GradOutput
impl Send for GradOutput
impl Sync for GradOutput
impl Unpin for GradOutput
impl UnwindSafe for GradOutput
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