#include "implicit_f.inc"
#include "spmd.inc"
#include "com04_c.inc"
#include "task_c.inc"
Go to the source code of this file.
◆ spmd_split_comm_joint()
| subroutine spmd_split_comm_joint |
Definition at line 32 of file spmd_split_comm_joint.F.
33
34
35
36
37
38! - loop over
the joints in order to
39
40
41
42
43
44
45
47
48
49
50 USE spmd_comm_world_mod, ONLY : spmd_comm_world
51#include "implicit_f.inc"
52
53
54
55#include "spmd.inc"
56
57
58
59#include "com04_c.inc"
60#include "task_c.inc"
61
62
63
64
65
66
67
68#ifdef MPI
69
70 integer :: KEY,CODE,I,P
71 INTEGER :: KK
72
73
74
75
76 p = ispmd + 1
77
78
79 DO kk=1,njoint
80! -----------------------------
81
84 key = 1
85 ELSE
87 key = 0
88 ENDIF
89
91 IF(
cyl_join(kk)%COMM_MPI%COLOR==1)
THEN
93 ENDIF
94 ENDDO
95
96#endif
97 RETURN
end diagonal values have been computed in the(sparse) matrix id.SOL
subroutine mpi_comm_split(comm, color, key, comm2, ierr)
subroutine mpi_comm_rank(comm, rank, ierr)
type(joint_type), dimension(:), allocatable cyl_join