OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
w_gjoint.F File Reference
#include "implicit_f.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine w_gjoint (gjbufi, ngjoint, lkjni, nodlocal, len_ia)

Function/Subroutine Documentation

◆ w_gjoint()

subroutine w_gjoint ( integer, dimension(lkjni,*) gjbufi,
integer ngjoint,
integer lkjni,
integer, dimension(*) nodlocal,
integer len_ia )

Definition at line 30 of file w_gjoint.F.

31C-----------------------------------------------
32C I m p l i c i t T y p e s
33C-----------------------------------------------
34#include "implicit_f.inc"
35C-----------------------------------------------
36C D u m m y A r g u m e n t s
37C-----------------------------------------------
38 INTEGER LKJNI, NGJOINT, LEN_IA,
39 . GJBUFI(LKJNI,*), NODLOCAL(*)
40C-----------------------------------------------
41C L o c a l V a r i a b l e s
42C-----------------------------------------------
43 INTEGER I, N0, N1, N2, N3
44C
45 DO i = 1, ngjoint
46 n0 = gjbufi(3,i)
47 n1 = gjbufi(4,i)
48 n2 = gjbufi(5,i)
49 n3 = gjbufi(6,i)
50 IF(n0 /= 0)gjbufi(3,i)=nodlocal(n0)
51 IF(n1 /= 0)gjbufi(4,i)=nodlocal(n1)
52 IF(n2 /= 0)gjbufi(5,i)=nodlocal(n2)
53 IF(n3 /= 0)gjbufi(6,i)=nodlocal(n3)
54 ENDDO
55 CALL write_i_c(gjbufi,ngjoint*lkjni)
56 len_ia = len_ia + ngjoint*lkjni
57C
58 RETURN
void write_i_c(int *w, int *len)