36
37
38
39 !
split and
write time history buffer
40
41
42
44
45
46
47#include "implicit_f.inc"
48
49
50
51 TYPE(TH_),INTENT(INOUT) :: TH
52 INTEGER,INTENT(IN) :: P
53 INTEGER,INTENT(IN) :: NUMNOD
54 INTEGER,INTENT(IN) :: NUMSPH
55 INTEGER,INTENT(IN) :: SCEL
56 INTEGER,INTENT(IN) :: NCLUSTER
57 INTEGER,INTENT(IN) :: NBR_TH_MONVOL
58 INTEGER,DIMENSION(NUMNOD), INTENT(IN) :: NODLOCAL
59 INTEGER,INTENT(IN) :: NTHGRP0,NTHGRP
60 INTEGER,DIMENSION(9),INTENT(IN) :: NTHGRP01,NTHGRP1
61 INTEGER,DIMENSION(SCEL),INTENT(IN) :: CEL
62 INTEGER,DIMENSION(NUMSPH),INTENT(IN) :: CELSPH
63 INTEGER,DIMENSION(NCLUSTER),INTENT(IN) :: NUMLOCCLUSTER
64
65
69
72
75
78
81
84
87
90
93
96
97
98 CALL w_th(th%ITHGRP ,th%ITHBUF ,th%SITHBUF,nodlocal,cel ,
99 2 nthgrp0 ,nthgrp ,p ,
100 3 celsph ,numloccluster ,nbr_th_monvol)
101
102
103 IF (nthgrp01(1) > 0) THEN
104 CALL w_th(th%ITHGRPA ,th%ITHBUFA ,th%SITHBUFA ,nodlocal,cel ,
105 2 nthgrp01(1) ,nthgrp1(1) ,p ,
106 3 celsph, numloccluster ,nbr_th_monvol)
107 END IF
108
109 IF (nthgrp01(2) > 0) THEN
110 CALL w_th(th%ITHGRPB ,th%ITHBUFB ,th%SITHBUFB,nodlocal,cel,
111 2 nthgrp01(2) ,nthgrp1(2) ,p ,
112 3 celsph ,numloccluster ,nbr_th_monvol)
113 END IF
114
115 IF (nthgrp01(3) > 0) THEN
116 CALL w_th(th%ITHGRPC ,th%ITHBUFC ,th%SITHBUFC,nodlocal,cel,
117 2 nthgrp01(3) ,nthgrp1(3) ,p ,
118 3 celsph ,numloccluster ,nbr_th_monvol)
119 END IF
120
121 IF (nthgrp01(4) > 0) THEN
122 CALL w_th(th%ITHGRPD ,th%ITHBUFD ,th%SITHBUFD,nodlocal,cel,
123 2 nthgrp01(4) ,nthgrp1(4) ,p ,
124 3 celsph ,numloccluster ,nbr_th_monvol)
125 END IF
126
127 IF (nthgrp01(5) > 0) THEN
128 CALL w_th(th%ITHGRPE ,th%ITHBUFE ,th%SITHBUFE,nodlocal,cel ,
129 2 nthgrp01(5),nthgrp1(5) ,p ,
130 3 celsph, numloccluster ,nbr_th_monvol)
131 END IF
132
133 IF (nthgrp01(6) > 0) THEN
134 CALL w_th(th%ITHGRPF ,th%ITHBUFF ,th%SITHBUFF,nodlocal,cel ,
135 2 nthgrp01(6),nthgrp1(6) ,p ,
136 3 celsph, numloccluster ,nbr_th_monvol)
137 END IF
138
139 IF (nthgrp01(7) > 0) THEN
140 CALL w_th(th%ITHGRPG ,th%ITHBUFG ,th%SITHBUFG,nodlocal,cel ,
141 2 nthgrp01(7),nthgrp1(7) ,p ,
142 3 celsph, numloccluster ,nbr_th_monvol)
143 END IF
144
145 IF (nthgrp01(8) > 0) THEN
146 CALL w_th(th%ITHGRPH ,th%ITHBUFH ,th%SITHBUFH,nodlocal,cel ,
147 2 nthgrp01(8),nthgrp1(8) ,p ,
148 3 celsph, numloccluster ,nbr_th_monvol)
149 END IF
150
151 IF (nthgrp01(9) > 0) THEN
152 CALL w_th(th%ITHGRPI ,th%ITHBUFI ,th%SITHBUFI,nodlocal,cel ,
153 2 nthgrp01(9),nthgrp1(9) ,p ,
154 3 celsph, numloccluster ,nbr_th_monvol)
155 END IF
156
void split(mapping_t *, PORD_INT, PORD_INT, PORD_INT, PORD_INT *, PORD_INT *, FLOAT *, PORD_INT)
subroutine w_th(ithgrp, ithbuf, lenthg, nodlocal, cel, nthgrp0, nthgrp2, proc, celsph, numloccluster, nbr_th_monvol)
void write_i_c(int *w, int *len)