MeanFieldToolkit.MFTResume
MeanFieldToolkit.MFTResume.ReadMFT — MethodReadMFT(fileName::String) --> Dict{String, Any}Reads a mean-field simulation from a checkpoint file. Returns a dictionary containing the following keys:
Convergence: The norm of the difference between the input and the output at the last iteration.Expectations: The expectation values of the order parameters in the last iteration.Iterations: The number of iterations performed.MFT: The mean-field theory object used for the simulation.
MeanFieldToolkit.MFTResume.ResumeMFT! — MethodResumeMFT!(fileName::String ; Update::Function = SimpleMixing, max_iter::Int64 = 100, tol::Float64 = 1e-6, checkpoint_interval::Int64 = 50) --> SelfCons Resumes a mean-field simulation from a checkpoint file.
- If
Updateis passed, then the update function is used to perform the self-consistency update. - If
max_iteris passed, then the maximum number of iterations is set tomax_iter. - If
tolis passed, then the tolerance for convergence is set totol. - If
checkpoint_intervalis passed, then the checkpoint interval is set tocheckpoint_interval.