NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library

◆ herm_matrix_timestep_view() [2/7]

Initializes the herm_matrix_timestep_view class with the same layout as a given herm_matrix_timestep_view g.

Purpose

Initializes and copy the herm_matrix_timestep_view class with the same number of time steps nt, number of points on the imaginary branch ntau, matrix rank size1 and bosonic/fermionic symmetry sig. Works for scalar or square-matrix contour objects

Parameters
g

The herm_matrix_timestep_view according to which the class should be initialized

Definition at line 54 of file cntr_herm_matrix_timestep_view_impl.hpp.

55  {
56  tstp_ = g.tstp_;
57  ntau_ = g.ntau_;
58  size1_ = g.size1_;
59  size2_ = g.size1_;
60  element_size_ = size1_ * size1_;
61  sig_ = g.sig_;
62  // copy pointers
63  ret_ = g.ret_;
64  les_ = g.les_;
65  tv_ = g.tv_;
66  mat_ = g.mat_;
67 }