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

« back to all changes in this revision

Viewing changes to src/NWints/api/intdd_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 3-center 2-electron integral 2nd derivatives
 
5
C>       
 
6
C> Compute the 3-center 2-electron integral 2nd derivatives as given by
 
7
C> \f{eqnarray*}{
 
8
C> \frac{\partial^2({\mu}|{\nu}{\lambda})}{\partial X_x\partial X_y} = \int_{-\infty}^{\infty} \frac{\partial^2 g_{\mu}(X_{\mu},r_{1})\frac{1}{r_{12}}
 
9
C> g_{\nu}(X_{\nu},r_{2})g_{\lambda}(X_{\lambda},r_{2})}{\partial X_x\partial X_y}dr_{1}dr_{2}
 
10
C> \f}
 
11
C> The integral derivatives are stored in an order that is consistent with
 
12
C> the declaration `ERI(natcrd*(natcrd+1)/2,nint)`, where `nint` is the number
 
13
C> of integrals in the shell triplet, `natcrd` is the number of Cartesian
 
14
C> coordinates in the shell triplet, i.e. 9 ( = 3 atoms * 3 coordinates).
 
15
C> The actual lexical indeces of the atoms on which the shells `ish`,
 
16
C> `jsh` and `ksh` are centered are returned in `idatom`.
 
17
C> 
1
18
      subroutine intdd_2e3c(brain, ish, ketin, jsh, ksh,
2
19
     &       lscr, scr, leri, eri, idatom)
3
 
c $Id: intdd_2e3c.F 19696 2010-10-29 16:53:42Z d3y133 $
 
20
c $Id: intdd_2e3c.F 23303 2012-12-18 19:51:31Z d3y133 $
4
21
      implicit none
5
22
c
6
23
* basic api routine to generate 4 center two electron 
85
102
      external cando_txs
86
103
ckw
87
104
c::passed
88
 
      integer brain ! [input] basis set handle for bra basis
89
 
      integer ish   ! [input] lexical contraction index 
90
 
      integer jsh   ! [input] lexical contraction index 
91
 
      integer ketin ! [input] basis set handle for ket basis
92
 
      integer ksh   ! [input] lexical contraction index 
93
 
      integer lscr  ! [input] length of scratch array
94
 
      integer leri  ! [input] length of eri array
95
 
      double precision scr(lscr) ! [scratch] scratch array for integral code.
96
 
      double precision eri(leri) ! [output]  array for two electron integral derivatives.
 
105
      integer brain !< [Input] basis set handle for bra basis
 
106
      integer ish   !< [Input] lexical contraction index 
 
107
      integer jsh   !< [Input] lexical contraction index 
 
108
      integer ketin !< [Input] basis set handle for ket basis
 
109
      integer ksh   !< [Input] lexical contraction index 
 
110
      integer lscr  !< [Input] length of scratch array
 
111
      integer leri  !< [Input] length of eri array
 
112
      double precision scr(lscr) !< [Scratch] scratch array for integral code.
 
113
      double precision eri(leri) !< [Output]  array for two electron integral derivatives.
97
114
c NOTE: length of idatom is always 4 because there can be at most 4 centers involved
98
 
      integer idatom(4)          ! [output]  array identifying centers for derivatives
 
115
      integer idatom(4)          !< [Output]  array identifying centers for derivatives
99
116
c
100
117
c::local
101
118
      integer nint, ucont
198
215
      endif
199
216
c
200
217
      end
 
218
C> @}