OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
prescrint.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!|| prescrint ../starter/source/interfaces/interf1/prescrint.F
25!||--- called by ------------------------------------------------------
26!|| lectur ../starter/source/starter/lectur.F
27!||--- calls -----------------------------------------------------
28!|| presegmt ../starter/source/interfaces/interf1/presegmt.F
29!||--- uses -----------------------------------------------------
30!|| intbufscratch_mod ../starter/source/interfaces/interf1/intbufscratch_mod.F
31!||====================================================================
32 SUBROUTINE prescrint(IPARI, INTBUF_TAB,INSCR)
33C-----------------------------------------------
34C M o d u l e s
35C-----------------------------------------------
37 USE intbufdef_mod
38C============================================================================
39C I m p l i c i t T y p e s
40C-----------------------------------------------
41#include "implicit_f.inc"
42C-----------------------------------------------
43C C o m m o n B l o c k s
44C-----------------------------------------------
45#include "com04_c.inc"
46#include "param_c.inc"
47C-----------------------------------------------
48C D u m m y A r g u m e n t s
49C-----------------------------------------------
50 INTEGER IPARI(NPARI,*)
51
52 TYPE(intbuf_struct_) INTBUF_TAB(*)
53 TYPE(scratch_struct_) INSCR(*)
54C-----------------------------------------------
55C L o c a l V a r i a b l e s
56C-----------------------------------------------
57 INTEGER NI, NSN, NMN, NTY, NRTS, NRTM, NST, NMT,LFI
58C=======================================================================
59 lfi = 1
60 DO ni=1,ninter
61 nrts =ipari(3,ni)
62 nrtm =ipari(4,ni)
63 nsn =ipari(5,ni)
64 nmn =ipari(6,ni)
65 nty =ipari(7,ni)
66 IF (nty == 1)THEN
67 CALL presegmt(intbuf_tab(ni)%IRECTS,intbuf_tab(ni)%NSV,nrts,nsn,nst)
68 lfi = 1 + nmn + 1+nsn + nst
69 ELSEIF(nty == 2)THEN
70 CALL presegmt(intbuf_tab(ni)%IRECTS,intbuf_tab(ni)%NSV,nrts,nsn,nst)
71 CALL presegmt(intbuf_tab(ni)%IRECTM,intbuf_tab(ni)%MSR,nrtm,nmn,nmt)
72 lfi = 1 + nmn + nsn + 1+nsn +1+nmn + nst + nmt
73 ENDIF
74 inscr(ni)%SINSCR = lfi
75 ENDDO
76C-----
77 RETURN
78 END
subroutine prescrint(ipari, intbuf_tab, inscr)
Definition prescrint.F:33
subroutine presegmt(irect, nodes, nrt, nno, nst)
Definition presegmt.F:32