33 2 NTHGRP0 ,NTHGRP ,NTHGRP01 ,NTHGRP1 ,
34 3 SCEL ,NUMSPH ,NUMNOD ,NCLUSTER ,
35 4 CELSPH ,NUMLOCCLUSTER ,NBR_TH_MONVOL)
47#include "implicit_f.inc"
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)
62 INTEGER,
DIMENSION(NUMSPH),
INTENT(IN) ::
63 INTEGER,
DIMENSION(NCLUSTER),
INTENT(IN) :: NUMLOCCLUSTER
98 CALL w_th(th%ITHGRP ,th%ITHBUF ,th%SITHBUF,nodlocal,cel ,
99 2 nthgrp0 ,nthgrp ,p ,
100 3 celsph ,numloccluster ,nbr_th_monvol)
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)
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)
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)
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)
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)
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)
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)
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)
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)
subroutine write_th_buffer(th, nodlocal, cel, p, nthgrp0, nthgrp, nthgrp01, nthgrp1, scel, numsph, numnod, ncluster, celsph, numloccluster, nbr_th_monvol)