OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
lgmini_rwl.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!|| lgmini_rwl ../starter/source/tools/lagmul/lgmini_rwl.F
25!||--- called by ------------------------------------------------------
26!|| lectur ../starter/source/starter/lectur.F
27!||--- calls -----------------------------------------------------
28!|| ancmsg ../starter/source/output/message/message.F
29!|| fretitl2 ../starter/source/starter/freform.F
30!||--- uses -----------------------------------------------------
31!|| message_mod ../starter/share/message_module/message_mod.F
32!||====================================================================
33 SUBROUTINE lgmini_rwl( NPRW, LPRW, MASS, ITAB,NOM_OPT)
34 USE message_mod
36C----------------------------------------------------------------
37C I m p l i c i t T y p e s
38C-----------------------------------------------
39#include "implicit_f.inc"
40C-----------------------------------------------
41C C o m m o n B l o c k s
42C-----------------------------------------------
43#include "com04_c.inc"
44#include "scr17_c.inc"
45C-----------------------------------------------
46C D u m m y A r g u m e n t s
47C-----------------------------------------------
48 INTEGER NPRW(*),LPRW(*),ITAB(*)
50 . mass(*)
51 INTEGER NOM_OPT(LNOPT1,*)
52C-----------------------------------------------
53C L o c a l V a r i a b l e s
54C-----------------------------------------------
55 INTEGER I, N, NSL , NNO, CONT, MSN
56 INTEGER ID
57 CHARACTER(LEN=NCHARTITLE) :: TITR
58C======================================================================|
59 cont=0
60 DO n=1,nrwall
61 nsl= nprw(n)
62 id=nom_opt(1,n)
63 CALL fretitl2(titr,nom_opt(lnopt1-ltitr+1,n),ltitr)
64 IF (nprw(n+5*nrwall) /= 0) THEN
65 DO i=1,nsl
66 nno = iabs(lprw(cont+i))
67 IF (mass(nno) == zero) THEN
68 CALL ancmsg(msgid=535,
69 . msgtype=msgerror,
70 . anmode=aninfo_blind_1,
71 . c1='RIGID WALL SECONDARY',
72 . i1=id,
73 . c2='RIGID WALL SECONDARY',
74 . c3=titr,c4='SECONDARY',
75 . i2=itab(iabs(lprw(cont+i))))
76 ENDIF
77 ENDDO
78 msn = nprw(n+2*nrwall)
79 IF (msn /= 0) THEN
80 IF (mass(msn) == zero) THEN
81 CALL ancmsg(msgid=535,
82 . msgtype=msgerror,
83 . anmode=aninfo_blind_1,
84 . c1='rigid wall main',
85 . I1=ID,
86 . C2='rigid wall main',
87 . C3=TITR,C4='main',
88 . I2=ITAB(NPRW(N+2*NRWALL)))
89 ENDIF
90 ENDIF
91 ENDIF
92 CONT=CONT+NSL
93 ENDDO
94 RETURN
95 END
#define my_real
Definition cppsort.cpp:32
subroutine lgmini_rwl(nprw, lprw, mass, itab, nom_opt)
Definition lgmini_rwl.F:34
integer, parameter nchartitle
int main(int argc, char *argv[])
subroutine ancmsg(msgid, msgtype, anmode, i1, i2, i3, i4, i5, i6, i7, i8, i9, i10, i11, i12, i13, i14, i15, i16, i17, i18, i19, i20, r1, r2, r3, r4, r5, r6, r7, r8, r9, c1, c2, c3, c4, c5, c6, c7, c8, c9, prmode)
Definition message.F:889
subroutine fretitl2(titr, iasc, l)
Definition freform.F:804