The G stands for the Green’s function while the W stands for the screened Couloumb interaction. The screening is encoded in the inverse dielectric function .

Finding the inverse dielectric function

Calculate plane-waves matrix elements (FFT’s)