ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE/libmdtools/notifyCutoffs.F90
Revision: 669
Committed: Thu Aug 7 00:47:33 2003 UTC (20 years, 11 months ago) by chuckv
File size: 930 byte(s)
Log Message:
Bug fixes for eam...

File Contents

# User Rev Content
1 mmeineke 626 module notifyCutoffs
2    
3     use definitions
4     use do_Forces, only: setRlistDF
5     use dipole_dipole, only: setCutoffsDipole
6     use reaction_field, only: setCutoffsRF
7     use lj, only: setCutoffLJ
8 chuckv 653 use eam, only: setCutoffEAM
9 mmeineke 626 implicit none
10    
11     PRIVATE
12    
13     public::cutoffNotify
14    
15     contains
16    
17     subroutine cutoffNotify( this_rcut, this_rlist, this_ecr, this_est )
18    
19     real(kind=dp), intent(in) :: this_rcut, this_rlist, this_ecr, this_est
20    
21     real(kind=dp) :: rtaper, rcut, rlist, ecr
22     integer :: localError
23    
24    
25     rcut = this_rcut
26     rlist = this_rlist
27     ecr = this_ecr
28     rtaper = this_ecr - this_est
29    
30    
31     call setRlistDF( rlist )
32     call setCutoffsDipole( ecr, rtaper )
33     call setCutoffsRF( ecr, rtaper )
34     call setCutoffLJ( rcut, localError )
35 chuckv 669 call setCutoffEAM(rcut,localError)
36 mmeineke 626
37     end subroutine cutoffNotify
38    
39     end module notifyCutoffs