pub struct CheckpointLoad {
pub step: usize,
pub geometry: Geometry,
pub x_old: DVector<f64>,
pub hessian: DMatrix<f64>,
pub opt_state: OptimizationState,
pub config: Config,
}Expand description
Loaded checkpoint contents returned by Checkpoint::load.
This struct contains the fully reconstructed runtime types converted from the
serialized Checkpoint representation. It includes everything required to
resume an optimization: the step counter, the molecular geometry, previous
coordinates used for gradient differences, the current approximate Hessian,
the optimization state (with DIIS/history structures), and the calculation
configuration.
Fields§
§step: usizeOptimization step number at the time of saving.
geometry: GeometryMolecular geometry reconstructed from the checkpoint.
x_old: DVector<f64>Previous geometry coordinates (flattened) used for finite differences.
hessian: DMatrix<f64>Hessian matrix (approximate) reconstructed as a nalgebra DMatrix.
opt_state: OptimizationStateOptimization state including history, lambdas, and other runtime data.
config: ConfigCalculation configuration used when the checkpoint was created.
Auto Trait Implementations§
impl Freeze for CheckpointLoad
impl RefUnwindSafe for CheckpointLoad
impl Send for CheckpointLoad
impl Sync for CheckpointLoad
impl Unpin for CheckpointLoad
impl UnsafeUnpin for CheckpointLoad
impl UnwindSafe for CheckpointLoad
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
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.