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

Go to the source code of this file.

Functions/Subroutines

subroutine w_fasolfr (fasolfr, cep, p, cel, nfasolfr_l, len_ia)

Function/Subroutine Documentation

◆ w_fasolfr()

subroutine w_fasolfr ( integer, dimension(2,*) fasolfr,
integer, dimension(*) cep,
integer p,
integer, dimension(*) cel,
integer nfasolfr_l,
integer len_ia )

Definition at line 30 of file w_fasolfr.F.

32C-----------------------------------------------
33C I m p l i c i t T y p e s
34C-----------------------------------------------
35#include "implicit_f.inc"
36#include "com01_c.inc"
37C-----------------------------------------------
38C D u m m y A r g u m e n t s
39C-----------------------------------------------
40 INTEGER FASOLFR(2,*), CEP(*), P, CEL(*), NFASOLFR_L, LEN_IA
41C-----------------------------------------------
42C L o c a l V a r i a b l e s
43C-----------------------------------------------
44 INTEGER I,IL
45 INTEGER FASTMP(2,NFASOLFR_L)
46C
47 il=0
48 DO i = 1, nfasolfr
49 IF(cep(fasolfr(1,i))==p)THEN
50 il=il+1
51 fastmp(1,il) = cel(fasolfr(1,i))
52 fastmp(2,il) = fasolfr(2,i)
53 END IF
54 ENDDO
55C
56 CALL write_i_c(fastmp,2*nfasolfr_l)
57 len_ia = len_ia + 2*nfasolfr_l
58 RETURN
void write_i_c(int *w, int *len)