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

Comparing trunk/OOPSE_old/src/mdtools/libmdCode/simulation_module.F90 (file contents):
Revision 360 by gezelter, Tue Mar 18 16:46:47 2003 UTC vs.
Revision 361 by gezelter, Tue Mar 18 19:09:12 2003 UTC

# Line 21 | Line 21 | module simulation
21  
22    logical, save :: simulation_setup_complete = .false.
23  
24 <  integer :: natoms
24 >  integer, public, save :: natoms
25    integer, public, save :: nExcludes_Global = 0
26    integer, public, save :: nExcludes_Local = 0
27    integer, allocatable, dimension(:,:), public :: excludesLocal
# Line 34 | Line 34 | module simulation
34  
35    
36    public :: SimulationSetup
37 +  public :: getNlocal
38    public :: setBox
39    public :: getBox
40    public :: setRcut
# Line 369 | Line 370 | contains
370      if (allocated(excludesLocal)) deallocate(excludesLocal)
371  
372    end subroutine FreeSimGlobals
373 +
374 +  pure function getNlocal() result(nlocal)
375 +    integer :: nlocal
376 +    nlocal = natoms
377 +  end function getNlocal
378 +
379    
380   end module simulation

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines