~ubuntu-branches/ubuntu/utopic/nwchem/utopic

« back to all changes in this revision

Viewing changes to src/blas/double/dcabs1.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
 
      double precision function dcabs1(z)
2
 
*
3
 
* $Id: dcabs1.f 19695 2010-10-29 16:51:02Z d3y133 $
4
 
*
5
 
      double complex z,zz
6
 
      double precision t(2)
7
 
      equivalence (zz,t(1))
8
 
      zz = z
9
 
      dcabs1 = dabs(t(1)) + dabs(t(2))
10
 
      return
11
 
      end
 
1
*> \brief \b DCABS1
 
2
*
 
3
*  =========== DOCUMENTATION ===========
 
4
*
 
5
* Online html documentation available at 
 
6
*            http://www.netlib.org/lapack/explore-html/ 
 
7
*
 
8
*  Definition:
 
9
*  ===========
 
10
*
 
11
*       DOUBLE PRECISION FUNCTION DCABS1(Z)
 
12
 
13
*       .. Scalar Arguments ..
 
14
*       COMPLEX*16 Z
 
15
*       ..
 
16
*       ..
 
17
*  
 
18
*
 
19
*> \par Purpose:
 
20
*  =============
 
21
*>
 
22
*> \verbatim
 
23
*>
 
24
*> DCABS1 computes absolute value of a double complex number 
 
25
*> \endverbatim
 
26
*
 
27
*  Authors:
 
28
*  ========
 
29
*
 
30
*> \author Univ. of Tennessee 
 
31
*> \author Univ. of California Berkeley 
 
32
*> \author Univ. of Colorado Denver 
 
33
*> \author NAG Ltd. 
 
34
*
 
35
*> \date November 2011
 
36
*
 
37
*> \ingroup double_blas_level1
 
38
*
 
39
*  =====================================================================
 
40
      DOUBLE PRECISION FUNCTION DCABS1(Z)
 
41
*
 
42
*  -- Reference BLAS level1 routine (version 3.4.0) --
 
43
*  -- Reference BLAS is a software package provided by Univ. of Tennessee,    --
 
44
*  -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
 
45
*     November 2011
 
46
*
 
47
*     .. Scalar Arguments ..
 
48
      COMPLEX*16 Z
 
49
*     ..
 
50
*     ..
 
51
*  =====================================================================
 
52
*
 
53
*     .. Intrinsic Functions ..
 
54
      INTRINSIC ABS,DBLE,DIMAG
 
55
*
 
56
      DCABS1 = ABS(DBLE(Z)) + ABS(DIMAG(Z))
 
57
      RETURN
 
58
      END