ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-4/src/UseTheForce/notifyCutoffs.F90
(Generate patch)

Comparing trunk/OOPSE-4/src/UseTheForce/notifyCutoffs.F90 (file contents):
Revision 2262 by chuckv, Sun Jul 3 20:53:43 2005 UTC vs.
Revision 2266 by chuckv, Thu Jul 28 22:12:45 2005 UTC

# Line 107 | Line 107 | contains
107  
108      endif
109  
110 <    call createRCuts( rlist )
110 >    call createRCuts( defaultRlist=rlist,stat=localError )
111      call setCutoffsRF( rcut, rsw )
112      call setCutoffLJ( rcut, do_shift, localError )
113      call setCutoffEAM( rcut, localError)
114      call set_switch(GROUP_SWITCH, rsw, rcut)
115  
116 +    if (localError /= 0) then
117 +       write(errMsg, *) 'An error has occured in setting the default cutoff'
118 +       call handleError("cutoffNotify", errMsg)
119 +    end if
120 +
121 +
122    end subroutine cutoffNotify
123  
124   end module notifyCutoffs

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines