ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/nano_mpi/src/init_system.F90
(Generate patch)

Comparing trunk/nano_mpi/src/init_system.F90 (file contents):
Revision 6 by pconfort, Mon Jun 10 19:55:35 2002 UTC vs.
Revision 7 by pconfort, Mon Jun 10 21:02:22 2002 UTC

# Line 695 | Line 695 | contains
695      iinterface = 0
696  
697   !new stuff here
698 <
698 > #ifdef MPI
699 >         if (print_vac) then
700          
701 +         endif
702  
703 + #else
704           if (print_vac) then
705              vac_unit = next_unit()
706              vac_file = file_prefix(1:machdep_lnblnk(file_prefix))//".vac"
# Line 707 | Line 710 | contains
710             write(vac_unit,*)
711  
712            endif
713 + #endif
714  
715    do iz = start_index, nc, 1
716       do iy = start_index, nc, 1
# Line 759 | Line 763 | contains
763   #endif
764  
765   !new stuff here
766 <
767 <                
768 <
766 > #ifdef MPI
767 >                elseif (print_vac) then
768 >                endif
769  
770 <                 elseif (print_vac) then
770 > #else
771 >                elseif (print_vac) then
772                            rx  = box(1)*(rx - reference)
773                            ry  = box(2)*(ry - reference)
774                            rz  = box(3)*(rz - reference)
775                      write(unit = vac_unit,fmt = xyz_coord) "Ar", rx, ry, rz
776 +                endif
777 + #endif
778  
772                 endif
773
779                else
780   !! this will build either a liquid or a cluster
781   !! without any vacancies

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines