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

« back to all changes in this revision

Viewing changes to src/ddscf/uhf.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
1
      logical function uhf(rtdb, energy)
2
 
C$Id: uhf.F 21877 2012-01-26 19:52:10Z d3y133 $
 
2
C$Id: uhf.F 22669 2012-08-06 22:21:14Z niri $
3
3
      implicit none
4
4
#include "errquit.fh"
5
5
#include "global.fh"
218
218
c
219
219
      end
220
220
      logical function uhf_nr_solve(rtdb, energy, eone, etwo, enrep)
221
 
C     $Id: uhf.F 21877 2012-01-26 19:52:10Z d3y133 $
 
221
C     $Id: uhf.F 22669 2012-08-06 22:21:14Z niri $
222
222
      implicit none
223
223
#include "errquit.fh"
224
224
#include "mafdecls.fh"
403
403
c     End SCF minimisation
404
404
c     
405
405
      if (ga_nodeid().eq.0) call util_flush(6)
 
406
c
 
407
      if (.not.noscf) then  ! bypass for noscf
406
408
c     
407
409
c     *ALWAYS* return canonical MOs ... do not do aufbau
408
410
c     
417
419
      call movecs_fix_phase(g_movecs(2))
418
420
      if (olock) call scf_movecs_lock
419
421
      call scf_movecs_write(rtdb)
 
422
c
 
423
      end if  ! bypass for noscf
420
424
c     
421
425
c     Free globals
422
426
c     
534
538
      end
535
539
      subroutine uhf_k2cf(basis, nbf, nmo, nalpha, nbeta, g_kvec,
536
540
     $     g_mocf_in, g_mocf_out)
537
 
C$Id: uhf.F 21877 2012-01-26 19:52:10Z d3y133 $
 
541
C$Id: uhf.F 22669 2012-08-06 22:21:14Z niri $
538
542
      implicit none
539
543
#include "errquit.fh"
540
544
#include "mafdecls.fh"
631
635
#include "bgj.fh"
632
636
#include "case.fh"
633
637
#include "zora.fh"
 
638
#include "frozemb.fh"
634
639
c     
635
 
c     $Id: uhf.F 21877 2012-01-26 19:52:10Z d3y133 $
 
640
c     $Id: uhf.F 22669 2012-08-06 22:21:14Z niri $
636
641
c
637
642
      integer g_vecs(2)
638
643
      double precision energy
870
875
        call ga_dadd(1.d0,g_hcore,1.d0,g_zora_Kinetic(1),g_hcore) ! zora kinetic
871
876
      endif
872
877
      call int_1e_ga(basis, basis, g_hcore, 'potential', oskel) ! potential
 
878
c
 
879
c     add in frozen embedding
 
880
      if (frozemb) then
 
881
        call ga_dadd(1.d0,g_hcore,1.d0,g_frozemb,g_hcore)
 
882
      end if
 
883
c
873
884
      eone = 
874
885
     $     (ga_ddot(g_a_dens,g_hcore) + ga_ddot(g_b_dens,g_hcore))
875
886
      call ga_dadd(one, g_hcore, one, g_a_coul, g_a_coul)
1256
1267
c
1257
1268
      end
1258
1269
      subroutine uhf_canon(oaufbau, oprint)
1259
 
C$Id: uhf.F 21877 2012-01-26 19:52:10Z d3y133 $
 
1270
C$Id: uhf.F 22669 2012-08-06 22:21:14Z niri $
1260
1271
      implicit none
1261
1272
#include "errquit.fh"
1262
1273
#include "mafdecls.fh"