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

« back to all changes in this revision

Viewing changes to src/NWints/api/intp_mpolel.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 1-electron Gaussian periodic multipole
 
5
C>  integrals of a particular multipole of \f$l_{max}\f$
 
6
C>
 
7
C> See [1] for details.
 
8
C>
 
9
C> [1] JE Jaffe, AC Hess,
 
10
C>     <i>"Gaussian basis density functional theory for systems 
 
11
C>     periodic in two or three dimensions: Energy and forces"</i>,
 
12
C>    J.Chem.Phys. <b>105</b>, 10983-10998 (1996), DOI:
 
13
C>    <a href="http://dx.doi.org/10.1063/1.472866">
 
14
C>    10.1063/1.472866</a>
 
15
C>
1
16
      subroutine intp_mpolel(i_basis, ish, j_basis, jsh, R,
2
17
     &    lval, centerl,
3
18
     &    lscr, scr, lmpint, MP, num_mpint)
4
19
*
5
 
* $Id: intp_mpolel.F 19696 2010-10-29 16:53:42Z d3y133 $
 
20
* $Id: intp_mpolel.F 23392 2013-01-07 20:00:04Z d3y133 $
6
21
*
7
22
c
8
23
c routine to compute multipole integrals at a given lvalue with the
83
98
      external int_chk_init
84
99
      external int_nint_cart, int_nint
85
100
c::passed
86
 
      integer i_basis             ! [input] basis set handle for ish
87
 
      integer ish                 ! [input] i shell/contraction
88
 
      integer j_basis             ! [input] basis set handle for jsh
89
 
      integer jsh                 ! [input] j shell/contraction
 
101
      integer i_basis             !< [Input] basis set handle for ish
 
102
      integer ish                 !< [Input] i shell/contraction
 
103
      integer j_basis             !< [Input] basis set handle for jsh
 
104
      integer jsh                 !< [Input] j shell/contraction
90
105
c...     translation vectors are in fractional coordinates 
91
 
      double precision R(3)       ! [input] translation vec on j cont.
92
 
      integer lval                ! [input] maximum lvalue for 
93
 
*.......................................... multipole integrals 
94
 
*.......................................... in this batch
95
 
      double precision centerl(3) ! [input] coordinates of multipole
96
 
      integer lscr                ! [input] length of scratch array
97
 
      double precision scr(lscr)  ! [input] scratch array
98
 
      integer lmpint              ! [input] length of multipole 
99
 
*.......................................... integrals array
100
 
      double precision MP(lmpint) ! [output] multipole integrals
101
 
      integer num_mpint           ! [output] number of multipole integrals
 
106
      double precision R(3)       !< [Input] translation vec on j cont.
 
107
      integer lval                !< [Input] maximum lvalue for 
 
108
                                  !< multipole integrals in this batch
 
109
      double precision centerl(3) !< [Input] coordinates of multipole
 
110
      integer lscr                !< [Input] length of scratch array
 
111
      double precision scr(lscr)  !< [Input] scratch array
 
112
      integer lmpint              !< [Input] length of multipole 
 
113
                                  !< integrals array
 
114
      double precision MP(lmpint) !< [Output] multipole integrals
 
115
      integer num_mpint           !< [Output] number of multipole integrals
102
116
c::local      
103
117
      logical shells_ok
104
118
      integer ibas, Li, i_prim, i_gen, i_iexp, i_icfp, i_cent, i_geom
213
227
      endif
214
228
 
215
229
      end
 
230
C> @}