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

Comparing trunk/OOPSE-3.0/src/UseTheForce/DarkSide/mpiSimulation_module.F90 (file contents):
Revision 1526 by tim, Tue Oct 5 19:37:38 2004 UTC vs.
Revision 1602 by chuckv, Tue Oct 19 20:44:36 2004 UTC

# Line 7 | Line 7
7   !!
8   !! @author Charles F. Vardeman II
9   !! @author Matthew Meineke
10 < !! @version $Id: mpiSimulation_module.F90,v 1.1 2004-10-05 19:37:38 tim Exp $, $Date: 2004-10-05 19:37:38 $, $Name: not supported by cvs2svn $, $Revision: 1.1 $
10 > !! @version $Id: mpiSimulation_module.F90,v 1.2 2004-10-19 20:44:31 chuckv Exp $, $Date: 2004-10-19 20:44:31 $, $Name: not supported by cvs2svn $, $Revision: 1.2 $
11  
12   module mpiSimulation  
13    use definitions
# Line 853 | Line 853 | end module mpiSimulation
853   #endif // is_mpi
854   end module mpiSimulation
855  
856 + #ifdef IS_MPI
857 +  subroutine setFortranMPI(thisComponentPlan, nAtomTags, atomTags, &
858 +       nGroupTags, groupTags, status)
859 +       use mpiSimulation
860 +      
861 +    !! Passed Arguments
862 +    !! mpiComponentPlan struct from C
863 +    type (mpiComponentPlan), intent(inout) :: thisComponentPlan
864 +    !! Number of tags passed
865 +    integer, intent(in) :: nAtomTags, nGroupTags
866 +    !! Result status, 0 = normal, -1 = error
867 +    integer, intent(out) :: status
868 +    integer :: localStatus
869 +    !! Global reference tag for local particles
870 +    integer, dimension(nAtomTags), intent(inout) :: atomTags
871 +    integer, dimension(nGroupTags), intent(inout) :: groupTags
872 +
873 +    call setupSimParallel(thisComponentPlan, nAtomTags, atomTags, &
874 +       nGroupTags, groupTags, status)
875  
876 +
877 + end subroutine
878 +
879 + #endif
880 +
881 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines