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

Comparing trunk/OOPSE/libmdtools/calc_reaction_field.F90 (file contents):
Revision 730 by gezelter, Wed Aug 27 16:25:11 2003 UTC vs.
Revision 898 by chuckv, Mon Jan 5 22:49:14 2004 UTC

# Line 61 | Line 61 | contains
61  
62      integer, intent(in) :: atom1, atom2
63      real (kind = dp), intent(in) :: rij
64 <    real (kind = dp), dimension(3,getNlocal()) :: u_l    
64 >    real (kind = dp), dimension(3,nLocal) :: u_l    
65  
66      integer :: me1, me2
67      real (kind = dp) :: taper, mu1, mu2
# Line 134 | Line 134 | contains
134      
135      integer, intent(in) :: atom1
136      real(kind=dp), intent(in) :: mu1
137 <    real(kind=dp), dimension(3,getNlocal()) :: u_l
137 >    real(kind=dp), dimension(3,nLocal) :: u_l
138      
139      !! should work for both MPI and non-MPI version since this is not pairwise.
140      rf(1,atom1) = rf(1,atom1) + u_l(1,atom1)*mu1
# Line 150 | Line 150 | contains
150      real (kind=dp), intent(in) :: mu1
151      real (kind=dp), intent(inout) :: rfpot
152      logical, intent(in) :: do_pot
153 <    real (kind = dp), dimension(3,getNlocal()) :: u_l    
154 <    real (kind = dp), dimension(3,getNlocal()) :: t
153 >    real (kind = dp), dimension(3,nLocal) :: u_l    
154 >    real (kind = dp), dimension(3,nLocal) :: t
155  
156      if (.not.rf_initialized) then
157         write(default_error,*) 'Reaction field not initialized!'
# Line 182 | Line 182 | contains
182      integer, intent(in) :: atom1, atom2
183      real(kind=dp), dimension(3), intent(in) :: d
184      real(kind=dp), intent(in) :: rij
185 <    real( kind = dp ), dimension(3,getNlocal()) :: u_l
186 <    real( kind = dp ), dimension(3,getNlocal()) :: f
185 >    real( kind = dp ), dimension(3,nLocal) :: u_l
186 >    real( kind = dp ), dimension(3,nLocal) :: f
187      logical, intent(in) :: do_stress
188      
189      real (kind = dp), dimension(3) :: ul1

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines