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

« back to all changes in this revision

Viewing changes to src/tools/ga-5-2/tcgmsg/examples/prtri.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
      subroutine prtri(d,n)
 
2
c
 
3
c     ----- print out a real triangular matrix -----
 
4
c
 
5
C$Id: prtri.f,v 1.2 1995-02-02 23:24:24 d3g681 Exp $
 
6
      implicit double precision (a-h, o-z)
 
7
      dimension d(*),dd(6)
 
8
      iw = 6
 
9
c
 
10
      max = 6
 
11
      imax = 0
 
12
  100 imin = imax+1
 
13
      imax = imax+max
 
14
      if (imax .gt. n) imax = n
 
15
      write (iw,9008)
 
16
      write (iw,8028) (i,i = imin,imax)
 
17
      do 160 j = 1,n
 
18
         k = 0
 
19
         do 140 i = imin,imax
 
20
            k = k+1
 
21
            m = max0(i,j)*(max0(i,j)-1)/2 + min0(i,j)
 
22
            dd(k) = d(m)
 
23
 140     continue
 
24
         write (iw,8048) j,(dd(i),i = 1,k)
 
25
  160 continue
 
26
      if (imax .lt. n) go to 100
 
27
      return
 
28
 9008 format(/)
 
29
 8028 format(6x,6(4x,i4,4x))
 
30
 8048 format(i5,1x,6f12.6)
 
31
      end