(git:6a2e663)
construct_shg Module Reference

Calculation of the integrals over solid harmonic Gaussian(SHG) functions. Routines for (a|O(r12)|b) and overlap integrals (ab), (aba) and (abb). More...

Functions/Subroutines

subroutine, public get_real_scaled_solid_harmonic (Rlm_c, Rlm_s, l, r, r2)
 computes the real scaled solid harmonics Rlm up to a given l More...
 
subroutine, public get_w_matrix (lamax, lbmax, lmax, Rc, Rs, Waux_mat)
 calculates the angular dependent-part of the SHG integrals, transformation matrix W, see literature above More...
 
subroutine, public get_dw_matrix (lamax, lbmax, Waux_mat, dWaux_mat)
 calculates derivatives of transformation matrix W, More...
 
subroutine, public construct_int_shg_ab (la, first_sgfa, nshella, lb, first_sgfb, nshellb, swork_cont, Waux_mat, sab)
 calculates [ab] SHG overlap integrals using precomputed angular- dependent part More...
 
subroutine, public construct_dev_shg_ab (la, first_sgfa, nshella, lb, first_sgfb, nshellb, rab, swork_cont, Waux_mat, dWaux_mat, dsab)
 calculates derivatives of [ab] SHG overlap integrals using precomputed angular-dependent part More...
 
subroutine, public construct_overlap_shg_aba (la, first_sgfa, nshella, lb, first_sgfb, nshellb, lca, first_sgfca, nshellca, cg_coeff, cg_none0_list, ncg_none0, swork_cont, Waux_mat, saba)
 calculates [aba] SHG overlap integrals using precomputed angular- dependent part More...
 
subroutine, public dev_overlap_shg_aba (la, first_sgfa, nshella, lb, first_sgfb, nshellb, lca, first_sgfca, nshellca, cg_coeff, cg_none0_list, ncg_none0, rab, swork_cont, Waux_mat, dWaux_mat, dsaba)
 calculates derivatives of [aba] SHG overlap integrals using precomputed angular-dependent part More...
 
subroutine, public construct_overlap_shg_abb (la, first_sgfa, nshella, lb, first_sgfb, nshellb, lcb, first_sgfcb, nshellcb, cg_coeff, cg_none0_list, ncg_none0, swork_cont, Waux_mat, sabb)
 calculates [abb] SHG overlap integrals using precomputed angular- dependent part More...
 
subroutine, public dev_overlap_shg_abb (la, first_sgfa, nshella, lb, first_sgfb, nshellb, lcb, first_sgfcb, nshellcb, cg_coeff, cg_none0_list, ncg_none0, rab, swork_cont, Waux_mat, dWaux_mat, dsabb)
 calculates derivatives of [abb] SHG overlap integrals using precomputed angular-dependent part More...
 

Detailed Description

Calculation of the integrals over solid harmonic Gaussian(SHG) functions. Routines for (a|O(r12)|b) and overlap integrals (ab), (aba) and (abb).

Literature (partly)
T.J. Giese and D. M. York, J. Chem. Phys, 128, 064104 (2008) T. Helgaker, P Joergensen, J. Olsen, Molecular Electronic-Structure Theory, Wiley
History
created [04.2015]
Author
Dorothea Golze

Function/Subroutine Documentation

◆ get_real_scaled_solid_harmonic()

subroutine, public construct_shg::get_real_scaled_solid_harmonic ( real(kind=dp), dimension(0:l, -2*l:2*l), intent(out)  Rlm_c,
real(kind=dp), dimension(0:l, -2*l:2*l), intent(out)  Rlm_s,
integer, intent(in)  l,
real(kind=dp), dimension(3)  r,
real(kind=dp)  r2 
)

computes the real scaled solid harmonics Rlm up to a given l

Parameters
Rlm_ccosine part of real scaled soldi harmonics
Rlm_ssine part of real scaled soldi harmonics
lmaximal l quantum up to where Rlm is calculated
rdistance vector between a and b
r2square of distance vector

Definition at line 49 of file construct_shg.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_w_matrix()

subroutine, public construct_shg::get_w_matrix ( integer, dimension(:), pointer  lamax,
integer, intent(in)  lbmax,
integer, intent(in)  lmax,
real(kind=dp), dimension(0:lmax, -2*lmax:2*lmax), intent(in)  Rc,
real(kind=dp), dimension(0:lmax, -2*lmax:2*lmax), intent(in)  Rs,
real(kind=dp), dimension(:, :, :), intent(inout)  Waux_mat 
)

calculates the angular dependent-part of the SHG integrals, transformation matrix W, see literature above

Parameters
lamaxarray of maximal l quantum number on a; lamax(lb) with lb= 0..lbmax
lbmaxmaximal l quantum number on b
lmaxmaximal l quantum number
Rccosine part of real scaled solid harmonics
Rssine part of real scaled solid harmonics
Waux_matstores the angular-dependent part of the SHG integrals

Definition at line 210 of file construct_shg.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ get_dw_matrix()

subroutine, public construct_shg::get_dw_matrix ( integer, dimension(:), pointer  lamax,
integer, intent(in)  lbmax,
real(kind=dp), dimension(:, :, :), intent(inout)  Waux_mat,
real(kind=dp), dimension(:, :, :, :), intent(inout)  dWaux_mat 
)

calculates derivatives of transformation matrix W,

Parameters
lamaxarray of maximal l quantum number on a; lamax(lb) with lb= 0..lbmax
lbmaxmaximal l quantum number on b
Waux_matstores the angular-dependent part of the SHG integrals
dWaux_matstores the derivatives of the angular-dependent part of the SHG integrals

Definition at line 313 of file construct_shg.F.

Here is the caller graph for this function:

◆ construct_int_shg_ab()

subroutine, public construct_shg::construct_int_shg_ab ( integer, dimension(:), intent(in)  la,
integer, dimension(:), intent(in)  first_sgfa,
integer, intent(in)  nshella,
integer, dimension(:), intent(in)  lb,
integer, dimension(:), intent(in)  first_sgfb,
integer, intent(in)  nshellb,
real(kind=dp), dimension(:, :, :), intent(in)  swork_cont,
real(kind=dp), dimension(:, :, :), intent(in)  Waux_mat,
real(kind=dp), dimension(:, :), intent(inout)  sab 
)

calculates [ab] SHG overlap integrals using precomputed angular- dependent part

Parameters
laset of l quantum number on a
first_sgfaindexing
nshellanumber of shells for a
lbset of l quantum number on b
first_sgfbindexing
nshellbnumber of shells for b
swork_contcontracted and normalized [s|s] integrals
Waux_matprecomputed angular-dependent part
sabcontracted integral of spherical harmonic Gaussianslm

Definition at line 483 of file construct_shg.F.

Here is the caller graph for this function:

◆ construct_dev_shg_ab()

subroutine, public construct_shg::construct_dev_shg_ab ( integer, dimension(:), intent(in)  la,
integer, dimension(:), intent(in)  first_sgfa,
integer, intent(in)  nshella,
integer, dimension(:), intent(in)  lb,
integer, dimension(:), intent(in)  first_sgfb,
integer, intent(in)  nshellb,
real(kind=dp), dimension(3), intent(in)  rab,
real(kind=dp), dimension(:, :, :), intent(in)  swork_cont,
real(kind=dp), dimension(:, :, :), intent(in)  Waux_mat,
real(kind=dp), dimension(:, :, :, :), intent(in)  dWaux_mat,
real(kind=dp), dimension(:, :, :), intent(inout)  dsab 
)

calculates derivatives of [ab] SHG overlap integrals using precomputed angular-dependent part

Parameters
laset of l quantum number on a
first_sgfaindexing
nshellanumber of shells for a
lbset of l quantum number on b
first_sgfbindexing
nshellbnumber of shells for b
rabdistance vector Ra-Rb
swork_contcontracted and normalized [s|s] integrals
Waux_matprecomputed angular-dependent part
dWaux_mat...
dsabderivative of contracted integral of spherical harmonic Gaussians

Definition at line 540 of file construct_shg.F.

Here is the caller graph for this function:

◆ construct_overlap_shg_aba()

subroutine, public construct_shg::construct_overlap_shg_aba ( integer, dimension(:), intent(in)  la,
integer, dimension(:), intent(in)  first_sgfa,
integer, intent(in)  nshella,
integer, dimension(:), intent(in)  lb,
integer, dimension(:), intent(in)  first_sgfb,
integer, intent(in)  nshellb,
integer, dimension(:), intent(in)  lca,
integer, dimension(:), intent(in)  first_sgfca,
integer, intent(in)  nshellca,
real(kind=dp), dimension(:, :, :), intent(in)  cg_coeff,
integer, dimension(:, :, :), intent(in)  cg_none0_list,
integer, dimension(:, :), intent(in)  ncg_none0,
real(kind=dp), dimension(:, 0:, :, :, :), intent(in)  swork_cont,
real(kind=dp), dimension(:, :, :), intent(in)  Waux_mat,
real(kind=dp), dimension(:, :, :), intent(inout)  saba 
)

calculates [aba] SHG overlap integrals using precomputed angular- dependent part

Parameters
laset of l quantum number on a, orbital basis
first_sgfaindexing
nshellanumber of shells for a, orbital basis
lbset of l quantum number on b. orbital basis
first_sgfbindexing
nshellbnumber of shells for b, orbital basis
lcaof l quantum number on a, aux basis
first_sgfcaindexing
nshellcanumber of shells for a, aux basis
cg_coeffClebsch-Gordon coefficients
cg_none0_listlist of none-zero Clebsch-Gordon coefficients
ncg_none0number of non-zero Clebsch-Gordon coefficients
swork_contcontracted and normalized [s|ra^n|s] integrals
Waux_matprecomputed angular-dependent part
sabacontracted overlap [aba] of spherical harmonic Gaussians

Definition at line 604 of file construct_shg.F.

Here is the caller graph for this function:

◆ dev_overlap_shg_aba()

subroutine, public construct_shg::dev_overlap_shg_aba ( integer, dimension(:), intent(in)  la,
integer, dimension(:), intent(in)  first_sgfa,
integer, intent(in)  nshella,
integer, dimension(:), intent(in)  lb,
integer, dimension(:), intent(in)  first_sgfb,
integer, intent(in)  nshellb,
integer, dimension(:), intent(in)  lca,
integer, dimension(:), intent(in)  first_sgfca,
integer, intent(in)  nshellca,
real(kind=dp), dimension(:, :, :), intent(in)  cg_coeff,
integer, dimension(:, :, :), intent(in)  cg_none0_list,
integer, dimension(:, :), intent(in)  ncg_none0,
real(kind=dp), dimension(3), intent(in)  rab,
real(kind=dp), dimension(:, 0:, :, :, :), intent(in)  swork_cont,
real(kind=dp), dimension(:, :, :), intent(in)  Waux_mat,
real(kind=dp), dimension(:, :, :, :), intent(in)  dWaux_mat,
real(kind=dp), dimension(:, :, :, :), intent(inout)  dsaba 
)

calculates derivatives of [aba] SHG overlap integrals using precomputed angular-dependent part

Parameters
laset of l quantum number on a, orbital basis
first_sgfaindexing
nshellanumber of shells for a, orbital basis
lbset of l quantum number on b. orbital basis
first_sgfbindexing
nshellbnumber of shells for b, orbital basis
lcaof l quantum number on a, aux basis
first_sgfcaindexing
nshellcanumber of shells for a, aux basis
cg_coeffClebsch-Gordon coefficients
cg_none0_listlist of none-zero Clebsch-Gordon coefficients
ncg_none0number of non-zero Clebsch-Gordon coefficients
rabdistance vector Ra-Rb
swork_contcontracted and normalized [s|ra^n|s] integrals
Waux_matprecomputed angular-dependent part
dWaux_matderivatives of precomputed angular-dependent part
dsabaderivative of contracted overlap [aba] of spherical harmonic Gaussians

Definition at line 689 of file construct_shg.F.

Here is the caller graph for this function:

◆ construct_overlap_shg_abb()

subroutine, public construct_shg::construct_overlap_shg_abb ( integer, dimension(:), intent(in)  la,
integer, dimension(:), intent(in)  first_sgfa,
integer, intent(in)  nshella,
integer, dimension(:), intent(in)  lb,
integer, dimension(:), intent(in)  first_sgfb,
integer, intent(in)  nshellb,
integer, dimension(:), intent(in)  lcb,
integer, dimension(:), intent(in)  first_sgfcb,
integer, intent(in)  nshellcb,
real(kind=dp), dimension(:, :, :), intent(in)  cg_coeff,
integer, dimension(:, :, :), intent(in)  cg_none0_list,
integer, dimension(:, :), intent(in)  ncg_none0,
real(kind=dp), dimension(:, 0:, :, :, :), intent(in)  swork_cont,
real(kind=dp), dimension(:, :, :), intent(in)  Waux_mat,
real(kind=dp), dimension(:, :, :), intent(inout)  sabb 
)

calculates [abb] SHG overlap integrals using precomputed angular- dependent part

Parameters
laset of l quantum number on a, orbital basis
first_sgfaindexing
nshellanumber of shells for a, orbital basis
lbset of l quantum number on b. orbital basis
first_sgfbindexing
nshellbnumber of shells for b, orbital basis
lcbl quantum number on b, aux basis
first_sgfcbindexing
nshellcbnumber of shells for b, aux basis
cg_coeffClebsch-Gordon coefficients
cg_none0_listlist of none-zero Clebsch-Gordon coefficients
ncg_none0number of non-zero Clebsch-Gordon coefficients
swork_contcontracted and normalized [s|rb^n|s] integrals
Waux_matprecomputed angular-dependent part
sabbcontracted overlap [abb] of spherical harmonic Gaussians

Definition at line 783 of file construct_shg.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ dev_overlap_shg_abb()

subroutine, public construct_shg::dev_overlap_shg_abb ( integer, dimension(:), intent(in)  la,
integer, dimension(:), intent(in)  first_sgfa,
integer, intent(in)  nshella,
integer, dimension(:), intent(in)  lb,
integer, dimension(:), intent(in)  first_sgfb,
integer, intent(in)  nshellb,
integer, dimension(:), intent(in)  lcb,
integer, dimension(:), intent(in)  first_sgfcb,
integer, intent(in)  nshellcb,
real(kind=dp), dimension(:, :, :), intent(in)  cg_coeff,
integer, dimension(:, :, :), intent(in)  cg_none0_list,
integer, dimension(:, :), intent(in)  ncg_none0,
real(kind=dp), dimension(3), intent(in)  rab,
real(kind=dp), dimension(:, 0:, :, :, :), intent(in)  swork_cont,
real(kind=dp), dimension(:, :, :), intent(in)  Waux_mat,
real(kind=dp), dimension(:, :, :, :), intent(in)  dWaux_mat,
real(kind=dp), dimension(:, :, :, :), intent(inout)  dsabb 
)

calculates derivatives of [abb] SHG overlap integrals using precomputed angular-dependent part

Parameters
laset of l quantum number on a, orbital basis
first_sgfaindexing
nshellanumber of shells for a, orbital basis
lbset of l quantum number on b. orbital basis
first_sgfbindexing
nshellbnumber of shells for b, orbital basis
lcbl quantum number on b, aux basis
first_sgfcbindexing
nshellcbnumber of shells for b, aux basis
cg_coeffClebsch-Gordon coefficients
cg_none0_listlist of none-zero Clebsch-Gordon coefficients
ncg_none0number of non-zero Clebsch-Gordon coefficients
rabdistance vector Ra-Rb
swork_contcontracted and normalized [s|rb^n|s] integrals
Waux_matprecomputed angular-dependent part
dWaux_matderivatives of precomputed angular-dependent part
dsabbderivative of contracted overlap [abb] of spherical harmonic Gaussians

Definition at line 871 of file construct_shg.F.

Here is the call graph for this function:
Here is the caller graph for this function: