OpenRadioss 2025.1.11
OpenRadioss project
Loading...
Searching...
No Matches
scrint.F File Reference
#include "implicit_f.inc"
#include "com04_c.inc"
#include "param_c.inc"

Go to the source code of this file.

Functions/Subroutines

subroutine scrint (ipari, inscr, intbuf_tab)

Function/Subroutine Documentation

◆ scrint()

subroutine scrint ( integer, dimension(npari,*) ipari,
type(scratch_struct_), dimension(*) inscr,
type(intbuf_struct_), dimension(*) intbuf_tab )

Definition at line 33 of file scrint.F.

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
subroutine nsegmt(ipar, irect, nodes, nseg, nst, nrt, nno)
Definition nsegmt.F:30