| 1 |
gezelter |
264 |
#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 |