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 367 by mmeineke, Wed Mar 19 17:29:49 2003 UTC vs.
Revision 368 by chuckv, Thu Mar 20 00:02:39 2003 UTC

# Line 9 | Line 9 | module atype_module
9    private
10    
11    type (Vector), pointer, public :: atypes => null()
12  logical :: atype_vector_initialized = .false.
12    
13 +  
14    public :: new_atype
15    
16   contains
# Line 41 | Line 41 | contains
41  
42      status = 0
43  
44 <    if (.not.atype_vector_initialized) then
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 <       atypes = initialize(16)
47 >       write(*,*) "Initializing atypes directly"
48 >       atypes => initialize(16)
49         if (.not.associated(atypes)) then
50            status = -1
51            return
# Line 52 | Line 53 | contains
53      endif
54  
55      me = addElement(atypes)
55
56      call setElementProperty(atypes, me, "c_ident", c_ident)
57  
58      l_is_LJ = (is_LJ .ne. 0)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines