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

« back to all changes in this revision

Viewing changes to src/smd/graveyard/smd-subgroups/smd_cutoff_data.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:
 
1
            block data initial_smd_cutoff_data
 
2
      implicit none
 
3
#include "smd_cutoff_data.fh"
 
4
c     
 
5
      data ostatus /.false./
 
6
      data rcut /0.0d0/
 
7
      data rcut_verlet /0.0d0/
 
8
 
 
9
 
 
10
      end
 
11
 
 
12
      subroutine smd_cutoff_get_rcut(arcut)
 
13
      implicit none
 
14
#include "smd_cutoff_data.fh"
 
15
 
 
16
      double precision arcut
 
17
 
 
18
      arcut = rcut
 
19
 
 
20
      end 
 
21
 
 
22
      subroutine smd_cutoff_set_rcut(arcut)
 
23
      implicit none
 
24
#include "smd_cutoff_data.fh"
 
25
 
 
26
      double precision arcut
 
27
 
 
28
      rcut = arcut
 
29
 
 
30
      end 
 
31
 
 
32
      subroutine smd_cutoff_get_rcut_verlet(arcut_verlet)
 
33
      implicit none
 
34
#include "smd_cutoff_data.fh"
 
35
 
 
36
      double precision arcut_verlet
 
37
 
 
38
      arcut_verlet = rcut_verlet
 
39
 
 
40
      end 
 
41
 
 
42
      subroutine smd_cutoff_set_rcut_verlet(arcut_verlet)
 
43
      implicit none
 
44
#include "smd_cutoff_data.fh"
 
45
 
 
46
      double precision arcut_verlet
 
47
 
 
48
      rcut_verlet = arcut_verlet
 
49
 
 
50
      end 
 
51
 
 
52
      subroutine smd_cutoff_print(un)
 
53
      implicit none
 
54
#include "smd_cutoff_data.fh"
 
55
 
 
56
      integer un
 
57
 
 
58
      write(un,*) "cutoff data"
 
59
      write(un,*) "cutoff radius",rcut
 
60
      write(un,*) "verlet cutoff radius",rcut_verlet
 
61
 
 
62
      end 
 
63
 
 
64
      subroutine smd_cutoff_init()
 
65
      implicit none
 
66
#include "rtdb.fh"
 
67
#include "mafdecls.fh"
 
68
#include "errquit.fh"
 
69
#include "smd_cutoff_data.fh"
 
70
 
 
71
c
 
72
      character*32 tag
 
73
      character*32 pname
 
74
      integer rtdb
 
75
 
 
76
      pname = "smd_cutoff_init"
 
77
 
 
78
      call smd_rtdb_get_handle(rtdb)
 
79
      tag="smd:rcut"
 
80
        if (.not.rtdb_get(rtdb,tag,mt_dbl,1,rcut)) 
 
81
     >      call errquit(pname//'failed to get'//tag,0,
 
82
     >       RTDB_ERR)
 
83
 
 
84
      tag="smd:verlet" 
 
85
        if (.not.rtdb_get(rtdb,tag,mt_dbl,1,rcut_verlet)) 
 
86
     >      call errquit(pname//'failed to get'//tag,0,
 
87
     >       RTDB_ERR)
 
88
 
 
89
 
 
90
      end