TRIQS/triqs_modest 3.3.0
Brillouin zone summation
|
#include <triqs_modest/checkpoint.hpp>
A checkpoint manager for logging data after each DMFT iteration.
InitialData | the initial data of the calculatoin (one_body_elements, embedding) |
IterationData | the data after each DMFT iteration |
Definition at line 23 of file checkpoint.hpp.
Public Member Functions | |
checkpoint (std::string dirname) | |
Open checkpoint from an existing file (rw). | |
checkpoint (std::string dirname, InitialData const &initial_data) | |
Create a new checkpoint from initial_data. | |
void | append (IterationData const &x) |
std::string | dirname () const |
InitialData | initial_data () const |
IterationData | operator[] (long i) const |
long | size () const |
|
inline |
Open checkpoint from an existing file (rw).
dirname | Name of the directory containing the checkpoint files. |
Definition at line 46 of file checkpoint.hpp.
|
inline |
Create a new checkpoint from initial_data.
dirname | Name of the directory containing the checkpoint files. Must not exist. |
initial_data | Initial data to store in the checkpoint. |
Definition at line 60 of file checkpoint.hpp.
|
inline |
Definition at line 75 of file checkpoint.hpp.
|
inline |
Definition at line 71 of file checkpoint.hpp.
|
inline |
Definition at line 73 of file checkpoint.hpp.
|
inline |
Definition at line 80 of file checkpoint.hpp.
|
inline |
Definition at line 86 of file checkpoint.hpp.