NESSI  v1.1.2
The NonEquilibrium Systems SImulation Library

◆ Bubble2() [1/4]

template<class GGC , class GGA , class GGB >
void cntr::Bubble2 ( int  tstp,
GGC &  C,
int  c1,
int  c2,
GGA &  A,
GGA &  Acc,
int  a1,
int  a2,
GGB &  B,
GGB &  Bcc,
int  b1,
int  b2 
)

Evaluate a bubble diagram ( \(C\)) from two-time contour functions \(A,B\) at the time step; \( C_{c_1,c_2}(t_1,t_2) = i A_{a_1,a_2}(t_1,t_2) * B_{b_1,b_2}(t_1,t_2) \).

Purpose

Evaluate the two-time contour function \(C\) represented as a bubble diagram with two-time functions \(A,B\); \( C_{c_1,c_2}(t_1,t_2) = i A_{a_1,a_2}(t_1,t_2) * B_{b_1,b_2}(t_1,t_2) \). This evaluation is done at the time step (i.e. \( t_1 \) or \( t_2 \) is the time step) for all components (retarded, lesser, left-mixing and Matsubara). The evaluated value of \( i A_{a_1,a_2}(t_1,t_2) * B_{b_1,b_2}(t_1,t_2) \) is stored at \( C_{c_1,c_2}(t_1,t_2)\).

Parameters
tstp

Time step.

C

Two-time contour object in the Matrix form defined as \( C_{c_1,c_2}(t_1,t_2) = i A_{a_1,a_2}(t_1,t_2) * B_{b_1,b_2}(t_1,t_2) \).

c1

First index of the matrix \(C\).

c2

Second index of the matrix \(C\).

A

Two-time contour object in the Matrix form.

Acc

Two-time contour object in the Matrix form, which is adjoint of \(A\).

a1

First index of the matrix \(A\).

a2

Second index of the matrix \(A\).

B

Two-time contour object in the Matrix form.

Bcc

Two-time contour object in the Matrix form, which is adjoint of \(B\).

b1

First index of the matrix \(B\).

b2

Second index of the matrix \(B\).

Definition at line 291 of file cntr_bubble_impl.hpp.

Referenced by Bubble2().

292  {
293  herm_matrix_timestep_view<typename GGC::scalar_type> ctmp(tstp, C);
294  herm_matrix_timestep_view<typename GGA::scalar_type> atmp(tstp, A);
295  herm_matrix_timestep_view<typename GGA::scalar_type> acctmp(tstp, Acc);
296  herm_matrix_timestep_view<typename GGB::scalar_type> btmp(tstp, B);
297  herm_matrix_timestep_view<typename GGB::scalar_type> bcctmp(tstp, Bcc);
298  Bubble2(tstp, ctmp, c1, c2, atmp, acctmp, a1, a2, btmp, bcctmp, b1, b2);
299 }
void Bubble2(int tstp, GGC &C, int c1, int c2, GGA &A, GGA &Acc, int a1, int a2, GGB &B, GGB &Bcc, int b1, int b2)
Evaluate a bubble diagram ( ) from two-time contour functions at the time step; ...
+ Here is the caller graph for this function: