ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/calc_dipole_dipole.F90
(Generate patch)

Comparing trunk/OOPSE/libmdtools/calc_dipole_dipole.F90 (file contents):
Revision 621 by gezelter, Wed Jul 16 02:11:02 2003 UTC vs.
Revision 626 by mmeineke, Wed Jul 16 21:30:56 2003 UTC

# Line 10 | Line 10 | module dipole_dipole
10   #endif
11    implicit none
12  
13 +  PRIVATE
14    real(kind=dp), save :: rrf = 0.0
15    real(kind=dp), save :: rt  = 0.0
16 <  real(kind=dp), save :: rrfsq = 0.0
16 <  real(kind=dp), save :: pre = 0.0
16 >   real(kind=dp), save :: pre = 0.0
17    logical, save :: dipole_initialized = .false.
18  
19 +
20 +  public::setCutoffsDipole
21 +  public::do_dipole_pair
22 +
23   contains
24      
25 <  subroutine initialize_dipole(this_rrf, this_rt)
25 >  subroutine setCutoffsDipole(this_rrf, this_rt)
26      real(kind=dp), intent(in) :: this_rrf, this_rt
27      rrf = this_rrf
28      rt = this_rt    
29 <    rrfsq = rrf * rrf
26 <    ! pre converts from mu in units of debye to kcal/mol
29 >     ! pre converts from mu in units of debye to kcal/mol
30      pre = 14.38362_dp
31  
32      dipole_initialized = .true.
33      
34      return
35 <  end subroutine initialize_dipole
35 >  end subroutine setCutoffsDipole
36  
37    subroutine do_dipole_pair(atom1, atom2, d, rij, r2, pot, u_l, f, t, &
38         do_pot, do_stress)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines