Template Struct state¶
Defined in File state.hpp
Struct Documentation¶
-
template<typename HilbertField>
struct state¶ state (e.g. the ground state) from which a contribution to the Green function is computed
Public Functions
-
inline state()¶
default constructor
-
inline void write_hdf5(H5::Group &grp)¶
writes state to an HDF5 group.
Layout: attributes “sec”,”energy”,”weight”,”gf_format”; sub-group “gf”; optionally sub-group “gf_down”. The GF format is deduced from the runtime type of the gf pointer.
constructs state from an HDF5 group (written by write_hdf5).
- Parameters:
grp – HDF5 group containing the state data
group – symmetry group (needed to construct GF representations)
mixing – mixing state
Public Members
-
vector<HilbertField> psi¶
the Hilbert-space vector representing the state
-
double energy¶
energy of the state
-
double weight¶
its weight in the density matrix
-
shared_ptr<Green_function_set> gf¶
-
shared_ptr<Green_function_set> gf_down¶
-
inline state()¶