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 459 by mmeineke, Fri Apr 4 19:57:01 2003 UTC vs.
Revision 460 by chuckv, Fri Apr 4 22:22:30 2003 UTC

# Line 4 | Line 4 | module dipole_dipole
4    use definitions
5    use atype_module
6    use vector_class
7 +  use simulation
8   #ifdef IS_MPI
9    use mpiSimulation
10   #endif
# Line 31 | Line 32 | contains
32    end subroutine initialize_dipole
33  
34  
35 <  subroutine do_dipole_pair(natoms, atom1, atom2, d, rij, r2, pot, u_l, f, t, &
35 >  subroutine do_dipole_pair(atom1, atom2, d, rij, r2, pot, u_l, f, t, &
36         do_pot, do_stress)
37      
38      logical :: do_pot, do_stress
39  
39    integer :: natoms
40      integer atom1, atom2, me1, me2
41      real(kind=dp) :: rij, mu1, mu2
42      real(kind=dp) :: dfact1, dfact2, dip2, r2, r3, r5, pre
# Line 46 | Line 46 | contains
46  
47      real( kind = dp ) :: pot
48      real( kind = dp ), dimension(3) :: d
49 <    real( kind = dp ), dimension(:,:) :: u_l
50 <    real( kind = dp ), dimension(:,:) :: f
51 <    real( kind = dp ), dimension(:,:) :: t
49 >    real( kind = dp ), dimension(3,getNlocal()) :: u_l
50 >    real( kind = dp ), dimension(3,getNlocal()) :: f
51 >    real( kind = dp ), dimension(3,getNlocal()) :: t
52      
53      real (kind = dp), dimension(3) :: ul1
54      real (kind = dp), dimension(3) :: ul2

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines