ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE_old/src/mdtools/libmdCode/atype_module.F90
(Generate patch)

Comparing trunk/OOPSE_old/src/mdtools/libmdCode/atype_module.F90 (file contents):
Revision 368 by chuckv, Thu Mar 20 00:02:39 2003 UTC vs.
Revision 371 by chuckv, Thu Mar 20 17:26:37 2003 UTC

# Line 38 | Line 38 | contains
38      integer, intent(in)  :: is_LJ
39      integer :: me
40      logical :: l_is_LJ, l_is_DP, l_is_Sticky, l_is_GB
41 <
41 >    integer :: FFcheckStatus
42      status = 0
43  
44      if (.not. associated(atypes)) then
45         !! There are 16 properties to worry about for now.  
46         !! Fix this if needed for more atomic properties
47       write(*,*) "Initializing atypes directly"
47         atypes => initialize(16)
48         if (.not.associated(atypes)) then
49            status = -1
# Line 75 | Line 74 | contains
74      if (l_is_Sticky) then
75         call setElementProperty(atypes, me, "sticky_w0", sticky_w0)
76         call setElementProperty(atypes, me, "sticky_v0", sticky_v0)
77 <       call check_sticky_FF(status)
78 <       if (status .ne. 0) call set_sticky_params(sticky_w0, sticky_v0)
77 >       call check_sticky_FF(FFcheckStatus)
78 >       if (FFcheckStatus .ne. 0) call set_sticky_params(sticky_w0, sticky_v0)
79      endif
80      if (l_is_GB) then
81         call setElementProperty(atypes, me, "GB_sigma", GB_sigma)
# Line 85 | Line 84 | contains
84         call setElementProperty(atypes, me, "GB_eps_ratio", GB_eps_ratio)
85         call setElementProperty(atypes, me, "GB_mu", GB_mu)
86         call setElementProperty(atypes, me, "GB_nu", GB_nu)
87 <       call check_gb_pair_FF(status)
88 <       if (status .ne. 0) call set_gb_pair_params(GB_sigma, GB_l2b_ratio, &
87 >       call check_gb_pair_FF(FFcheckStatus)
88 >       if (FFcheckStatus .ne. 0) call set_gb_pair_params(GB_sigma, GB_l2b_ratio, &
89              GB_eps, GB_eps_ratio, GB_mu, GB_nu)
90      endif
91  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines