88 INTEGER I,I0,IZ1,IZ2,IG,IGN,IGP,N
91 DOUBLE PRECISION GRE, GIM
92 DOUBLE PRECISION DDXGRE,DDYGRE,DDXGIM,DDYGIM
95 DOUBLE PRECISION PHASEOI,X0,Y0
96 DOUBLE PRECISION AUXI1,AUXIC,AUXIS
97 DOUBLE PRECISION SDIST,MINDIST
101 DOUBLE PRECISION,
PARAMETER :: CHOUIA = 1.d-9
105 pi = 4.d0 * atan( 1.d0 )
160 IF(
numliq%I(i).EQ.n )
THEN 170 IF( sdist.GT.mindist )
THEN 180 iz1 =
mesh%KP1BOR%I(i0)
183 iz1 =
mesh%KP1BOR%I(iz1)
185 IF( iz1.EQ.iz2 )
EXIT 187 IF(
numliq%I(iz1).NE.n )
THEN 188 DO WHILE(
numliq%I(iz2).EQ.n )
192 IF(
numliq%I(iz2).NE.n )
THEN 193 DO WHILE(
numliq%I(iz1).EQ.n )
194 iz1 =
mesh%KP1BOR%I(iz1)
213 WRITE(
lu,112) n,
mesh%NBOR%I(i0),
215 112
FORMAT(/,1
x,
'PHBOR: BOUNDARY ',i3,
216 &
' IS INCIDENT - FIRST IMPACT NODE ',i6,
217 &
'[',f12.4,
',',f12.4,
']')
225 DO WHILE(
numliq%I(i).EQ.n )
236 &
k%R(ig)*auxic*(
x(ig)-x0 ) +
k%R(ig)*auxis*(
y(ig)-y0 )
245 ddxgre= auxi1*cos(
alfap%R(i)*
degrad+phaseoi)*auxic*
k%R(ig)
246 ddygre= auxi1*cos(
alfap%R(i)*
degrad+phaseoi)*auxis*
k%R(ig)
247 ddxgim= auxi1*sin(
alfap%R(i)*
degrad+phaseoi)*auxic*
k%R(ig)
248 ddygim= auxi1*sin(
alfap%R(i)*
degrad+phaseoi)*auxis*
k%R(ig)
255 cphi1b%R(i) = ( -gim*
k%R(ig) ) *
c%R(ig)*
cg%R(ig)
256 dphi1b%R(i) = ( gre*
k%R(ig) ) *
c%R(ig)*
cg%R(ig)
258 cgrx1b%R(i)= ( ddxgre ) *
c%R(ig)*
cg%R(ig)
259 cgry1b%R(i)= ( ddygre ) *
c%R(ig)*
cg%R(ig)
260 dgrx1b%R(i)= ( ddxgim ) *
c%R(ig)*
cg%R(ig)
261 dgry1b%R(i)= ( ddygim ) *
c%R(ig)*
cg%R(ig)
274 DO WHILE(
numliq%I(i).EQ.n )
285 &
k%R(ig)*auxic*(
x(ig)-x0 ) +
k%R(ig)*auxis*(
y(ig)-y0 )
294 ddxgre= auxi1*cos(
alfap%R(i)*
degrad+phaseoi)*auxic*
k%R(ig)
295 ddygre= auxi1*cos(
alfap%R(i)*
degrad+phaseoi)*auxis*
k%R(ig)
296 ddxgim= auxi1*sin(
alfap%R(i)*
degrad+phaseoi)*auxic*
k%R(ig)
297 ddygim= auxi1*sin(
alfap%R(i)*
degrad+phaseoi)*auxis*
k%R(ig)
304 cphi1b%R(i) = ( -gim*
k%R(ig) ) *
c%R(ig)*
cg%R(ig)
305 dphi1b%R(i) = ( gre*
k%R(ig) ) *
c%R(ig)*
cg%R(ig)
307 cgrx1b%R(i)= ( ddxgre ) *
c%R(ig)*
cg%R(ig)
308 cgry1b%R(i)= ( ddygre ) *
c%R(ig)*
cg%R(ig)
309 dgrx1b%R(i)= ( ddxgim ) *
c%R(ig)*
cg%R(ig)
310 dgry1b%R(i)= ( ddygim ) *
c%R(ig)*
cg%R(ig)
378 cphi1b%R(i) = ( -gim*
k%R(ig) ) *
c%R(ig)*
cg%R(ig)
379 dphi1b%R(i) = ( gre*
k%R(ig) ) *
c%R(ig)*
cg%R(ig)
381 cgrx1b%R(i)= ( ddxgre ) *
c%R(ig)*
cg%R(ig)
382 cgry1b%R(i)= ( ddygre ) *
c%R(ig)*
cg%R(ig)
383 dgrx1b%R(i)= ( ddxgim ) *
c%R(ig)*
cg%R(ig)
384 dgry1b%R(i)= ( ddygim ) *
c%R(ig)*
cg%R(ig)
425 auxi1 =
k%R(ig) *
c%R(ig) *
cg%R(ig) *
427 & (1.d0 +
rp%R(i)*
rp%R(i) +
430 aphi3b%R(i) = - (1.d0 -
rp%R(i) *
rp%R(i) ) * auxi1
439 auxi1 =
k%R(ig) *
c%R(ig) *
cg%R(ig) *
442 & +2.d0 *
rp%R(
mesh%KP1BOR%I(i))*
446 &
rp%R(
mesh%KP1BOR%I(i))) * auxi1
456 auxi1 =
k%R(ig) *
c%R(ig) *
cg%R(ig) *
type(bief_obj), target lihbor
type(bief_obj), target prb
type(bief_obj), target aphi2b
type(bief_obj), target dgrx1b
type(bief_obj), target bphi1b
type(bief_obj), target tetap
type(bief_obj), target dphi2b
double precision, dimension(:), pointer y
type(bief_obj), target aphi3b
type(bief_obj), target cgry1b
type(bief_obj), target aphi1b
type(bief_obj), target cphi1b
type(bief_obj), target pib
type(bief_mesh), target mesh
type(bief_obj), target hb
type(bief_obj), target tetab
type(bief_obj), target aphi4b
type(bief_obj), target dphi1b
type(bief_obj), target ddxpib
type(bief_obj), target bphi2b
type(bief_obj), target dphi4b
type(bief_obj), target alfap
type(bief_obj), target numliq
double precision, dimension(:), pointer x
type(bief_obj), target rp
type(bief_obj), target ddxprb
type(bief_obj), target cg
type(bief_obj), target cgrx1b
type(bief_obj), target bphi4b
type(bief_obj), target cphi2b
type(bief_obj), target cphi4b
type(bief_obj), target ddyprb
type(bief_obj), target lidir
type(bief_obj), target dgry1b
type(bief_obj), target ddypib
type(bief_obj), target cphi3b
type(bief_obj), target bphi3b
type(bief_obj), target dphi3b