~ubuntu-branches/ubuntu/trusty/nwchem/trusty-proposed

« back to all changes in this revision

Viewing changes to src/NWints/api/intpd_2e3c.F

  • Committer: Package Import Robot
  • Author(s): Michael Banck, Daniel Leidert, Andreas Tille, Michael Banck
  • Date: 2013-07-04 12:14:55 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20130704121455-5tvsx2qabor3nrui
Tags: 6.3-1
* New upstream release.
* Fixes anisotropic properties (Closes: #696361).
* New features include:
  + Multi-reference coupled cluster (MRCC) approaches
  + Hybrid DFT calculations with short-range HF 
  + New density-functionals including Minnesota (M08, M11) and HSE hybrid
    functionals
  + X-ray absorption spectroscopy (XAS) with TDDFT
  + Analytical gradients for the COSMO solvation model
  + Transition densities from TDDFT 
  + DFT+U and Electron-Transfer (ET) methods for plane wave calculations
  + Exploitation of space group symmetry in plane wave geometry optimizations
  + Local density of states (LDOS) collective variable added to Metadynamics
  + Various new XC functionals added for plane wave calculations, including
    hybrid and range-corrected ones
  + Electric field gradients with relativistic corrections 
  + Nudged Elastic Band optimization method
  + Updated basis sets and ECPs 

[ Daniel Leidert ]
* debian/watch: Fixed.

[ Andreas Tille ]
* debian/upstream: References

[ Michael Banck ]
* debian/upstream (Name): New field.
* debian/patches/02_makefile_flags.patch: Refreshed.
* debian/patches/06_statfs_kfreebsd.patch: Likewise.
* debian/patches/07_ga_target_force_linux.patch: Likewise.
* debian/patches/05_avoid_inline_assembler.patch: Removed, no longer needed.
* debian/patches/09_backported_6.1.1_fixes.patch: Likewise.
* debian/control (Build-Depends): Added gfortran-4.7 and gcc-4.7.
* debian/patches/10_force_gcc-4.7.patch: New patch, explicitly sets
  gfortran-4.7 and gcc-4.7, fixes test suite hang with gcc-4.8 (Closes:
  #701328, #713262).
* debian/testsuite: Added tests for COSMO analytical gradients and MRCC.
* debian/rules (MRCC_METHODS): New variable, required to enable MRCC methods.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
C> \ingroup nwint
 
2
C> @{
 
3
C>
 
4
C> \brief Compute 2-electron 3-center Gaussian periodic electron
 
5
C> repulsion integral derivatives
 
6
C>
 
7
C> The code in question always uses density fitting approaches for
 
8
C> the 3-center 2-electron integrals are needed. See [1] for details.
 
9
C>
 
10
C> [1] JE Jaffe, AC Hess,
 
11
C>     <i>"Gaussian basis density functional theory for systems
 
12
C>     periodic in two or three dimensions: Energy and forces"</i>,
 
13
C>    J.Chem.Phys. <b>105</b>, 10983-10998 (1996), DOI:
 
14
C>    <a href="http://dx.doi.org/10.1063/1.472866">
 
15
C>    10.1063/1.472866</a>
 
16
C>
1
17
      subroutine intpd_2e3c(brain, ish, ketin, jsh, ksh, Ri, Rj, 
2
18
     &       lscr, scr, leri, eri, idatom)
3
19
*
4
 
* $Id: intpd_2e3c.F 19696 2010-10-29 16:53:42Z d3y133 $
 
20
* $Id: intpd_2e3c.F 23398 2013-01-08 08:18:46Z d3y133 $
5
21
*
6
22
      implicit none
7
23
c
36
52
      external int_chk_init
37
53
      external int_nint_cart
38
54
c:: passed
39
 
      integer brain  ! basis set handle for bra function
40
 
      integer ketin  ! basis set handle for ket function
41
 
      integer ish    ! lexical contraction/shell index
42
 
      integer jsh    ! lexical contraction/shell index
43
 
      integer ksh    ! lexical contraction/shell index
44
 
      integer lscr   ! length of scratch array
45
 
      integer leri   ! length of ERI array
46
 
      integer idatom(4) ! atom index of derivatives
47
 
      double precision scr(lscr) ! scratch array 
48
 
      double precision eri(leri) ! ERI array
 
55
      integer brain  !< [Input] basis set handle for bra function
 
56
      integer ketin  !< [Input] basis set handle for ket function
 
57
      integer ish    !< [Input] lexical contraction/shell index
 
58
      integer jsh    !< [Input] lexical contraction/shell index
 
59
      integer ksh    !< [Input] lexical contraction/shell index
 
60
      integer lscr   !< [Input] length of scratch array
 
61
      integer leri   !< [Input] length of ERI array
 
62
      integer idatom(4) !< [Output] atom index of derivatives
 
63
      double precision scr(lscr) !< [Scratch] scratch array 
 
64
      double precision eri(leri) !< [Output] ERI array
49
65
c translation vectors are in fractional coordinates !
50
 
      double precision Ri(3)  ! translation vector for ish center 
51
 
      double precision Rj(3)  ! translation vector for jsh center 
 
66
      double precision Ri(3)  !< [Input] translation vector for ish center 
 
67
      double precision Rj(3)  !< [Input] translation vector for jsh center 
52
68
c:: local
53
69
      logical any_spherical
54
70
      logical shells_ok
182
198
        call errquit('intpd_2e3c: fatal error ',0, INT_ERR)
183
199
      endif
184
200
      end
 
201
C> @}