You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have looked over the test suite and among all the tests only two_orbitals.py seems to be an actual test for correctness (for the non-interacting case). The other tests seems to be regression tests comparing with previous results obtained from the solver itself. (There is some ctint results used for inputs in spin_spin.py).
Would it be possible to test against exact reference data? e.g. using finite ED models that can be reduced to an effective retarded impurity problem?
Dear Hugo, this is indeed a pertinent question. While most of the automatic tests are non-regression tests, two of them allow for comparison with (nearly) exact reference data.
dimer.py solves a problem of two impurity sites coupled to two bath sites, for which an ED reference is supplied in dimer_pyed.ref.h5.
spin_spin.py solves a single orbital problem with dynamical density-density and spin-spin interactions. The same problem was solved with a very long CTINT run, whose output (found in ctint.ref.h5) can be used as a reference for CTSEG. Since the two solvers carry out very different expansions, the agreement of their results is a strong indication for the correctness of both solvers.
In addition, two_orbitals.py tests for internal consistency of the solver (the result should not depend on the block structure chosen for the Green's function).
Dear TRIQS/ctseg authors,
I have looked over the test suite and among all the tests only
two_orbitals.py
seems to be an actual test for correctness (for the non-interacting case). The other tests seems to be regression tests comparing with previous results obtained from the solver itself. (There is some ctint results used for inputs inspin_spin.py
).Would it be possible to test against exact reference data? e.g. using finite ED models that can be reduced to an effective retarded impurity problem?
Best regards,
Hugo
(Part of openjournals/joss-reviews#7425)
The text was updated successfully, but these errors were encountered: