Skip to content

Commit

Permalink
Intruduce truncation of blocks
Browse files Browse the repository at this point in the history
TODO: specify the value of DensityMatrixCutoff externally
  • Loading branch information
j-otsuki committed Feb 26, 2018
1 parent 855c11a commit c3a8d7c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions c++/pomerol_ed.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -254,6 +254,8 @@ namespace pomerol2triqs {
rho.reset(new Pomerol::DensityMatrix(*states_class, *matrix_h, beta));
rho->prepare();
rho->compute();
double DensityMatrixCutoff = 1e-10; // TODO : specify externally
rho->truncateBlocks(DensityMatrixCutoff, verbose);
}
}

Expand Down

0 comments on commit c3a8d7c

Please sign in to comment.