OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
iface.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!|| iface ../starter/source/ale/ale3d/iface.F
25!||--- called by ------------------------------------------------------
26!|| boxassem4 ../starter/source/model/box/bigbox.F
27!|| c_iebcs ../starter/source/restart/ddsplit/c_iebcs.F
28!|| ddsplit ../starter/source/restart/ddsplit/ddsplit.F
29!|| ebcs_cyclic_surface_matching_2d ../starter/source/boundary_conditions/ebcs/ebcs_cyclic_surface_matching_2d.F90
30!|| findele ../starter/source/boundary_conditions/ebcs/findele.F
31!|| fvbric01 ../starter/source/airbag/fvbric01.F
32!|| i12sol3 ../starter/source/interfaces/inter3d1/insol3.F
33!|| iniebcs ../starter/source/boundary_conditions/ebcs/iniebcs.F
34!||====================================================================
35 INTEGER FUNCTION iface(IP,N)
36C-----------------------------------------------
37C D e s c r i p t i o n
38C-----------------------------------------------
39C This function is searching for face identifier
40C 3D case (8 nodes)
41C-----------------------------------------------
42C I m p l i c i t T y p e s
43C-----------------------------------------------
44#include "implicit_f.inc"
45C-----------------------------------------------
46C D u m m y A r g u m e n t s
47C-----------------------------------------------
48 INTEGER ip(*), n(4)
49C-----------------------------------------------
50C S o u r c e L i n e s
51C-----------------------------------------------
52 IF(ip(n(1)) > 0)THEN
53 IF(ip(n(2)) > 0)THEN
54 IF(ip(n(3)) > 0)THEN
55 iface=1
56 ELSE
57 iface=4
58 ENDIF
59 ELSE
60 iface=6
61 ENDIF
62 ELSE
63 IF(ip(n(3)) > 0)THEN
64 IF(ip(n(4)) > 0)THEN
65 iface=2
66 ELSE
67 iface=5
68 ENDIF
69 ELSE
70 iface=3
71 ENDIF
72 ENDIF
73 RETURN
74 END
75
76!||====================================================================
77!|| iface2 ../starter/source/ale/ale3d/iface.F
78!||--- called by ------------------------------------------------------
79!|| c_ixfloc ../starter/source/restart/ddsplit/c_ixfloc.F
80!|| ddsplit ../starter/source/restart/ddsplit/ddsplit.F
81!|| findele ../starter/source/boundary_conditions/ebcs/findele.F
82!|| multi_unplug_neighbors ../starter/source/multifluid/multi_unplug_neighbors.F
83!||====================================================================
84 INTEGER FUNCTION iface2(IP, N)
85C-----------------------------------------------
86C D e s c r i p t i o n
87C-----------------------------------------------
88C This function is searching for face identifier
89C 2D case (4 nodes : QUADS)
90C-----------------------------------------------
91C I m p l i c i t T y p e s
92C-----------------------------------------------
93#include "implicit_f.inc"
94C-----------------------------------------------
95C D u m m y A r g u m e n t s
96C-----------------------------------------------
97 INTEGER, INTENT(IN) :: ip(*), n(2)
98C-----------------------------------------------
99C S o u r c e L i n e s
100C-----------------------------------------------
101 IF (ip(n(1)) > 0) THEN
102 IF (ip(n(2)) > 0) THEN
103 iface2 = 1
104 ELSE
105 iface2 = 4
106 ENDIF
107 ELSE IF (ip(n(2)) > 0) THEN
108 iface2 = 2
109 ELSE
110 iface2 = 3
111 ENDIF
112 END
113
114!||====================================================================
115!|| iface2t ../starter/source/ale/ale3d/iface.F
116!||--- called by ------------------------------------------------------
117!|| findele ../starter/source/boundary_conditions/ebcs/findele.F
118!||====================================================================
119 INTEGER FUNCTION iface2t(IP, N)
120C-----------------------------------------------
121C D e s c r i p t i o n
122C-----------------------------------------------
123C This function is searching for face identifier
124C 2D case (3 nodes : TRIANGLES)
125C-----------------------------------------------
126C I m p l i c i t T y p e s
127C-----------------------------------------------
128#include "implicit_f.inc"
129C-----------------------------------------------
130C D u m m y A r g u m e n t s
131C-----------------------------------------------
132 INTEGER, INTENT(IN) :: ip(*), n(3)
133C-----------------------------------------------
134C S o u r c e L i n e s
135C-----------------------------------------------
136 iface2t = 0
137 IF (ip(n(1)) > 0) THEN
138 IF (ip(n(2)) > 0) THEN
139 iface2t = 1
140 ELSE
141 iface2t = 3
142 ENDIF
143 ELSE IF (ip(n(3)) > 0) THEN
144 iface2t = 2
145 ENDIF
146 END
integer function iface(ip, n)
Definition iface.F:36
integer function iface2(ip, n)
Definition iface.F:85
integer function iface2t(ip, n)
Definition iface.F:120