TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
GF input/output

Detailed Description

HDF5 serialisation of Green's functions.

This group provides the HDF5 read and write support for the Green's function containers, so that they can be stored to and restored from disk.

Classes

struct  triqs::gfs::gf_h5_rw< V, T >
 Traits class for reading/writing a Green's function from/to HDF5. More...

Functions

void triqs::gfs::h5_read_gf_struct (h5::group g, std::string const &name, gf_struct_t &gf_struct)
 Read a triqs::gfs::gf_struct_t from HDF5, with a backward-compatibility layer for the old format.

Function Documentation

◆ h5_read_gf_struct()

void triqs::gfs::h5_read_gf_struct ( h5::group g,
std::string const & name,
gf_struct_t & gf_struct )
inline

#include <triqs/gfs/block/gf_struct.hpp>

Read a triqs::gfs::gf_struct_t from HDF5, with a backward-compatibility layer for the old format.

Old archives stored the block structure as a list of index lists; in that case the size of each block is recovered from the number of indices. New archives are read directly.

Parameters
gh5::group to read from.
nameName of the dataset/subgroup holding the block structure.
gf_structBlock structure to read into.

Definition at line 54 of file gf_struct.hpp.