OpenRadioss
2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i11gmx3.F
Go to the documentation of this file.
1
Copyright> OpenRadioss
2
Copyright> Copyright (C) 1986-2025 Altair Engineering Inc.
3
Copyright>
4
Copyright> This program is free software: you can redistribute it and/or modify
5
Copyright> it under the terms of the GNU Affero General Public License as published by
6
Copyright> the Free Software Foundation, either version 3 of the License, or
7
Copyright> (at your option) any later version.
8
Copyright>
9
Copyright> This program is distributed in the hope that it will be useful,
10
Copyright> but WITHOUT ANY WARRANTY; without even the implied warranty of
11
Copyright> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
Copyright> GNU Affero General Public License for more details.
13
Copyright>
14
Copyright> You should have received a copy of the GNU Affero General Public License
15
Copyright> along with this program. If not, see <https://www.gnu.org/licenses/>.
16
Copyright>
17
Copyright>
18
Copyright> Commercial Alternative: Altair Radioss Software
19
Copyright>
20
Copyright> As an alternative to this open-source version, Altair also offers Altair Radioss
21
Copyright> software under a commercial license. Contact Altair to discuss further if the
22
Copyright> commercial version may interest you: https://www.altair.com/radioss/.
23
C
24
C 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)
32
C
33
C-----------------------------------------------
34
C I m p l i c i t T y p e s
35
C-----------------------------------------------
36
#include "implicit_f.inc"
37
C-----------------------------------------------
38
C D u m m y A r g u m e n t s
39
C-----------------------------------------------
40
INTEGER
I
41
C REAL
42
my_real
43
. gapmax
44
INTEGER
IRECT(2,*)
45
C REAL
46
my_real
47
. x(3,*),xl2
48
C-----------------------------------------------
49
C L o c a l V a r i a b l e s
50
C-----------------------------------------------
51
INTEGER
JPERM(4), JJ, N1, N2
52
C
53
DATA
jperm/2,3,4,1/
54
C-----------------------------------------------------------------
55
C LONGUEUR MINI DES COTES DE SEGMENT (CALCUL DU GAP MAX)
56
C-----------------------------------------------------------------
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)
63
C
64
RETURN
65
END
my_real
#define my_real
Definition
cppsort.cpp:32
i11gmx3
subroutine i11gmx3(x, irect, i, gapmax, xl2)
Definition
i11gmx3.F:32
min
#define min(a, b)
Definition
macros.h:20
starter
source
interfaces
inter3d1
i11gmx3.F
Generated by
1.15.0