Skip to content

Commit 0a49338

Browse files
committed
print bare U and mu
1 parent cdc80e3 commit 0a49338

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

c++/triqs_ctseg/work_data.cpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,12 @@ work_data_t::work_data_t(params_t const &p, inputs_t const &inputs, mpi::communi
5151
for (int a = 0; a < U.extent(0); ++a)
5252
ALWAYS_EXPECTS((abs(U(a, a)) < 1.e-15), "Error. A diagonal element of the interaction matrix is not 0.");
5353

54+
// Report
55+
if (c.rank() == 0) {
56+
spdlog::info("Interaction matrix: U = {}", U);
57+
spdlog::info("Orbital energies: mu - eps = {}", mu);
58+
}
59+
5460
// Do we have D(tau) and J_perp(tau)? Yes, unless the data is 0
5561
has_Dt = max_element(abs(inputs.d0t.data())) > 1.e-13;
5662
has_jperp = max_element(abs(inputs.jperpt.data())) > 1.e-13;
@@ -127,7 +133,6 @@ work_data_t::work_data_t(params_t const &p, inputs_t const &inputs, mpi::communi
127133

128134
// Report
129135
if (c.rank() == 0) {
130-
spdlog::info("mu = {} \nU = {}", mu, U);
131136
spdlog::info("Dynamical interactions = {}, J_perp interactions = {}", has_Dt, has_jperp);
132137
if (p.measure_F_tau and !rot_inv)
133138
spdlog::info("WARNING: Cannot measure F(tau) because spin-spin interaction is not rotationally invariant.");

0 commit comments

Comments
 (0)