OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i7cmp3.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!|| i7cmp3b ../starter/source/interfaces/inter3d1/i7cmp3.F
25!||====================================================================
26 SUBROUTINE i7cmp3b(I_STOK,CAND_E ,CAND_N, PROV_E, PROV_N,
27 1 PENE)
28C============================================================================
29C cette routine est appelee par : I7BUC1(/inter3d1/i7buc1.F)
30C I7TRI(/inter3d1/i7tri.F)
31C----------------------------------------------------------------------------
32C cette routine appelle : -
33C============================================================================
34C-----------------------------------------------
35C I m p l i c i t T y p e s
36C-----------------------------------------------
37#include "implicit_f.inc"
38C-----------------------------------------------
39C G l o b a l P a r a m e t e r s
40C-----------------------------------------------
41#include "mvsiz_p.inc"
42C-----------------------------------------------
43C C o m m o n B l o c k s
44C-----------------------------------------------
45#include "vect07_c.inc"
46C-----------------------------------------------
47C D u m m y A r g u m e n t s
48C-----------------------------------------------
49 INTEGER I_STOK
50 INTEGER CAND_N(*),CAND_E(*),PROV_N(MVSIZ),PROV_E(MVSIZ),PENE(MVSIZ)
51C-----------------------------------------------
52C L o c a l V a r i a b l e s
53C-----------------------------------------------
54 INTEGER I
55C REAL
56C-----------------------------------------------
57C CAS DECHARGEMENT
58 DO i=lft,llt
59 IF(pene(i)/=0.0)THEN
60 i_stok = i_stok + 1
61 cand_n(i_stok) = prov_n(i)
62 cand_e(i_stok) = prov_e(i)
63 ENDIF
64 ENDDO
65 RETURN
66 END
67
68!||====================================================================
69!|| i7cmp3 ../starter/source/interfaces/inter3d1/i7cmp3.F
70!||--- called by ------------------------------------------------------
71!|| i21buc1 ../starter/source/interfaces/inter3d1/i21buc3.F
72!|| i21tri ../starter/source/interfaces/inter3d1/i21tri.F
73!|| i23buc1 ../starter/source/interfaces/inter3d1/i23buc3.F
74!|| i23tri ../starter/source/interfaces/inter3d1/i23tri.F
75!|| i24buc1 ../starter/source/interfaces/inter3d1/i24buc1.F
76!|| i24tri ../starter/source/interfaces/inter3d1/i24tri.F
77!|| i7buc1 ../starter/source/interfaces/inter3d1/i7buc1.F
78!|| i7tri ../starter/source/interfaces/inter3d1/i7tri.F
79!||====================================================================
80 SUBROUTINE i7cmp3(I_STOK,CAND_E ,CAND_N, IFLAG,PENE,
81 1 PROV_N,PROV_E)
82C============================================================================
83C cette routine est appelee par : I7BUC1(/inter3d1/i7buc1.F)
84C I7TRI(/inter3d1/i7tri.F)
85C----------------------------------------------------------------------------
86C cette routine appelle : -
87C============================================================================
88C-----------------------------------------------
89C I m p l i c i t T y p e s
90C-----------------------------------------------
91#include "implicit_f.inc"
92C-----------------------------------------------
93C G l o b a l P a r a m e t e r s
94C-----------------------------------------------
95#include "mvsiz_p.inc"
96C-----------------------------------------------
97C C o m m o n B l o c k s
98C-----------------------------------------------
99#include "vect07_c.inc"
100C-----------------------------------------------
101C D u m m y A r g u m e n t s
102C-----------------------------------------------
103 INTEGER I_STOK,J_STOK,IFLAG
104 INTEGER CAND_N(*),CAND_E(*)
105 INTEGER, DIMENSION(MVSIZ), INTENT(IN) :: PROV_N,PROV_E
106 my_real, DIMENSION(MVSIZ), INTENT(IN) :: pene
107C-----------------------------------------------
108C L o c a l V a r i a b l e s
109C-----------------------------------------------
110 INTEGER I
111C REAL
112C-----------------------------------------------
113C
114C
115 IF(iflag==0) THEN
116C CAS DENOMBREMENT SEULEMENT
117 DO 100 i=lft,llt
118 IF(pene(i)/=zero)THEN
119 i_stok = i_stok + 1
120 ENDIF
121 100 CONTINUE
122 ELSE
123C CAS DECHARGEMENT
124 DO 200 i=lft,llt
125 IF(pene(i)/=0.0)THEN
126 i_stok = i_stok + 1
127 cand_n(i_stok) = prov_n(i)
128 cand_e(i_stok) = prov_e(i)
129 ENDIF
130 200 CONTINUE
131 ENDIF
132C
133 RETURN
134 END
#define my_real
Definition cppsort.cpp:32
subroutine i7cmp3(i_stok, cand_e, cand_n, iflag, pene, prov_n, prov_e)
Definition i7cmp3.F:82
subroutine i7cmp3b(i_stok, cand_e, cand_n, prov_e, prov_n, pene)
Definition i7cmp3.F:28