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

Comparing trunk/OOPSE-2.0/src/UseTheForce/doForces.F90 (file contents):
Revision 2298 by chuckv, Thu Sep 15 02:48:43 2005 UTC vs.
Revision 2301 by gezelter, Thu Sep 15 22:05:21 2005 UTC

# Line 45 | Line 45
45  
46   !! @author Charles F. Vardeman II
47   !! @author Matthew Meineke
48 < !! @version $Id: doForces.F90,v 1.43 2005-09-15 02:48:43 chuckv Exp $, $Date: 2005-09-15 02:48:43 $, $Name: not supported by cvs2svn $, $Revision: 1.43 $
48 > !! @version $Id: doForces.F90,v 1.44 2005-09-15 22:05:17 gezelter Exp $, $Date: 2005-09-15 22:05:17 $, $Name: not supported by cvs2svn $, $Revision: 1.44 $
49  
50  
51   module doForces
# Line 74 | Line 74 | module doForces
74   #define __FORTRAN90
75   #include "UseTheForce/fSwitchingFunction.h"
76   #include "UseTheForce/fCutoffPolicy.h"
77 #include "UseTheForce/fCoulombicCorrection.h"
77   #include "UseTheForce/DarkSide/fInteractionMap.h"
78  
79  
# Line 136 | Line 135 | module doForces
135    type(gtypeCutoffs), dimension(:,:), allocatable :: gtypeCutoffMap
136  
137    integer, save :: cutoffPolicy = TRADITIONAL_CUTOFF_POLICY
139  integer, save :: coulombicCorrection = NONE
138    real(kind=dp),save :: defaultRcut, defaultRsw, defaultRlist
139    real(kind=dp),save :: rcuti
140    
# Line 524 | Line 522 | contains
522      !! Fortran's version of a cast:
523      FF_uses_RF = use_RF
524  
527    !! set the electrostatic correction method
528    select case(coulombicCorrection)
529    case(NONE)
530       corrMethod = 0
531    case(UNDAMPED_WOLF)
532       corrMethod = 1
533    case(WOLF)
534       corrMethod = 2
535    case (REACTION_FIELD)
536       corrMethod = 3
537    case default
538       call handleError("init_FF", "Unknown Coulombic Correction Method")
539       return
540    end select
525          
526      !! init_FF is called *after* all of the atom types have been
527      !! defined in atype_module using the new_atype subroutine.

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines