12 USE omp_lib,
ONLY: omp_get_thread_num
23 coulomb_integral_cleanup,&
24 coulomb_integral_context_type,&
44#include "./base/base_uses.f90"
50 CHARACTER(len=*),
PARAMETER,
PRIVATE :: moduleN =
'gw_utils_compute_integrals'
66 REAL(kind=
dp) :: dr_ij = 0.0_dp, dr_jk = 0.0_dp, &
68 INTEGER :: maxli = 0, maxlj = 0, maxlk = 0, &
70 INTEGER :: max_ncoi = 0, max_ncoj = 0, max_ncok = 0
71 INTEGER :: max_nsgfi = 0, max_nsgfj = 0, &
72 max_nsgfk = 0, max_nset = 0, natom = 0
73 TYPE(
cp_2d_r_p_type),
DIMENSION(:, :),
POINTER :: spi => null(), tspj => null(), &
76 INTEGER,
ALLOCATABLE,
DIMENSION(:) :: kind_of
79 REAL(kind=
dp),
DIMENSION(3, 3) :: hmat = 0.0_dp
87 TYPE(coulomb_integral_context_type) :: integrals = coulomb_integral_context_type()
88 REAL(kind=
dp),
ALLOCATABLE,
DIMENSION(:) :: cpp_buffer, ccp_buffer
109 cpassert(
ASSOCIATED(bs_env%ri_rs%atomic_kind_set))
110 cpassert(
ASSOCIATED(bs_env%ri_rs%cell))
111 cpassert(
ASSOCIATED(bs_env%para_env))
112 cpassert(
ASSOCIATED(bs_env%ri_rs%particle_set))
114 CALL gw_3c_ctx_create_core(ctx, potential_parameter, basis_j, basis_k, basis_i, &
115 bs_env%ri_rs%atomic_kind_set, bs_env%ri_rs%cell, &
116 bs_env%n_atom, bs_env%para_env, bs_env%ri_rs%particle_set)
132 SUBROUTINE gw_3c_ctx_create_core(ctx, potential_parameter, basis_j, basis_k, basis_i, &
133 atomic_kind_set, cell, natom, para_env, particle_set)
138 POINTER :: atomic_kind_set
139 TYPE(
cell_type),
INTENT(IN),
POINTER :: cell
140 INTEGER,
INTENT(IN) :: natom
143 POINTER :: particle_set
145 CHARACTER(LEN=*),
PARAMETER :: routinen =
'gw_3c_ctx_create_core'
147 INTEGER :: egfi, handle, ibasis, ilist,
imax, iset, &
148 jset, kset, l, nbasis, ncoi, npgf_l, &
150 INTEGER,
DIMENSION(:),
POINTER :: lmax_i, lmin_i, npgfi, npgfj, npgfk, &
154 CALL timeset(routinen, handle)
156 ctx%potential_parameter = potential_parameter
157 ctx%op_ij = potential_parameter%potential_type
164 ctx%dr_ij = 1000000.0_dp
165 ctx%dr_ik = 1000000.0_dp
170 ctx%particle_set => particle_set
172 CALL get_cell(cell=ctx%cell, h=ctx%hmat)
174 ctx%basis_i = basis_i
175 ctx%basis_j = basis_j
176 ctx%basis_k = basis_k
179 nbasis =
SIZE(basis_i)
180 DO ibasis = 1, nbasis
182 lmax=lmax_i, lmin=lmin_i, nset=iset, nsgf_set=nsgfi, npgf=npgfi)
183 ctx%maxli = max(ctx%maxli,
imax)
184 ctx%max_nset = max(ctx%max_nset, iset)
185 ctx%max_nsgfi = max(ctx%max_nsgfi, maxval(nsgfi))
186 ctx%max_ncoi = max(ctx%max_ncoi, maxval(npgfi)*
ncoset(ctx%maxli))
190 IF (lmin_i(jset) == l .AND. lmax_i(jset) == l) npgf_l = npgf_l + npgfi(jset)
192 ctx%max_ncoi = max(ctx%max_ncoi, npgf_l*
ncoset(l))
195 DO ibasis = 1, nbasis
197 nset=jset, nsgf_set=nsgfj, npgf=npgfj)
198 ctx%maxlj = max(ctx%maxlj,
imax)
199 ctx%max_nset = max(ctx%max_nset, jset)
200 ctx%max_nsgfj = max(ctx%max_nsgfj, maxval(nsgfj))
201 ctx%max_ncoj = max(ctx%max_ncoj, maxval(npgfj)*
ncoset(ctx%maxlj))
203 DO ibasis = 1, nbasis
205 nset=kset, nsgf_set=nsgfk, npgf=npgfk)
206 ctx%maxlk = max(ctx%maxlk,
imax)
207 ctx%max_nset = max(ctx%max_nset, kset)
208 ctx%max_nsgfk = max(ctx%max_nsgfk, maxval(nsgfk))
209 ctx%max_ncok = max(ctx%max_ncok, maxval(npgfk)*
ncoset(ctx%maxlk))
211 ctx%m_max = ctx%maxli + ctx%maxlj + ctx%maxlk
212 ctx%max_am = max(ctx%maxli, ctx%maxlj, ctx%maxlk)
215 ALLOCATE (ctx%spi(ctx%max_nset, nbasis), ctx%tspj(ctx%max_nset, nbasis), &
216 ctx%spk(ctx%max_nset, nbasis))
217 DO ibasis = 1, nbasis
218 DO iset = 1, ctx%max_nset
219 NULLIFY (ctx%spi(iset, ibasis)%array)
220 NULLIFY (ctx%tspj(iset, ibasis)%array)
221 NULLIFY (ctx%spk(iset, ibasis)%array)
225 DO ibasis = 1, nbasis
226 IF (ilist == 1) basis_set => basis_i(ibasis)%gto_basis_set
227 IF (ilist == 2) basis_set => basis_j(ibasis)%gto_basis_set
228 IF (ilist == 3) basis_set => basis_k(ibasis)%gto_basis_set
229 DO iset = 1, basis_set%nset
230 ncoi = basis_set%npgf(iset)*
ncoset(basis_set%lmax(iset))
231 sgfi = basis_set%first_sgf(1, iset)
232 egfi = sgfi + basis_set%nsgf_set(iset) - 1
234 ALLOCATE (ctx%spi(iset, ibasis)%array(ncoi, basis_set%nsgf_set(iset)))
235 ctx%spi(iset, ibasis)%array(:, :) = basis_set%sphi(1:ncoi, sgfi:egfi)
236 ELSE IF (ilist == 2)
THEN
237 ALLOCATE (ctx%tspj(iset, ibasis)%array(basis_set%nsgf_set(iset), ncoi))
238 ctx%tspj(iset, ibasis)%array(:, :) = transpose(basis_set%sphi(1:ncoi, sgfi:egfi))
240 ALLOCATE (ctx%spk(iset, ibasis)%array(ncoi, basis_set%nsgf_set(iset)))
241 ctx%spk(iset, ibasis)%array(:, :) = basis_set%sphi(1:ncoi, sgfi:egfi)
250 CALL timestop(handle)
252 END SUBROUTINE gw_3c_ctx_create_core
262 INTEGER :: ibasis, iset
264 DO iset = 1,
SIZE(ctx%spi, 1)
265 DO ibasis = 1,
SIZE(ctx%spi, 2)
266 IF (
ASSOCIATED(ctx%spi(iset, ibasis)%array))
DEALLOCATE (ctx%spi(iset, ibasis)%array)
267 IF (
ASSOCIATED(ctx%tspj(iset, ibasis)%array))
DEALLOCATE (ctx%tspj(iset, ibasis)%array)
268 IF (
ASSOCIATED(ctx%spk(iset, ibasis)%array))
DEALLOCATE (ctx%spk(iset, ibasis)%array)
271 DEALLOCATE (ctx%spi, ctx%tspj, ctx%spk)
272 NULLIFY (ctx%spi, ctx%tspj, ctx%spk, ctx%particle_set, ctx%cell)
273 IF (
ALLOCATED(ctx%kind_of))
DEALLOCATE (ctx%kind_of)
274 IF (
ALLOCATED(ctx%basis_i))
DEALLOCATE (ctx%basis_i)
275 IF (
ALLOCATED(ctx%basis_j))
DEALLOCATE (ctx%basis_j)
276 IF (
ALLOCATED(ctx%basis_k))
DEALLOCATE (ctx%basis_k)
290 CALL coulomb_integral_init(ws%integrals, max_am_3c=ctx%max_am, &
292 ALLOCATE (ws%cpp_buffer(ctx%max_nsgfj*ctx%max_ncok), &
293 ws%ccp_buffer(ctx%max_nsgfj*ctx%max_nsgfk*ctx%max_ncoi))
305 CALL coulomb_integral_cleanup(ws%integrals)
306 DEALLOCATE (ws%cpp_buffer, ws%ccp_buffer)
330 cell_j, cell_k, cell_i, &
331 j_offset, k_offset, i_offset, screened)
333 REAL(kind=
dp),
DIMENSION(:, :, :) :: int_3c
336 INTEGER,
INTENT(IN) :: atom_j, atom_k, atom_i
337 INTEGER,
DIMENSION(3),
INTENT(IN),
OPTIONAL :: cell_j, cell_k, cell_i
338 INTEGER,
INTENT(IN),
OPTIONAL :: j_offset, k_offset, i_offset
339 LOGICAL,
INTENT(OUT),
OPTIONAL :: screened
341 INTEGER :: block_end_i, block_end_j, block_end_k, block_start_i, block_start_j, &
342 block_start_k, ikind, iset, jkind, jset, kkind, kset, my_i_offset, my_j_offset, &
343 my_k_offset, ncoi, ncoj, ncok, nseti, nsetj, nsetk, sgfi, sgfj, sgfk
344 INTEGER,
DIMENSION(3) :: my_cell_i, my_cell_j, my_cell_k
345 INTEGER,
DIMENSION(:),
POINTER :: lmax_i, lmax_j, lmax_k, lmin_i, lmin_j, &
346 lmin_k, npgfi, npgfj, npgfk, nsgfi, &
348 INTEGER,
DIMENSION(:, :),
POINTER :: first_sgf_i, first_sgf_j, first_sgf_k
349 REAL(kind=
dp) :: dij, dik, djk, kind_radius_i, &
350 kind_radius_j, kind_radius_k, sijk_ext
351 REAL(kind=
dp),
ALLOCATABLE,
DIMENSION(:, :, :) :: sijk, sijk_contr
352 REAL(kind=
dp),
DIMENSION(3) :: ri, rij, rik, rj, rjk, rk
353 REAL(kind=
dp),
DIMENSION(:),
POINTER :: set_radius_i, set_radius_j, set_radius_k
354 REAL(kind=
dp),
DIMENSION(:, :),
POINTER :: rpgf_i, rpgf_j, rpgf_k, zeti, zetj, zetk
356 IF (
PRESENT(screened)) screened = .false.
359 IF (
PRESENT(cell_i)) my_cell_i(1:3) = cell_i(1:3)
361 IF (
PRESENT(cell_j)) my_cell_j(1:3) = cell_j(1:3)
363 IF (
PRESENT(cell_k)) my_cell_k(1:3) = cell_k(1:3)
365 IF (
PRESENT(i_offset)) my_i_offset = i_offset
367 IF (
PRESENT(j_offset)) my_j_offset = j_offset
369 IF (
PRESENT(k_offset)) my_k_offset = k_offset
371 ri =
pbc(ctx%particle_set(atom_i)%r(1:3), ctx%cell) + matmul(ctx%hmat, real(my_cell_i,
dp))
372 rj =
pbc(ctx%particle_set(atom_j)%r(1:3), ctx%cell) + matmul(ctx%hmat, real(my_cell_j,
dp))
373 rk =
pbc(ctx%particle_set(atom_k)%r(1:3), ctx%cell) + matmul(ctx%hmat, real(my_cell_k,
dp))
375 rjk(1:3) = rk(1:3) - rj(1:3)
376 rij(1:3) = rj(1:3) - ri(1:3)
377 rik(1:3) = rk(1:3) - ri(1:3)
383 ikind = ctx%kind_of(atom_i)
384 jkind = ctx%kind_of(atom_j)
385 kkind = ctx%kind_of(atom_k)
387 CALL get_gto_basis_set(ctx%basis_i(ikind)%gto_basis_set, first_sgf=first_sgf_i, &
388 lmax=lmax_i, lmin=lmin_i, npgf=npgfi, nset=nseti, &
389 nsgf_set=nsgfi, pgf_radius=rpgf_i, set_radius=set_radius_i, &
390 zet=zeti, kind_radius=kind_radius_i)
391 CALL get_gto_basis_set(ctx%basis_j(jkind)%gto_basis_set, first_sgf=first_sgf_j, &
392 lmax=lmax_j, lmin=lmin_j, npgf=npgfj, nset=nsetj, &
393 nsgf_set=nsgfj, pgf_radius=rpgf_j, set_radius=set_radius_j, &
394 zet=zetj, kind_radius=kind_radius_j)
395 CALL get_gto_basis_set(ctx%basis_k(kkind)%gto_basis_set, first_sgf=first_sgf_k, &
396 lmax=lmax_k, lmin=lmin_k, npgf=npgfk, nset=nsetk, &
397 nsgf_set=nsgfk, pgf_radius=rpgf_k, set_radius=set_radius_k, &
398 zet=zetk, kind_radius=kind_radius_k)
400 IF (kind_radius_j + kind_radius_i + ctx%dr_ij < dij .OR. &
401 kind_radius_j + kind_radius_k + ctx%dr_jk < djk .OR. &
402 kind_radius_k + kind_radius_i + ctx%dr_ik < dik)
THEN
403 IF (
PRESENT(screened)) screened = .true.
409 IF (set_radius_j(jset) + set_radius_i(iset) + ctx%dr_ij < dij) cycle
411 IF (set_radius_j(jset) + set_radius_k(kset) + ctx%dr_jk < djk) cycle
412 IF (set_radius_k(kset) + set_radius_i(iset) + ctx%dr_ik < dik) cycle
414 ncoi = npgfi(iset)*
ncoset(lmax_i(iset))
415 ncoj = npgfj(jset)*
ncoset(lmax_j(jset))
416 ncok = npgfk(kset)*
ncoset(lmax_k(kset))
418 sgfi = first_sgf_i(1, iset)
419 sgfj = first_sgf_j(1, jset)
420 sgfk = first_sgf_k(1, kset)
422 IF (ncoj*ncok*ncoi <= 0) cycle
423 ALLOCATE (sijk(ncoj, ncok, ncoi))
424 sijk(:, :, :) = 0.0_dp
426 CALL compute_coulomb_3c(ws%integrals, lmin_j(jset), lmax_j(jset), lmin_k(kset), lmax_k(kset), &
427 lmin_i(iset), lmax_i(iset), npgfj(jset), npgfk(kset), npgfi(iset), zetj(:, jset), &
428 zetk(:, kset), zeti(:, iset), rpgf_j(:, jset), rpgf_k(:, kset), rpgf_i(:, iset), rj, rk, ri, &
429 sijk, ctx%potential_parameter, dab=djk, dac=dij, dbc=dik, int_abc_ext=sijk_ext)
431 ALLOCATE (sijk_contr(nsgfj(jset), nsgfk(kset), nsgfi(iset)))
433 ctx%spk(kset, kkind)%array, ctx%spi(iset, ikind)%array, &
434 ncoj, ncok, ncoi, nsgfj(jset), nsgfk(kset), &
435 nsgfi(iset), ws%cpp_buffer, ws%ccp_buffer)
438 block_start_j = sgfj + my_j_offset
439 block_end_j = sgfj + nsgfj(jset) - 1 + my_j_offset
440 block_start_k = sgfk + my_k_offset
441 block_end_k = sgfk + nsgfk(kset) - 1 + my_k_offset
442 block_start_i = sgfi + my_i_offset
443 block_end_i = sgfi + nsgfi(iset) - 1 + my_i_offset
445 int_3c(block_start_j:block_end_j, &
446 block_start_k:block_end_k, &
447 block_start_i:block_end_i) = &
448 int_3c(block_start_j:block_end_j, &
449 block_start_k:block_end_k, &
450 block_start_i:block_end_i) + &
452 DEALLOCATE (sijk_contr)
479 basis_j, basis_k, basis_i, &
480 cell_j, cell_k, cell_i, atom_j, atom_k, atom_i, &
481 j_bf_start_from_atom, k_bf_start_from_atom, &
482 i_bf_start_from_atom)
484 REAL(kind=
dp),
DIMENSION(:, :, :) :: int_3c
488 INTEGER,
DIMENSION(3),
INTENT(IN),
OPTIONAL :: cell_j, cell_k, cell_i
489 INTEGER,
INTENT(IN),
OPTIONAL :: atom_j, atom_k, atom_i
490 INTEGER,
DIMENSION(:),
OPTIONAL :: j_bf_start_from_atom, &
491 k_bf_start_from_atom, &
494 CHARACTER(LEN=*),
PARAMETER :: routinen =
'build_3c_integral_block'
496 INTEGER :: at_i, at_j, at_k, handle, my_i_offset, &
497 my_j_offset, my_k_offset, natom
505 CALL timeset(routinen, handle)
507 NULLIFY (atomic_kind_set, cell, para_env, particle_set)
508 CALL get_qs_env(qs_env, atomic_kind_set=atomic_kind_set, cell=cell, natom=natom, &
509 para_env=para_env, particle_set=particle_set)
510 CALL gw_3c_ctx_create_core(ctx, potential_parameter, basis_j, basis_k, basis_i, &
511 atomic_kind_set, cell, natom, para_env, particle_set)
514 int_3c(:, :, :) = 0.0_dp
517 DO at_i = 1, ctx%natom
519 DO at_j = 1, ctx%natom
521 DO at_k = 1, ctx%natom
523 IF (
PRESENT(atom_i))
THEN
524 IF (at_i /= atom_i) cycle
526 IF (
PRESENT(atom_j))
THEN
527 IF (at_j /= atom_j) cycle
529 IF (
PRESENT(atom_k))
THEN
530 IF (at_k /= atom_k) cycle
533 IF (
PRESENT(atom_j))
THEN
536 cpassert(
PRESENT(j_bf_start_from_atom))
537 my_j_offset = j_bf_start_from_atom(at_j) - 1
539 IF (
PRESENT(atom_k))
THEN
542 cpassert(
PRESENT(k_bf_start_from_atom))
543 my_k_offset = k_bf_start_from_atom(at_k) - 1
545 IF (
PRESENT(atom_i))
THEN
548 cpassert(
PRESENT(i_bf_start_from_atom))
549 my_i_offset = i_bf_start_from_atom(at_i) - 1
553 cell_j=cell_j, cell_k=cell_k, cell_i=cell_i, &
554 j_offset=my_j_offset, k_offset=my_k_offset, &
555 i_offset=my_i_offset)
564 CALL timestop(handle)
static int imax(int x, int y)
Returns the larger of two given integers (missing from the C standard).
Contraction of integrals over primitive Cartesian Gaussians based on the contraction matrix sphi whic...
subroutine, public abc_contract_xsmm(abcint, sabc, sphi_a, sphi_b, sphi_c, ncoa, ncob, ncoc, nsgfa, nsgfb, nsgfc, cpp_buffer, ccp_buffer, prefac, pstfac)
3-center contraction routine from primitive cartesian Gaussians to spherical Gaussian functions using...
Define the atomic kind types and their sub types.
subroutine, public get_atomic_kind_set(atomic_kind_set, atom_of_kind, kind_of, natom_of_kind, maxatom, natom, nshell, fist_potential_present, shell_present, shell_adiabatic, shell_check_distance, damping_present)
Get attributes of an atomic kind set.
subroutine, public get_gto_basis_set(gto_basis_set, name, aliases, norm_type, kind_radius, ncgf, nset, nsgf, cgf_symbol, sgf_symbol, norm_cgf, set_radius, lmax, lmin, lx, ly, lz, m, ncgf_set, npgf, nsgf_set, nshell, cphi, pgf_radius, sphi, scon, zet, first_cgf, first_sgf, l, last_cgf, last_sgf, n, gcc, maxco, maxl, maxpgf, maxsgf_set, maxshell, maxso, nco_sum, npgf_sum, nshell_sum, maxder, short_kind_radius, npgf_seg_sum, ccon)
...
Handles all functions related to the CELL.
subroutine, public get_cell(cell, alpha, beta, gamma, deth, orthorhombic, abc, periodic, h, h_inv, symmetry_id, tag)
Get informations about a simulation cell.
Common interface for two- and three-center Coulomb integrals.
various utilities that regard array of different kinds: output, allocation,... maybe it is not a good...
Utility method to build 3-center integrals for small cell GW.
subroutine, public gw_3c_ws_create(ws, ctx)
Creates a per-thread 3c workspace: libint object + LIBXSMM contraction buffers.
subroutine, public build_3c_integral_block_ctx(int_3c, ctx, ws, atom_j, atom_k, atom_i, cell_j, cell_k, cell_i, j_offset, k_offset, i_offset, screened)
Computes the 3c integral block (mu(atom_j) nu(atom_k) | P(atom_i)) for ONE atom triple,...
subroutine, public gw_3c_ctx_release(ctx)
Releases the shared 3c-integral context.
subroutine, public build_3c_integral_block(int_3c, qs_env, potential_parameter, basis_j, basis_k, basis_i, cell_j, cell_k, cell_i, atom_j, atom_k, atom_i, j_bf_start_from_atom, k_bf_start_from_atom, i_bf_start_from_atom)
...
subroutine, public gw_3c_ws_release(ws)
Releases a per-thread 3c workspace.
subroutine, public gw_3c_ctx_create(ctx, bs_env, potential_parameter, basis_j, basis_k, basis_i)
Build the shared 3c-integral context from the band-structure environment and explicitly supplied pote...
Library choices for electronic integral APIs.
real(dp), parameter, public cutoff_screen_factor
integer, parameter, public library_libint
Defines the basic variable types.
integer, parameter, public dp
Interface to the message passing library MPI.
Provides Cartesian and spherical orbital pointers and indices.
integer, dimension(:), allocatable, public ncoset
Define the data structure for the particle information.
subroutine, public get_qs_env(qs_env, atomic_kind_set, qs_kind_set, cell, super_cell, cell_ref, use_ref_cell, kpoints, dft_control, mos, sab_orb, sab_all, qmmm, qmmm_periodic, mimic, sac_ae, sac_ppl, sac_lri, sap_ppnl, sab_vdw, sab_scp, sap_oce, sab_lrc, sab_se, sab_xtbe, sab_tbe, sab_core, sab_xb, sab_xtb_pp, sab_xtb_nonbond, sab_almo, sab_kp, sab_kp_nosym, sab_cneo, particle_set, energy, force, matrix_h, matrix_h_im, matrix_ks, matrix_ks_im, matrix_vxc, run_rtp, rtp, matrix_h_kp, matrix_h_im_kp, matrix_ks_kp, matrix_ks_im_kp, matrix_vxc_kp, kinetic_kp, matrix_s_kp, matrix_w_kp, matrix_s_ri_aux_kp, matrix_s, matrix_s_ri_aux, matrix_w, matrix_p_mp2, matrix_p_mp2_admm, matrix_vhxc, rho, rho_xc, pw_env, ewald_env, ewald_pw, active_space, mpools, input, para_env, blacs_env, scf_control, rel_control, kinetic, qs_charges, vppl, xcint_weights, rho_core, rho_nlcc, rho_nlcc_g, ks_env, ks_qmmm_env, wf_history, scf_env, local_particles, local_molecules, distribution_2d, dbcsr_dist, molecule_kind_set, molecule_set, subsys, cp_subsys, oce, local_rho_set, rho_atom_set, task_list, task_list_soft, rho0_atom_set, rho0_mpole, rhoz_set, rhoz_cneo_set, ecoul_1c, rho0_s_rs, rho0_s_gs, rhoz_cneo_s_rs, rhoz_cneo_s_gs, do_kpoints, has_unit_metric, requires_mo_derivs, mo_derivs, mo_loc_history, nkind, natom, nelectron_total, nelectron_spin, efield, neighbor_list_id, linres_control, xas_env, virial, cp_ddapc_env, cp_ddapc_ewald, outer_scf_history, outer_scf_ihistory, x_data, et_coupling, dftb_potential, results, se_taper, se_store_int_env, se_nddo_mpole, se_nonbond_env, admm_env, lri_env, lri_density, exstate_env, ec_env, harris_env, dispersion_env, gcp_env, vee, rho_external, external_vxc, mask, mp2_env, bs_env, kg_env, wanniercentres, atprop, ls_scf_env, do_transport, transport_env, v_hartree_rspace, s_mstruct_changed, rho_changed, potential_changed, forces_up_to_date, mscfg_env, almo_scf_env, gradient_history, variable_history, embed_pot, spin_embed_pot, polar_env, mos_last_converged, eeq, rhs, do_rixs, tb_tblite)
Get the QUICKSTEP environment.
Radial fundamentals for Gaussian two-electron integrals. Entry m+1 stores order m....
subroutine, public r12_fundamentals_init(m_max, potential_parameter, para_env)
Prepare shared radial evaluator tables before entering a threaded evaluation region.
Provides all information about an atomic kind.
Type defining parameters related to the simulation cell.
represent a pointer to a 2d array
Shared read-only context for repeated 3-center integral block builds: screening parameters,...
Per-thread workspace for 3-center integral block builds: libint object + contraction buffers....
stores all the informations relevant to an mpi environment