HILA
Loading...
Searching...
No Matches
libraries/tools/checkpoint.h File Reference

Checkpointing functions for saving and restoring lattice configurations. More...

#include "hila.h"
Include dependency graph for libraries/tools/checkpoint.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

template<typename group >
void checkpoint (const GaugeField< group > &U, const std::string &config_file, int &n_trajectories, int trajectory, bool save_old=true)
 parameters-type must
 

Detailed Description

Checkpointing functions for saving and restoring lattice configurations.

Definition in file libraries/tools/checkpoint.h.

Function Documentation

◆ checkpoint()

template<typename group >
void checkpoint ( const GaugeField< group > &  U,
const std::string &  config_file,
int &  n_trajectories,
int  trajectory,
bool  save_old = true 
)

parameters-type must

Functions checkpoint / restore_checkpoint allow one to save lattice config periodically Checkpoint keeps file "run_status" which holds the current trajectory. By modifying "run status" the number of trajectories can be changed

Definition at line 33 of file libraries/tools/checkpoint.h.