OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i9imp3.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!|| i9imp3 ../engine/source/interfaces/int09/i9imp3.F
25!||--- called by ------------------------------------------------------
26!|| i9main3 ../engine/source/interfaces/int09/i9main3.F
27!||====================================================================
28 SUBROUTINE i9imp3(
29 1 ILOC, CST, NOR, XFACE,
30 2 N1, N2, N3, SSC,
31 3 TTC, THK, ANS, LFT,
32 4 LLT, NFT)
33C-----------------------------------------------
34C I m p l i c i t T y p e s
35C-----------------------------------------------
36#include "implicit_f.inc"
37C-----------------------------------------------
38C G l o b a l P a r a m e t e r s
39C-----------------------------------------------
40#include "mvsiz_p.inc"
41C-----------------------------------------------
42C D u m m y A r g u m e n t s
43C-----------------------------------------------
44 INTEGER, INTENT(INOUT) :: LFT
45 INTEGER, INTENT(INOUT) :: LLT
46 INTEGER, INTENT(INOUT) :: NFT
47 INTEGER ILOC(*)
48 my_real nor(3,*), cst(2,*)
49 my_real, DIMENSION(MVSIZ), INTENT(IN) :: xface,ssc,ttc,thk
50 my_real, DIMENSION(MVSIZ), INTENT(IN) :: n1,n2,n3
51 my_real, DIMENSION(MVSIZ), INTENT(INOUT) ::ans
52C-----------------------------------------------
53C C o m m o n B l o c k s
54C-----------------------------------------------
55C-----------------------------------------------
56C L o c a l V a r i a b l e s
57C-----------------------------------------------
58 INTEGER I, IL
59C-----------------------------------------------
60C S o u r c e L i n e s
61C-----------------------------------------------
62 DO i=lft,llt
63 il=i+nft
64 ans(i)= min(zero,(ans(i)*xface(i)-thk(i)))
65 IF(ans(i)*xface(i)==zero)iloc(il)=-iloc(il)
66 ENDDO
67
68 DO i=lft,llt
69 il=i+nft
70 nor(1,il)=n1(i)
71 nor(2,il)=n2(i)
72 nor(3,il)=n3(i)
73 cst(1,il)=ssc(i)
74 cst(2,il)=ttc(i)
75 ENDDO
76C-----------------------------------------------
77 RETURN
78 END
#define my_real
Definition cppsort.cpp:32
subroutine i9imp3(iloc, cst, nor, xface, n1, n2, n3, ssc, ttc, thk, ans, lft, llt, nft)
Definition i9imp3.F:33
#define min(a, b)
Definition macros.h:20