OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
i18pwr3.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!|| i18pwr3 ../starter/source/interfaces/inter3d1/i18pwr3.F
25!||--- called by ------------------------------------------------------
26!|| inint3 ../starter/source/interfaces/inter3d1/inint3.F
27!||--- uses -----------------------------------------------------
28!|| format_mod ../starter/share/modules1/format_mod.F90
29!||====================================================================
30 SUBROUTINE i18pwr3(ITAB,INACTI,CAND_E,CAND_N,STFN,
31 1 STF ,X ,NSV ,IWPENE,CAND_P,
32 2 CAND_EN,CAND_NN,TAG,NOINT,GAPV ,
33 3 IX1,IX2,IX3,IX4,NSVG,
34 4 PENE)
35C-----------------------------------------------
36C M o d u l e s
37C-----------------------------------------------
38 USE format_mod , ONLY : fmw_5i
39C-----------------------------------------------
40C I m p l i c i t T y p e s
41C-----------------------------------------------
42#include "implicit_f.inc"
43C-----------------------------------------------
44C G l o b a l P a r a m e t e r s
45C-----------------------------------------------
46#include "mvsiz_p.inc"
47C-----------------------------------------------
48C D u m m y A r g u m e n t s
49C-----------------------------------------------
50 INTEGER ITAB(*),CAND_E(*),CAND_N(*),CAND_EN(*),CAND_NN(*)
51 INTEGER NSV(*),TAG(*),IWPENE,INACTI,NOINT
52 my_real
53 . STF(*),STFN(*),X(3,*),CAND_P(*),GAPV(*)
54 INTEGER, DIMENSION(MVSIZ), INTENT(IN) :: IX1,IX2,IX3,IX4,NSVG
55 my_real, DIMENSION(MVSIZ), INTENT(IN) :: pene
56C-----------------------------------------------
57C C o m m o n B l o c k s
58C-----------------------------------------------
59#include "units_c.inc"
60#include "vect07_c.inc"
61#include "scr03_c.inc"
62C-----------------------------------------------
63C L o c a l V a r i a b l e s
64C-----------------------------------------------
65 INTEGER :: I
66 my_real :: PENEOLD
67C-----------------------------------------------
68C S o u r c e L i n e s
69C-----------------------------------------------
70 DO i=lft,llt
71 IF(ipri>=1.AND.pene(i)>zero)THEN
72 WRITE(iout,fmt=fmw_5i)
73 1 itab(nsvg(i)),
74 2 itab(ix1(i)),itab(ix2(i)),itab(ix3(i)),itab(ix4(i))
75 ELSEIF(ipri>=6)THEN
76 WRITE(iout,fmt=fmw_5i)
77 1 itab(nsvg(i)),
78 2 itab(ix1(i)),itab(ix2(i)),itab(ix3(i)),itab(ix4(i))
79 ENDIF
80 IF(pene(i)>zero)THEN
81 tag(nsvg(i))=tag(nsvg(i))+1
82 cand_p(iwpene+1) = zero
83 cand_nn(iwpene+1) = cand_n(i)
84 cand_en(iwpene+1) = cand_e(i)
85 iwpene=iwpene+1
86 ENDIF
87 ENDDO
88C-----------------------------------------------
89 RETURN
90 END
subroutine i18pwr3(itab, inacti, cand_e, cand_n, stfn, stf, x, nsv, iwpene, cand_p, cand_en, cand_nn, tag, noint, gapv, ix1, ix2, ix3, ix4, nsvg, pene)
Definition i18pwr3.F:35