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

Comparing trunk/OOPSE-4/src/UseTheForce/DarkSide/simulation.F90 (file contents):
Revision 2262 by chuckv, Sun Jul 3 20:53:43 2005 UTC vs.
Revision 2274 by gezelter, Wed Aug 17 15:26:42 2005 UTC

# Line 565 | Line 565 | contains
565            doesit = thisSim%SIM_uses_RF
566          end function SimRequiresPostpairCalc
567  
568 < ! Function returns true if the simulation has this atype
568 >        ! Function returns true if the simulation has this atype
569          function SimHasAtype(thisAtype) result(doesit)
570            logical :: doesit
571            integer :: thisAtype
# Line 594 | Line 594 | contains
594               end if
595               SimHasAtypeMap = .false.
596            end if
597 < ! Loop through the local atoms and grab the atypes present        
597 >          ! Loop through the local atoms and grab the atypes present        
598            do me_i = 1,nLocal
599               SimHasAtypeMap(atid(me_i)) = .true.
600            end do
601 < ! For MPI, we need to know all possible atypes present in simulation on all
602 < ! processors. Use LOR operation to set map.
601 >          ! For MPI, we need to know all possible atypes present in
602 >          ! simulation on all processors. Use LOR operation to set map.
603   #ifdef IS_MPI
604 <          call mpi_allreduce(SimHasAtypeMap, SimHasAtypeMap, nAtypes, mpi_logical, &
605 <               MPI_LOR, mpi_comm_world, mpiErrors)
606 < #endif
607 <
604 >          call mpi_allreduce(SimHasAtypeMap, SimHasAtypeMap, nAtypes, &
605 >               mpi_logical, MPI_LOR, mpi_comm_world, mpiErrors)
606 > #endif          
607          end subroutine createSimHasAtype
608 <
608 >        
609         subroutine InitializeSimGlobals(thisStat)
610            integer, intent(out) :: thisStat
611            integer :: alloc_stat

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines