TRIQS/TRIQS 4.0.0
Researching Interacting Quantum Systems
Loading...
Searching...
No Matches
gf_tests.hpp

Detailed Description

Provides test helpers that assert two (block) Green's functions are numerically close.

Definition in file gf_tests.hpp.

Go to the source code of this file.

Functions

template<typename X, typename Y>
void triqs::gfs::assert_block2_gfs_are_close (X const &x, Y const &y, double precision)
 Assert that two doubly-indexed block Green's functions are numerically close.
template<typename X, typename Y>
void triqs::gfs::assert_block_gfs_are_close (X const &x, Y const &y, double precision)
 Assert that two block Green's functions are numerically close.
template<typename X, typename Y>
void triqs::gfs::assert_gfs_are_close (X const &x, Y const &y, double precision)
 Assert that two Green's functions are numerically close.