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