| Parameter | Type | Default value | Description |
| start_q | Positive integer | 1 | First q for computing screened Coulomb interaction and spin fluctuation |
| last_q | Positive integer | Number of q in Irreducible BZ | Last q for computing screened Coulomb interaction and spin fluctuation |
| laddxc | 0 or 1 | 0 | Specify the approximation used in the calculation of screened Coulomb interaction. 0 : RPA, 1: Adiabatic LDA. |
| lsf | 0 or 1 | 0 | Whether the spin-fluctuation [3] is computed (1) or not (0) |
| ecutfock | Real | Same as pw.x | Cutoff of plane waves for the polarization function [Ry]. |
| nq1, nq2, nq3 | Positive integer | Same as k mesh of a2Fsave | The k mesh of the Kohn-Sham orbitals. It must be the same as the twingrid.x input. |
| nci | Positive integer | 5 | The number of Matsubara frequencies of screened Coulomb interactions. |
| Parameter | Type | Default value | Description |
| temp | Positive real number | 0.1 | Temperature (Kelvin). |
| fbee | Positive integer | 1 | The first band in the gap equation. |
| lbee | Positive integer | nbnd in pw.x | The last band in the gap equation. |
| xic | Real number | -1.0 | Parameter for gap-function extrapolation method. Ry unit. When this is lower than 0.0, gap function extrapolation is not used (in default this extrapolation is not used). |
| nmf | Integer | 10 | The number of Matsubara frequencies in the calculation of the Coulomb kernel. |
| nx | Positive integer | 100 | The number of auxiliary energy grid in the vicinity of the Fermi level. |
| ne | Positive integer | 50 | Used only in the calculation of quasi-particle DOS. The number of energy grid for quasi particle density of states. |
| emin | Positive real number | 1.0e-7 | Minimum energy scale parameter for auxiliary energy grid. Ry unit. |
| emax | Positive real number | 5.0 | Used only in the calculation of quasi-particle DOS. The maximum energy where QPDOS is computed. meV unit. |
| electron_maxstep | Positive integer | 100 | The maximum iteration number for solving the gap equation. |
| conv_thr | Positive real number | 1.0e-15 | The convergence threshold for the gap equation. When the norm of the difference between the new and the old gap function becomes lower than it, the system is thought to be converged. Ry unit. |
| filedyn | String | "matdyn" | It must be the same as filedyn in ph.x. |
| spin_fluc | Logical | .False. | If .True., the spin-fluctuation [3] is included. |
| scdft_kernel | Positive integer | 1 | 1: Lüders2005 [4], 2: Sanna2020 [5] |
| lz_coulomb | Logical | .False. | Coulomb renormalization [6] |
| l_vc_vsf | 0,1,2 | 2 | For $V_\textrm{C}(\omega)$ and $V_\textrm{sf}(\omega)$, 0:Ignore them (el-ph only), 1:Ignore $\omega$-dependence (static), 2:dynamical. |
| q_fflo | Real(3) | 0.0,0.0,0.0 | Momentum of the order parameter in reciprocal fractional unit. |
| initial_delta | String | "random-nodeless" | Initial-guess type of k-dependent gap function. Choose from "random-nodeless", "random-nodal", "constant", "band-constant". |