~ubuntu-branches/ubuntu/saucy/nwchem/saucy

« back to all changes in this revision

Viewing changes to src/nwdft/lr_tddft/tddft_init.F

  • Committer: Package Import Robot
  • Author(s): Michael Banck, Michael Banck, Daniel Leidert
  • Date: 2012-02-09 20:02:41 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20120209200241-jgk03qfsphal4ug2
Tags: 6.1-1
* New upstream release.

[ Michael Banck ]
* debian/patches/02_makefile_flags.patch: Updated.
* debian/patches/02_makefile_flags.patch: Use internal blas and lapack code.
* debian/patches/02_makefile_flags.patch: Define GCC4 for LINUX and LINUX64
  (Closes: #632611 and LP: #791308).
* debian/control (Build-Depends): Added openssh-client.
* debian/rules (USE_SCALAPACK, SCALAPACK): Removed variables (Closes:
  #654658).
* debian/rules (LIBDIR, USE_MPIF4, ARMCI_NETWORK): New variables.
* debian/TODO: New file.
* debian/control (Build-Depends): Removed libblas-dev, liblapack-dev and
  libscalapack-mpi-dev.
* debian/patches/04_show_testsuite_diff_output.patch: New patch, shows the
  diff output for failed tests.
* debian/patches/series: Adjusted.
* debian/testsuite: Optionally run all tests if "all" is passed as option.
* debian/rules: Run debian/testsuite with "all" if DEB_BUILD_OPTIONS
  contains "checkall".

[ Daniel Leidert ]
* debian/control: Used wrap-and-sort. Added Vcs-Svn and Vcs-Browser fields.
  (Priority): Moved to extra according to policy section 2.5.
  (Standards-Version): Bumped to 3.9.2.
  (Description): Fixed a typo.
* debian/watch: Added.
* debian/patches/03_hurd-i386_define_path_max.patch: Added.
  - Define MAX_PATH if not defines to fix FTBFS on hurd.
* debian/patches/series: Adjusted.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
     3  lhf,ldft,lhybrid,lhasdft,lhashf,
5
5
     4  tda,singlet,triplet,nroots,maxvecs,tol2e,thresh,
6
6
     5  maxiter,target,targetsym,symmetry,algorithm,g_movecs,
7
 
     6  l_evl,k_evl,l_occ,k_occ,l_irs,k_irs,mult)
 
7
     6  l_evl,k_evl,l_occ,k_occ,l_irs,k_irs,mult,lecut,ecut,diff_max)
8
8
c
9
 
c $Id: tddft_init.F,v 1.13 2004-10-27 21:18:42 edo Exp $
 
9
c $Id: tddft_init.F 19696 2010-10-29 16:53:42Z d3y133 $
10
10
c
11
11
c Set various parameters for TDDFT calculations, which are
12
12
c passed as arguments to tddft_init.  Most are read from
90
90
      integer itol2e
91
91
      logical nodezero
92
92
      logical dummy
 
93
      logical lecut
 
94
      double precision ecut
 
95
      double precision diff_max
93
96
c
94
97
      logical int_normalize
95
98
      external int_normalize
253
256
C       if (.not.rtdb_cput(rtdb,'tddft:vector',1,vector))
254
257
C    1  call errquit('tddft_init: failed to write vector',0, RTDB_ERR)
255
258
C     endif
 
259
c
 
260
c --------------------------------------------
 
261
c Get the energy cutoff on the occupied states
 
262
c --------------------------------------------
 
263
      if (.not.rtdb_get(rtdb,'tddft:lecut',mt_log,1,lecut))
 
264
     &   lecut = .false.
 
265
      if (.not.rtdb_get(rtdb,'tddft:ecut',mt_dbl,1,ecut)) then
 
266
         ecut  = 0.d0
 
267
         lecut = .false.
 
268
      end if
 
269
      if (.not.rtdb_get(rtdb,'tddft:diff_max',mt_dbl,1,diff_max))
 
270
     &   diff_max = 100000.d0
 
271
c
256
272
c ----------------------
257
273
c 2-e integral tolerance
258
274
c ----------------------