Function QCM::periodized_Green_function_element

Function Documentation

vector<complex<double>> QCM::periodized_Green_function_element(int r, int c, const complex<double> w, const vector<vector3D<double>> &k, bool spin_down, int label)

returns the periodized Green function at a given frequency and for an array of wavevectors

Returns one matrix element of the periodized Green function at a frequency and array of wavevectors.

Parameters:

spin_down – true if the spin-down sector is covered (mixing = 4)