OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
w_knotloc.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_knotloc (kxig3d, numelig3d_l, isumnig3d_l, ixig3d, cep, proc, nodlocal, len_ia, knotlocpc, knotlocel, numnod_l, numconv, numradia)

Function/Subroutine Documentation

◆ w_knotloc()

subroutine w_knotloc ( integer, dimension(nixig3d,*) kxig3d,
integer numelig3d_l,
integer isumnig3d_l,
integer, dimension(*) ixig3d,
integer, dimension(*) cep,
integer proc,
integer, dimension(*) nodlocal,
integer len_ia,
knotlocpc,
knotlocel,
integer numnod_l,
integer, intent(in) numconv,
integer, intent(in) numradia )

Definition at line 31 of file w_knotloc.F.

34C-----------------------------------------------
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37#include "implicit_f.inc"
38C-----------------------------------------------
39C C o m m o n B l o c k s
40C-----------------------------------------------
41#include "com04_c.inc"
42#include "param_c.inc"
43#include "tabsiz_c.inc"
44C-----------------------------------------------
45C D u m m y A r g u m e n t s
46C-----------------------------------------------
47 INTEGER ,INTENT(IN) :: NUMCONV
48 INTEGER ,INTENT(IN) :: NUMRADIA
49 INTEGER NUMELIG3D_L, PROC, ISUMNIG3D_L,LEN_IA,
50 . KXIG3D(NIXIG3D,*), CEP(*), NODLOCAL(*), IXIG3D(*),NUMNOD_L
52 . knotlocpc(*),knotlocel(*)
53C-----------------------------------------------
54C L o c a l V a r i a b l e s
55C-----------------------------------------------
56 INTEGER I, NN, IAD, IAD_L, J, NB_L, NNOD, IE_L, OFF,
57 . KXIG3D_L(NIXIG3D,NUMELIG3D_L), IXIG3D_L(ISUMNIG3D_L),DECALGEO,MAXGEO
59 . knotlocpc_l(sknotlocpc),knotlocel_l(sknotlocel)
60C
61 off = numelc+numeltg+numels+numelq+numelt+numelp+numelr+
62 . numconv+numradia+slloadp/4
63 ie_l = 0
64 maxgeo=1
65C
66 DO i = 1, numelig3d
67c IF(CEP(OFF+I)==PROC) THEN
68 maxgeo= max(maxgeo,kxig3d(2,i))
69C
70 nnod = kxig3d(3,i)
71 iad = kxig3d(4,i)
72C
73 ie_l = ie_l + 1
74 DO j = 1, nixig3d
75 kxig3d_l(j,ie_l) = kxig3d(j,i)
76 ENDDO
77c DO J = 1, 6 !2*3
78c KNOTLOCEL_L((IE_L-1)*6+J) = KNOTLOCEL(J,KXIG3D(J,I))
79c ENDDO
80c ENDIF
81 ENDDO
82
83 DO j = 1, sknotlocel
84 knotlocel_l(j) = knotlocel(j)
85 ENDDO
86C
87 knotlocpc_l = 0 ! il faut que els autre cases knotlocpc vides pour les neodus soient mises a 0
88
89 CALL w_knotlocpc(knotlocpc,knotlocpc_l,maxgeo,numnod_l,nodlocal)
90C
91 CALL write_db(knotlocpc_l,sknotlocpc)
92 CALL write_db(knotlocel_l,sknotlocel)
93C
94 RETURN
#define my_real
Definition cppsort.cpp:32
#define max(a, b)
Definition macros.h:21
subroutine w_knotlocpc(knotlocpc, knotlocpc_l, maxgeo, numnod_l, nodlocal)
Definition w_knotlocpc.F:30
subroutine write_db(a, n)
Definition write_db.F:140