OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i11gmx3.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/.
23C
24C 119 SUBROUTINE I11GMX3(X,IRECT,I,GAPMAX)
25!||====================================================================
26!|| i11gmx3 ../starter/source/interfaces/inter3d1/i11gmx3.F
27!||--- called by ------------------------------------------------------
28!|| i11sti3 ../starter/source/interfaces/inter3d1/i11sti3.F
29!|| i20sti3e ../starter/source/interfaces/inter3d1/i20sti3.F
30!||====================================================================
31 SUBROUTINE i11gmx3(X,IRECT,I,GAPMAX,XL2)
32C
33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C D u m m y A r g u m e n t s
39C-----------------------------------------------
40 INTEGER I
41C REAL
43 . gapmax
44 INTEGER IRECT(2,*)
45C REAL
47 . x(3,*),xl2
48C-----------------------------------------------
49C L o c a l V a r i a b l e s
50C-----------------------------------------------
51 INTEGER JPERM(4), JJ, N1, N2
52C
53 DATA jperm/2,3,4,1/
54C-----------------------------------------------------------------
55C LONGUEUR MINI DES COTES DE SEGMENT (CALCUL DU GAP MAX)
56C-----------------------------------------------------------------
57 n1=irect(1,i)
58 n2=irect(2,i)
59 xl2=(x(1,n1)-x(1,n2))**2
60 . +(x(2,n1)-x(2,n2))**2
61 . +(x(3,n1)-x(3,n2))**2
62 IF(xl2>zero)gapmax= min(gapmax,xl2)
63C
64 RETURN
65 END
#define my_real
Definition cppsort.cpp:32
subroutine i11gmx3(x, irect, i, gapmax, xl2)
Definition i11gmx3.F:32
#define min(a, b)
Definition macros.h:20