(git:27c966b)
Loading...
Searching...
No Matches
gw_ri_rs_small_cell_full_kp_lattice.F File Reference

Go to the source code of this file.

Modules

module  gw_ri_rs_small_cell_full_kp_lattice
 RI lattice matrices, real-space cells and data distribution shared by χ, W, Σ and the Gamma correction of periodic RI-RS GW.

Functions/Subroutines

subroutine, public gw_ri_rs_small_cell_full_kp_lattice::assemble_aa_contraction (bs_env, u_pp)
 Assembles the q-independent, atom-diagonal AA contraction from stored coefficients.
subroutine, public gw_ri_rs_small_cell_full_kp_lattice::owned_mo_coefficients (bs_env, mo_coeff, coeff)
 Dense MO coefficients of the cyclically owned SCF k points (owner of k: MODULO(k-1, ranks)). The locally stored parts of the distributed matrices are summed to the owner in batches of k points: few large reductions instead of one global gather per k, and no rank stores the coefficients of k points it does not own.
subroutine, public gw_ri_rs_small_cell_full_kp_lattice::build_full_cell_grid (bs_env, index_to_cell)
 Construct a complete cell grid dual to the uniform SCF k-point mesh.
real(kind=dp) function, public gw_ri_rs_small_cell_full_kp_lattice::ri_metric_head_zero (bs_env)
 Zero-wave-vector Fourier value of the selected RI metric kernel.
subroutine, public gw_ri_rs_small_cell_full_kp_lattice::build_ri_2c_lattice (fm_r, cells, potential, regularization, bs_env, qs_env, reference_basis)
 Form distributed I_PQ(R) = (φ_P,0 | v | φ_Q,R) over every screened neighbor cell.
subroutine, public gw_ri_rs_small_cell_full_kp_lattice::ri_2c_lattice_to_kp (fm_r, cells, qpoint, matrix_q)
 Evaluate I_PQ(q) = sum_R exp(i q.R) I_PQ(R) collectively into an existing dense matrix.
subroutine, public gw_ri_rs_small_cell_full_kp_lattice::gamma_auxiliary_charges (qs_env, charge)
 Integrate each auxiliary function for the Gamma charge-mode projection. For a primitive x^(2m) exp(-α x²), I_0=sqrt(π/α), I_2m=(2m-1)I_(2m-2)/(2α). Odd Cartesian moments vanish; the existing spherical contraction supplies normalization.
pure subroutine, public gw_ri_rs_small_cell_full_kp_lattice::block_range (n, rank, n_rank, first, n_local)
 Return the contiguous part of 1..n owned by one rank of a block distribution.

Variables

real(kind=dp), parameter, public gw_ri_rs_small_cell_full_kp_lattice::real_bytes = REAL(dp_size, dp)
real(kind=dp), parameter, public gw_ri_rs_small_cell_full_kp_lattice::complex_bytes = 2.0_dp*real_bytes