mirror of
https://github.com/triqs/dft_tools
synced 2024-10-31 19:23:45 +01:00
Made test gf_notail clearer.
This commit is contained in:
parent
708c47305c
commit
2da097991e
@ -43,11 +43,13 @@ int main() {
|
||||
TEST(Gt(-.1));//should be equal to line above
|
||||
|
||||
//fourier
|
||||
triqs::gfs::local::tail t(1,1);
|
||||
gw_n (tau_) << 1/(tau_-1.);
|
||||
auto gt_with_full_tail = make_gf_from_inverse_fourier(make_gf_from_g_and_tail(gw_n, gw.singularity()));
|
||||
auto gt_tail_with_one_term = make_gf_from_inverse_fourier(make_gf_from_g_and_tail(gw_n, t));
|
||||
TEST(gt_with_full_tail(.5));
|
||||
triqs::gfs::local::tail t(2,2);
|
||||
t(1)=1;
|
||||
TEST(t);
|
||||
auto gt_tail_with_one_term = make_gf_from_inverse_fourier(make_gf_from_g_and_tail(gw_n, t));
|
||||
TEST(gt_tail_with_one_term(.5));
|
||||
}
|
||||
TRIQS_CATCH_AND_ABORT;
|
||||
|
@ -12,9 +12,41 @@
|
||||
[[-0.443038,0]
|
||||
[0,-0.443038]]))
|
||||
|
||||
(gt_tail_with_one_term(.5)) ---> ((0.5 *
|
||||
[[-0.44347,0]
|
||||
[0,-0.44347]]) + (0.5 *
|
||||
[[-0.443038,0]
|
||||
[0,-0.443038]]))
|
||||
(t) ---> tail/tail_view: min/smallest/max = -1 1 8
|
||||
... Order -1 =
|
||||
[[(0,0),(0,0)]
|
||||
[(0,0),(0,0)]]
|
||||
... Order 0 =
|
||||
[[(0,0),(0,0)]
|
||||
[(0,0),(0,0)]]
|
||||
... Order 1 =
|
||||
[[(1,0),(0,0)]
|
||||
[(0,0),(1,0)]]
|
||||
... Order 2 =
|
||||
[[(0,0),(0,0)]
|
||||
[(0,0),(0,0)]]
|
||||
... Order 3 =
|
||||
[[(0,0),(0,0)]
|
||||
[(0,0),(0,0)]]
|
||||
... Order 4 =
|
||||
[[(0,0),(0,0)]
|
||||
[(0,0),(0,0)]]
|
||||
... Order 5 =
|
||||
[[(0,0),(0,0)]
|
||||
[(0,0),(0,0)]]
|
||||
... Order 6 =
|
||||
[[(0,0),(0,0)]
|
||||
[(0,0),(0,0)]]
|
||||
... Order 7 =
|
||||
[[(0,0),(0,0)]
|
||||
[(0,0),(0,0)]]
|
||||
... Order 8 =
|
||||
[[(0,0),(0,0)]
|
||||
[(0,0),(0,0)]]
|
||||
|
||||
(gt_tail_with_one_term(.5)) ---> ((0.5 *
|
||||
[[-0.443626,0]
|
||||
[0,-0.443626]]) + (0.5 *
|
||||
[[-0.443193,0]
|
||||
[0,-0.443193]]))
|
||||
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
(G_pos_only.mesh().positive_only()) ---> 1
|
||||
|
||||
0
|
||||
1
|
||||
(n) ---> 0.908877
|
||||
|
||||
(n_pos_only) ---> 0.908877
|
||||
|
@ -157,8 +157,7 @@
|
||||
[(0,0),(0.151719,-0.207234)]]
|
||||
|
||||
----------------- 4 --------------------
|
||||
(density(G3)) ---> 1
|
||||
|
||||
(density(G3)) --->
|
||||
[[1.81775,0]
|
||||
[0,1.81775]]
|
||||
|
||||
|
@ -66,7 +66,7 @@
|
||||
... Order 2 =
|
||||
[[(1,0)]]
|
||||
... Order 3 =
|
||||
[[(0.999251,0)]]
|
||||
[[(0.999288,0)]]
|
||||
... Order 4 =
|
||||
[[(0.998655,0)]]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user