ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/group/trunk/OOPSE-2.0/src/UseTheForce/DarkSide/simParallel_interface.F90
Revision: 1948
Committed: Fri Jan 14 20:31:16 2005 UTC (19 years, 6 months ago) by gezelter
File size: 756 byte(s)
Log Message:
separating modules and C/Fortran interface subroutines

File Contents

# Content
1 #ifdef IS_MPI
2 subroutine setFsimParallel(thisComponentPlan, nAtomTags, atomTags, &
3 nGroupTags, groupTags, status)
4 use mpiSimulation
5
6 !! Passed Arguments
7 !! mpiComponentPlan struct from C
8 type (mpiComponentPlan), intent(inout) :: thisComponentPlan
9 !! Number of tags passed
10 integer, intent(in) :: nAtomTags, nGroupTags
11 !! Result status, 0 = normal, -1 = error
12 integer, intent(out) :: status
13 integer :: localStatus
14 !! Global reference tag for local particles
15 integer, dimension(nAtomTags), intent(inout) :: atomTags
16 integer, dimension(nGroupTags), intent(inout) :: groupTags
17
18 call setupSimParallel(thisComponentPlan, nAtomTags, atomTags, &
19 nGroupTags, groupTags, status)
20
21
22 end subroutine setFsimParallel
23 #endif