OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
w_frbe3.F File Reference
#include "implicit_f.inc"
#include "com04_c.inc"
#include "param_c.inc"
#include "tabsiz_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine w_frbe3 (irbe3, lrbe3, proc, llrbe3_l, frbe3, frbe3ad, len_ia, nrbe3pen_l)

Function/Subroutine Documentation

◆ w_frbe3()

subroutine w_frbe3 ( integer, dimension(nrbe3l,*) irbe3,
integer, dimension(*) lrbe3,
integer proc,
integer llrbe3_l,
frbe3,
frbe3ad,
integer len_ia,
integer, intent(in) nrbe3pen_l )

Definition at line 31 of file w_frbe3.F.

33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C C o m m o n B l o c k s
39C-----------------------------------------------
40#include "com04_c.inc"
41#include "param_c.inc"
42#include "tabsiz_c.inc"
43C-----------------------------------------------
44C D u m m y A r g u m e n t s
45C-----------------------------------------------
46 INTEGER PROC, LLRBE3_L, LEN_IA,
47 . IRBE3(NRBE3L,*), LRBE3(*)
48 INTEGER, INTENT(IN) :: NRBE3PEN_L
50 . frbe3(6,*),frbe3ad(*)
51C-----------------------------------------------
52C F u n c t i o n
53C-----------------------------------------------
54 INTEGER NLOCAL
55 EXTERNAL nlocal
56C-----------------------------------------------
57C L o c a l V a r i a b l e s
58C-----------------------------------------------
59 INTEGER I, J, K, KL, NSNL, NSN, ILP, NN, M, N,IAD,IADS
61 . fbtmp1(6,llrbe3_l),fbtmp2(2*llrbe3_l),fbtmp3(10*nrbe3pen_l)
62C
63 nsnl = 0
64 iads=slrbe3/2
65 DO i = 1, nrbe3
66 k = irbe3(1,i)
67 nsn = irbe3(5,i)
68 DO j = 1, nsn
69 n = lrbe3(k+j)
70 IF (nlocal(n,proc+1)==1)THEN
71 nsnl = nsnl + 1
72 DO nn =1,6
73 fbtmp1(nn,nsnl) = frbe3(nn,k+j)
74 ENDDO
75 fbtmp2(nsnl) = frbe3ad(k+j)
76 fbtmp2(nsnl+llrbe3_l) = frbe3ad(k+j+iads)
77 ENDIF
78 ENDDO
79 ENDDO
80C
81 CALL write_db(fbtmp1,llrbe3_l*6)
82 CALL write_db(fbtmp2,llrbe3_l*2)
83 IF (nrbe3pen_l>0) THEN
84 fbtmp3 =zero
85 CALL write_db(fbtmp3,10*nrbe3pen_l)
86 END IF
87 len_ia = len_ia + llrbe3_l*8 + nrbe3pen_l*10
88C
89 RETURN
#define my_real
Definition cppsort.cpp:32
integer function nlocal(n, p)
Definition ddtools.F:349
subroutine write_db(a, n)
Definition write_db.F:140