OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i21fpen.F
Go to the documentation of this file.
1Copyright> OpenRadioss
2Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3Copyright>
4Copyright> This program is free software: you can redistribute it and/or modify
5Copyright> it under the terms of the GNU Affero General Public License as published by
6Copyright> the Free Software Foundation, either version 3 of the License, or
7Copyright> (at your option) any later version.
8Copyright>
9Copyright> This program is distributed in the hope that it will be useful,
10Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12Copyright> GNU Affero General Public License for more details.
13Copyright>
14Copyright> You should have received a copy of the GNU Affero General Public License
15Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16Copyright>
17Copyright>
18Copyright> Commercial Alternative: Altair Radioss Software
19Copyright>
20Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21Copyright> software under a commercial license. Contact Altair to discuss further if the
22Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23!||====================================================================
24!|| i21fpen ../engine/source/interfaces/int21/i21fpen.F
25!||--- called by ------------------------------------------------------
26!|| i21main_tri ../engine/source/interfaces/intsort/i21main_tri.F
27!||====================================================================
28 SUBROUTINE i21fpen(
29 1 NSN ,I_STOK ,CAND_N ,CAND_E,PENI ,
30 2 FTXSAV,FTYSAV ,FTZSAV,CAND_TAG,IFPEN ,
31 3 INACTI)
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
76 END
#define my_real
Definition cppsort.cpp:32
subroutine i21fpen(nsn, i_stok, cand_n, cand_e, peni, ftxsav, ftysav, ftzsav, cand_tag, ifpen, inacti)
Definition i21fpen.F:32