If my previously saved trajectory filename is "trajectory.nc", when I want to restart the calculation, do I just need to add a code line "trajectory = nlread('trajectory.nc', Trajectory)[0]" to my original script as shown below?
---------------------------------------------------------------------
bulk_configuration = OptimizeGeometry(
bulk_configuration,
max_forces=0.01*eV/Ang,
max_stress=0.001*eV/Ang**3,
max_steps=1000,
max_step_length=0.2*Ang,
constraints=constraints,
trajectory_filename='trajectory.nc',
optimizer_method=LBFGS(),
constrain_bravais_lattice=True,
)
trajectory = nlread('trajectory.nc', Trajectory)[0]
------------------------------------------------------------------
Thanks a lot for anyone willing to help me!