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

« back to all changes in this revision

Viewing changes to src/lapack/double/dladiv.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
*> \brief \b DLADIV performs complex division in real arithmetic, avoiding unnecessary overflow.
 
2
*
 
3
*  =========== DOCUMENTATION ===========
 
4
*
 
5
* Online html documentation available at 
 
6
*            http://www.netlib.org/lapack/explore-html/ 
 
7
*
 
8
*> \htmlonly
 
9
*> Download DLADIV + dependencies 
 
10
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.tgz?format=tgz&filename=/lapack/lapack_routine/dladiv.f"> 
 
11
*> [TGZ]</a> 
 
12
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.zip?format=zip&filename=/lapack/lapack_routine/dladiv.f"> 
 
13
*> [ZIP]</a> 
 
14
*> <a href="http://www.netlib.org/cgi-bin/netlibfiles.txt?format=txt&filename=/lapack/lapack_routine/dladiv.f"> 
 
15
*> [TXT]</a>
 
16
*> \endhtmlonly 
 
17
*
 
18
*  Definition:
 
19
*  ===========
 
20
*
 
21
*       SUBROUTINE DLADIV( A, B, C, D, P, Q )
 
22
 
23
*       .. Scalar Arguments ..
 
24
*       DOUBLE PRECISION   A, B, C, D, P, Q
 
25
*       ..
 
26
*  
 
27
*
 
28
*> \par Purpose:
 
29
*  =============
 
30
*>
 
31
*> \verbatim
 
32
*>
 
33
*> DLADIV performs complex division in  real arithmetic
 
34
*>
 
35
*>                       a + i*b
 
36
*>            p + i*q = ---------
 
37
*>                       c + i*d
 
38
*>
 
39
*> The algorithm is due to Robert L. Smith and can be found
 
40
*> in D. Knuth, The art of Computer Programming, Vol.2, p.195
 
41
*> \endverbatim
 
42
*
 
43
*  Arguments:
 
44
*  ==========
 
45
*
 
46
*> \param[in] A
 
47
*> \verbatim
 
48
*>          A is DOUBLE PRECISION
 
49
*> \endverbatim
 
50
*>
 
51
*> \param[in] B
 
52
*> \verbatim
 
53
*>          B is DOUBLE PRECISION
 
54
*> \endverbatim
 
55
*>
 
56
*> \param[in] C
 
57
*> \verbatim
 
58
*>          C is DOUBLE PRECISION
 
59
*> \endverbatim
 
60
*>
 
61
*> \param[in] D
 
62
*> \verbatim
 
63
*>          D is DOUBLE PRECISION
 
64
*>          The scalars a, b, c, and d in the above expression.
 
65
*> \endverbatim
 
66
*>
 
67
*> \param[out] P
 
68
*> \verbatim
 
69
*>          P is DOUBLE PRECISION
 
70
*> \endverbatim
 
71
*>
 
72
*> \param[out] Q
 
73
*> \verbatim
 
74
*>          Q is DOUBLE PRECISION
 
75
*>          The scalars p and q in the above expression.
 
76
*> \endverbatim
 
77
*
 
78
*  Authors:
 
79
*  ========
 
80
*
 
81
*> \author Univ. of Tennessee 
 
82
*> \author Univ. of California Berkeley 
 
83
*> \author Univ. of Colorado Denver 
 
84
*> \author NAG Ltd. 
 
85
*
 
86
*> \date September 2012
 
87
*
 
88
*> \ingroup auxOTHERauxiliary
 
89
*
 
90
*  =====================================================================
1
91
      SUBROUTINE DLADIV( A, B, C, D, P, Q )
2
92
*
3
 
*  -- LAPACK auxiliary routine (version 2.0) --
4
 
*     Univ. of Tennessee, Univ. of California Berkeley, NAG Ltd.,
5
 
*     Courant Institute, Argonne National Lab, and Rice University
6
 
*     October 31, 1992
 
93
*  -- LAPACK auxiliary routine (version 3.4.2) --
 
94
*  -- LAPACK is a software package provided by Univ. of Tennessee,    --
 
95
*  -- Univ. of California Berkeley, Univ. of Colorado Denver and NAG Ltd..--
 
96
*     September 2012
7
97
*
8
98
*     .. Scalar Arguments ..
9
99
      DOUBLE PRECISION   A, B, C, D, P, Q
10
100
*     ..
11
101
*
12
 
c
13
 
* $Id: dladiv.f 19697 2010-10-29 16:57:34Z d3y133 $
14
 
c
15
 
*  Purpose
16
 
*  =======
17
 
*
18
 
*  DLADIV performs complex division in  real arithmetic
19
 
*
20
 
*                        a + i*b
21
 
*             p + i*q = ---------
22
 
*                        c + i*d
23
 
*
24
 
*  The algorithm is due to Robert L. Smith and can be found
25
 
*  in D. Knuth, The art of Computer Programming, Vol.2, p.195
26
 
*
27
 
*  Arguments
28
 
*  =========
29
 
*
30
 
*  A       (input) DOUBLE PRECISION
31
 
*  B       (input) DOUBLE PRECISION
32
 
*  C       (input) DOUBLE PRECISION
33
 
*  D       (input) DOUBLE PRECISION
34
 
*          The scalars a, b, c, and d in the above expression.
35
 
*
36
 
*  P       (output) DOUBLE PRECISION
37
 
*  Q       (output) DOUBLE PRECISION
38
 
*          The scalars p and q in the above expression.
39
 
*
40
102
*  =====================================================================
41
103
*
42
104
*     .. Local Scalars ..