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

Go to the source code of this file.

Functions/Subroutines

subroutine i21fpen (nsn, i_stok, cand_n, cand_e, peni, ftxsav, ftysav, ftzsav, cand_tag, ifpen, inacti)

Function/Subroutine Documentation

◆ i21fpen()

subroutine i21fpen ( integer nsn,
integer i_stok,
integer, dimension(*) cand_n,
integer, dimension(*) cand_e,
peni,
ftxsav,
ftysav,
ftzsav,
integer, dimension(*) cand_tag,
integer, dimension(*) ifpen,
integer inacti )

Definition at line 28 of file i21fpen.F.

32C-----------------------------------------------
33C I m p l i c i t T y p e s
34C-----------------------------------------------
35#include "implicit_f.inc"
36C-----------------------------------------------
37C C o m m o n B l o c k s
38C-----------------------------------------------
39C ROLE DE LA ROUTINE:
40C ===================
41C Remise a 0 de IFPEN si le nd n'est plus candidat
42C-----------------------------------------------
43C D u m m y A r g u m e n t s
44C-----------------------------------------------
45 INTEGER I_STOK,NSN,INACTI
46 INTEGER CAND_N(*), CAND_E(*), IFPEN(*), CAND_TAG(*)
47C REAL
49 . ftxsav(*), ftysav(*), ftzsav(*), peni(*)
50C-----------------------------------------------
51C L o c a l V a r i a b l e s
52C-----------------------------------------------
53 INTEGER I, N
54C=======================================================================
55C
56 DO n=1,nsn
57 cand_tag(n) = 0
58 END DO
59C
60 DO i=1,i_stok
61 n = cand_n(i)
62 cand_tag(n)=1
63 END DO
64C
65 DO n=1,nsn
66 IF(cand_tag(n)==0.AND.ifpen(n)/=0)THEN
67 ftxsav(n)=zero
68 ftysav(n)=zero
69 ftzsav(n)=zero
70 peni(n) =zero
71 ifpen(n) =0
72 END IF
73 END DO
74C
75 RETURN
#define my_real
Definition cppsort.cpp:32