CompFUSE / DCA

DCA++
BSD 3-Clause "New" or "Revised" License
36 stars 28 forks source link

How to write the result of G_r_t_up and G_r_t_dn in the hdf5 file like other results? #222

Closed YANSONGZHU closed 4 years ago

YANSONGZHU commented 4 years ago

I need the the result of G_r_t_up and G_r_t_dn in ctaux slover. So I try to edit the dca_data.cpp and add the code like G_r_t:

func::function<std::complex, func::dmn_variadic<func::dmn_variadic<BDmn, RClusterDmn, TDmn>,func::dmn_variadic<BDmn, RClusterDmn, TDmn>>>G_r_t_dn; func::function<std::complex, func::dmn_variadic<func::dmn_variadic<BDmn, RClusterDmn, TDmn>,func::dmn_variadic<BDmn, RClusterDmn, TDmn>>>G_r_t_up;

G_r_t_dn("cluster_greens_function_G_r_t_up"), G_r_t_up("cluster_greens_function_G_r_t_dn"),

writer.execute(G_r_t_up); writer.execute(G_r_t_dn);

After compilation and run, I get the G_r_t_up and G_r_t_dn in hdf5file, but the value are all 0+0j.

I'm not familar with DCA++, so there must be something I miss.