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

Go to the source code of this file.

Functions/Subroutines

subroutine w_ieloc (itab, cep, p, numel, numel_l, len_ia)

Function/Subroutine Documentation

◆ w_ieloc()

subroutine w_ieloc ( integer, dimension(*) itab,
integer, dimension(*) cep,
integer p,
integer numel,
integer numel_l,
integer len_ia )

Definition at line 30 of file w_ieloc.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 ITAB(*), CEP(*), P, NUMEL, NUMEL_L, LEN_IA
39C-----------------------------------------------
40C L o c a l V a r i a b l e s
41C-----------------------------------------------
42 INTEGER I, EL
43 INTEGER,DIMENSION(:), ALLOCATABLE :: ITMP
44C
45 ALLOCATE(itmp(numel_l))
46C
47 el = 0
48 DO i = 1, numel
49 IF(cep(i)==p) THEN
50 el = el + 1
51 itmp(el) = itab(i)
52 ENDIF
53 ENDDO
54C
55 CALL write_i_c(itmp,numel_l)
56 len_ia = len_ia + numel_l
57 DEALLOCATE(itmp)
58C
59 RETURN
void write_i_c(int *w, int *len)