31 . TABCOUPLEPARTS_FRIC_TMP ,TABCOEF_FRIC_TMP ,
32 . TABPARTS_FRIC_TMP,NSETINIT,IFRICORTH_TMP,INTBUF_FRIC_TAB)
41#include "implicit_f.inc"
49 INTEGER TABCOUPLEPARTS_FRIC_TMP(NINTERFRIC,*),TABPARTS_FRIC_TMP(NINTERFRIC,*),
50 . NSETINIT(NINTERFRIC) ,IFRICORTH_TMP(NINTERFRIC,*)
52 . tabcoef_fric_tmp(ninterfric,*)
54 TYPE(intbuf_fric_struct_),
TARGET,
DIMENSION(NINTERFRIC) :: INTBUF_FRIC_TAB(*)
58 INTEGER NIF , NSET ,I ,J ,K ,N ,IP ,NSETT ,NPARTF ,IORTH ,MFROT ,LENC
59 INTEGER,
DIMENSION(:) ,
POINTER :: TABCOUPLEPARTS_FRIC
60 INTEGER,
DIMENSION(:) ,
POINTER :: TABPARTS_FRIC
61 INTEGER,
DIMENSION(:) ,
POINTER :: ADPART_FRIC
62 INTEGER,
DIMENSION(:) ,
POINTER :: IFRICORTH
63 my_real,
DIMENSION(:) ,
POINTER :: tabcoef_fric
68 DO nif = 1, ninterfric
69 tabcoupleparts_fric => intbuf_fric_tab(nif)%TABCOUPLEPARTS_FRIC
70 tabcoef_fric => intbuf_fric_tab(nif)%TABCOEF_FRIC
71 tabparts_fric => intbuf_fric_tab(nif)%TABPARTS_FRIC
72 adpart_fric => intbuf_fric_tab(nif)%ADPARTS_FRIC
73 nset = intbuf_fric_tab(nif)%NSETPRTS
75 npartf = intbuf_fric_tab(nif)%S_TABPARTS_FRIC
76 iorth = intbuf_fric_tab(nif)%IORTHFRIC
77 ifricorth => intbuf_fric_tab(nif)%IFRICORTH
78 mfrot = intbuf_fric_tab(nif)%FRICMOD
88 tabcoef_fric(j) =tabcoef_fric_tmp(nif,j)
95 IF( tabcoupleparts_fric_tmp(nif,j)/= 0)
THEN
101 tabcoef_fric(lenc*k+n) =tabcoef_fric_tmp(nif,i*8+n)
104 ifricorth(k) = ifricorth_tmp(nif,i)
108 ELSEIF(iorth==1)
THEN
110 IF( tabcoupleparts_fric_tmp(nif,j)/= 0)
THEN
113 tabcoupleparts_fric(k) = tabcoupleparts_fric_tmp(nif,j+1)
116 tabcoef_fric(lenc+2*lenc*(k-1)+n) =tabcoef_fric_tmp(nif,8+16*(i-1)+n)
117 tabcoef_fric(2*k*lenc+n) =tabcoef_fric_tmp(nif,16*i+n)
119 ifricorth(k) = ifricorth_tmp(nif,i)
130 tabparts_fric(i) = tabparts_fric_tmp(nif,i)
135 adpart_fric(2:npartf+1) = 0
140 IF( tabcoupleparts_fric_tmp(nif,j)/= 0)
THEN
142 IF(tabcoupleparts_fric_tmp(nif,j) == tabparts_fric(i))
THEN
143 adpart_fric(i+1) = adpart_fric(i+1) + 1
151 adpart_fric(k) =adpart_fric(k) +adpart_fric(i)