NESSi  v1.0.2
The NonEquilibrium Systems Simulation Library
cntr_utilities_decl.hpp File Reference

Go to the source code of this file.

Classes

class  cntr::function< T >
  Class function for objects \( f(t) \) with time on real axis. More...
 
class  cntr::herm_matrix< T >
  Class herm_matrix for two-time contour objects \( C(t,t') \) with hermitian symmetry. More...
 
class  cntr::herm_matrix_timestep< T >
  Class herm_matrix_timestep deals with contour objects \( C(t,t') \) at a particular timestep \(t'\). More...
 
class  cntr::herm_matrix_timestep_view< T >
  Class herm_matrix_timestep_view serves for interfacing with class herm_matrix_timestep without copying the data. More...
 

Namespaces

 cntr
 

Functions

template<typename T >
T cntr::correlation_energy (int tstp, herm_matrix< T > &G, herm_matrix< T > &Sigma, T beta, T h, int SolveOrder)
  Returns the result of the correlation energy at a given time-step from the time-diagonal convolution More...
 
template<typename T >
T cntr::distance_norm2 (int tstp, herm_matrix< T > &g1, herm_matrix< T > &g2)
  Evaluate the Euclidean norm between two herm_matrix at a given time step. More...
 
template<typename T >
T cntr::distance_norm2 (int tstp, herm_matrix_timestep< T > &g1, herm_matrix< T > &g2)
  Evaluate the Euclidean norm between a herm_matrix_timestep and herm_matrix at a given time step. More...
 
template<typename T >
T cntr::distance_norm2 (int tstp, herm_matrix< T > &g1, herm_matrix_timestep< T > &g2)
  Evaluate the Euclidean norm between a herm_matrix and herm_matrix_timestep at a given time step. More...
 
template<typename T >
T cntr::distance_norm2 (int tstp, herm_matrix_timestep< T > &g1, herm_matrix_timestep< T > &g2)
  Evaluate the Euclidean norm between a herm_matrix_timestep and herm_matrix_timestep at a given time step. More...
 
template<typename T >
T cntr::distance_norm2 (int tstp, herm_matrix_timestep_view< T > &g1, herm_matrix< T > &g2)
  Evaluate the Euclidean norm between a herm_matrix_timestep_view and herm_matrix at a given time step. More...
 
template<typename T >
T cntr::distance_norm2 (int tstp, herm_matrix< T > &g1, herm_matrix_timestep_view< T > &g2)
  Evaluate the Euclidean norm between a herm_matrix and herm_matrix_timestep_view at a given time step. More...
 
template<typename T >
T cntr::distance_norm2 (int tstp, herm_matrix_timestep< T > &g1, herm_matrix_timestep_view< T > &g2)
  Evaluate the Euclidean norm between a herm_matrix_timestep and herm_matrix_timestep_view at a given time step. More...
 
template<typename T >
T cntr::distance_norm2 (int tstp, herm_matrix_timestep_view< T > &g1, herm_matrix_timestep< T > &g2)
  Evaluate the Euclidean norm between a herm_matrix_timestep_view and herm_matrix_timestep at a given time step. More...
 
template<typename T >
T cntr::distance_norm2 (int tstp, herm_matrix_timestep_view< T > &g1, herm_matrix_timestep_view< T > &g2)
  Evaluate the Euclidean norm between a herm_matrix_timestep_view and herm_matrix_timestep_view at a given time step. More...
 
template<typename T >
T cntr::distance_norm2 (herm_matrix_timestep_view< T > &g1, herm_matrix_timestep< T > &g2)
 
template<typename T >
T cntr::distance_norm2 (herm_matrix_timestep< T > &g1, herm_matrix_timestep< T > &g2)
 
template<typename T >
T cntr::distance_norm2_eigen (int tstp, herm_matrix_timestep< T > &g1, herm_matrix< T > &g2)
  Evaluate the Euclidean norm between 'herm_matrix_timestep' and 'herm_matrix' at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_les (int tstp, herm_matrix< T > &g1, herm_matrix< T > &g2)
  Evaluate the Euclidean norm between the lesser components of two herm_matrces at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_les (int tstp, herm_matrix_timestep< T > &g1, herm_matrix< T > &g2)
  Evaluate the Euclidean norm between the lesser components a herm_matrix_timestep and herm_matrix at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_les (int tstp, herm_matrix< T > &g1, herm_matrix_timestep< T > &g2)
  Evaluate the Euclidean norm between the lesser components a herm_matrix and herm_matrix_timestep at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_les (int tstp, herm_matrix_timestep< T > &g1, herm_matrix_timestep< T > &g2)
  Evaluate the Euclidean norm between the lesser components a herm_matrix_timestep and herm_matrix_timestep at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_les (int tstp, herm_matrix_timestep_view< T > &g1, herm_matrix< T > &g2)
  Evaluate the Euclidean norm between the lesser components a herm_matrix_timestep_view and herm_matrix at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_les (int tstp, herm_matrix< T > &g1, herm_matrix_timestep_view< T > &g2)
  Evaluate the Euclidean norm between the lesser components a herm_matrix and herm_matrix_timestep_view at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_les (int tstp, herm_matrix_timestep< T > &g1, herm_matrix_timestep_view< T > &g2)
  Evaluate the Euclidean norm between the lesser components a herm_matrix_timestep and herm_matrix_timestep_view at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_les (int tstp, herm_matrix_timestep_view< T > &g1, herm_matrix_timestep< T > &g2)
  Evaluate the Euclidean norm between the lesser components a herm_matrix_timestep_view and herm_matrix_timestep at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_les (int tstp, herm_matrix_timestep_view< T > &g1, herm_matrix_timestep_view< T > &g2)
  Evaluate the Euclidean norm between the lesser components a herm_matrix_timestep_view and herm_matrix_timestep_view at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_ret (int tstp, herm_matrix< T > &g1, herm_matrix< T > &g2)
  Evaluate the Euclidean norm between the retarded components of two herm_matrix at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_ret (int tstp, herm_matrix_timestep< T > &g1, herm_matrix< T > &g2)
  Evaluate the Euclidean norm between the retarded components a herm_matrix_timestep and herm_matrix at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_ret (int tstp, herm_matrix< T > &g1, herm_matrix_timestep< T > &g2)
  Evaluate the Euclidean norm between the retarded components a herm_matrix and herm_matrix_timestep at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_ret (int tstp, herm_matrix_timestep< T > &g1, herm_matrix_timestep< T > &g2)
  Evaluate the Euclidean norm between the retarded components a herm_matrix_timestep and herm_matrix_timestep at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_ret (int tstp, herm_matrix_timestep_view< T > &g1, herm_matrix< T > &g2)
  Evaluate the Euclidean norm between the retarded components a herm_matrix_timestep_view and herm_matrix at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_ret (int tstp, herm_matrix< T > &g1, herm_matrix_timestep_view< T > &g2)
  Evaluate the Euclidean norm between the retarded components a herm_matrix and herm_matrix_timestep_view at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_ret (int tstp, herm_matrix_timestep< T > &g1, herm_matrix_timestep_view< T > &g2)
  Evaluate the Euclidean norm between the retarded components a herm_matrix_timestep and herm_matrix_timestep_view at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_ret (int tstp, herm_matrix_timestep_view< T > &g1, herm_matrix_timestep< T > &g2)
  Evaluate the Euclidean norm between the retarded components a herm_matrix_timestep_view and herm_matrix_timestep at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_ret (int tstp, herm_matrix_timestep_view< T > &g1, herm_matrix_timestep_view< T > &g2)
  Evaluate the Euclidean norm between the retarded components a herm_matrix_timestep_view and herm_matrix_timestep_view at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_tv (int tstp, herm_matrix< T > &g1, herm_matrix< T > &g2)
  Evaluate the Euclidean norm between the left-mixing components of two herm_matrces at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_tv (int tstp, herm_matrix_timestep< T > &g1, herm_matrix< T > &g2)
  Evaluate the Euclidean norm between the left-mixing components a herm_matrix_timestep and herm_matrix at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_tv (int tstp, herm_matrix< T > &g1, herm_matrix_timestep< T > &g2)
  Evaluate the Euclidean norm between the left-mixing components a herm_matrix and herm_matrix_timestep at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_tv (int tstp, herm_matrix_timestep< T > &g1, herm_matrix_timestep< T > &g2)
  Evaluate the Euclidean norm between the left-mixing components a herm_matrix_timestep and herm_matrix_timestep at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_tv (int tstp, herm_matrix_timestep_view< T > &g1, herm_matrix< T > &g2)
  Evaluate the Euclidean norm between the left-mixing components a herm_matrix_timestep_view and herm_matrix at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_tv (int tstp, herm_matrix< T > &g1, herm_matrix_timestep_view< T > &g2)
  Evaluate the Euclidean norm between the left-mixing components a herm_matrix and herm_matrix_timestep_view at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_tv (int tstp, herm_matrix_timestep< T > &g1, herm_matrix_timestep_view< T > &g2)
  Evaluate the Euclidean norm between the left-mixing components a herm_matrix_timestep and herm_matrix_timestep_view at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_tv (int tstp, herm_matrix_timestep_view< T > &g1, herm_matrix_timestep< T > &g2)
  Evaluate the Euclidean norm between the left-mixing components a herm_matrix_timestep_view and herm_matrix_timestep at a given time step. More...
 
template<typename T >
T cntr::distance_norm2_tv (int tstp, herm_matrix_timestep_view< T > &g1, herm_matrix_timestep_view< T > &g2)
  Evaluate the Euclidean norm between the left-mixing components a herm_matrix_timestep_view and herm_matrix_timestep_view at a given time step. More...
 
template<typename T >
void cntr::extrapolate_timestep (int n, herm_matrix< T > &G, int SolveOrder)
  k-th order polynomial extrapolation to t=n+1 of the retarded, lesser and left-mixing components of herm_matrix. More...
 
template<typename T >
void cntr::extrapolate_timestep (int n, function< T > &f, int ExtrapolationOrder)
  k-th order polynomial extrapolation to t=n+1 of the contour function. More...
 
template<typename T >
void cntr::force_matsubara_hermitian (herm_matrix< T > &G)
  Force the Matsubara component of herm_matrix to be a hermitian matrix at each \( \tau \). More...
 
template<class GG >
void cntr::force_matsubara_hermitian (GG &G)
  Force the Matsubara component of a two-time contour object to be a hermitian matrix at each \( \tau \). More...
 
template<typename T >
cdmatrix cntr::interpolation (int tstp, double tinter, function< T > &f, int InterpolationOrder)
  k-th order polynomial interpolation of the contour function More...
 
template<typename T >
size_t cntr::mem_function (int nt, int size)
  Evaluate the memory necessary for a contour function. More...
 
template<typename T >
size_t cntr::mem_herm_matrix (int nt, int ntau, int size)
  Evaluate the memory necessary for a herm_matrix. More...
 
template<typename T >
size_t cntr::mem_herm_matrix_timestep (int tstp, int ntau, int size)
  Evaluate the memory necessary for a herm_matrix_timestep. More...
 
template<typename T >
void cntr::set_t0_from_mat (herm_matrix< T > &G)
  Set t=0 components of the two-time contour object from the Matsubara component. More...
 
template<typename T >
void cntr::set_tk_from_mat (herm_matrix< T > &G, int kt)
  Set components of herm_matrix at t=0,1,..kt from the Matsubara component. More...