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

« back to all changes in this revision

Viewing changes to src/NWints/api/int_1er.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 Computes the electrostatic potential at a point due to a charge
 
5
C> distribution
 
6
C>
 
7
C> Computes the electrostatic potential at a set of points due to the charge
 
8
C> distribution given by pairs of basis functions. In other words, compute the
 
9
C> integrals
 
10
C> \f{eqnarray*}{
 
11
C>    P_e(i,\mu,\nu) &=& \int \frac{\chi_\mu(r')\chi_\nu(r')q_i}{|r_i-r'|}dr'
 
12
C> \f}
 
13
C> where \f$ \chi(r) \f$ is a Gaussian basis function, the \f$ r_i \f$ are
 
14
C> the point positions of charges \f$ q_i \f$.
 
15
C>
1
16
      subroutine int_1er(r,npt,charg,
2
17
     &     i_basis,ish,j_basis,jsh,lscr,scr,lpe,Pe)
3
 
c $Id: int_1er.F 19696 2010-10-29 16:53:42Z d3y133 $
 
18
c $Id: int_1er.F 23150 2012-11-22 07:57:34Z d3y133 $
4
19
c
5
20
c     computes - for a given set of points r - the integral
6
21
c
29
44
      external cando_sp
30
45
      external cando_nw
31
46
c::passed
32
 
      integer i_basis, j_basis, ish, jsh, lscr, lpe,npt
33
 
      double precision scr(lscr), Pe(npt,lpe),r(3,npt),charg(npt)
 
47
      integer i_basis !< [Input] the basis set handle for ish
 
48
      integer ish     !< [Input] the i-th shell/contraction
 
49
      integer j_basis !< [Input] the basis set handle for jsh
 
50
      integer jsh     !< [Input] the j-th shell/contraction
 
51
      integer lscr    !< [Input] the length of the scratch space
 
52
      integer lpe     !< [Input] the number of charge distributions
 
53
      integer npt     !< [Input] the number of points
 
54
      double precision scr(lscr)   !< [Scratch] the scratch space
 
55
      double precision Pe(npt,lpe) !< [Output] the integrals
 
56
      double precision r(3,npt)    !< [Input] the center positions
 
57
      double precision charg(npt)  !< [Input] the center charges
34
58
c::local
35
59
      logical shells_ok
36
60
      integer i_geom, j_geom, ibas, jbas, ucont
97
121
     &         .false.,scr,lscr)
98
122
c
99
123
      end
 
124
C> @}