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

Go to the source code of this file.

Functions/Subroutines

subroutine i1chk2 (x, irect, ixq, nrt, nint, nsn, nsv, noint, id, titr)

Function/Subroutine Documentation

◆ i1chk2()

subroutine i1chk2 ( x,
integer, dimension(4,*) irect,
integer, dimension(*) ixq,
integer nrt,
integer nint,
integer nsn,
integer, dimension(*) nsv,
integer noint,
integer id,
character(len=nchartitle) titr )

Definition at line 34 of file i1chk2.F.

35C-----------------------------------------------
36C M o d u l e s
37C-----------------------------------------------
39C-----------------------------------------------
40C I m p l i c i t T y p e s
41C-----------------------------------------------
42#include "implicit_f.inc"
43C-----------------------------------------------
44C D u m m y A r g u m e n t s
45C-----------------------------------------------
46 INTEGER NRT, NINT, NSN, NOINT
47 INTEGER IRECT(4,*), IXQ(*), NSV(*)
48 my_real x(3,*)
49 INTEGER ID
50 CHARACTER(LEN=NCHARTITLE)::TITR
51C-----------------------------------------------
52C L o c a l V a r i a b l e s
53C-----------------------------------------------
54 INTEGER I, II, NEL, IG, IL
55 my_real ym1, ym2, zm1, zm2, ye(4) ,ze(4)
56C-----------------------------------------------
57C S o u r c e L i n e s
58C-----------------------------------------------
59C
60 ! LOOP OVER FLUID SEGMENTS (SECND)
61 DO i=1,nrt
62 ii=i
63 !SEARCH FOR QUAD CONNECTED TO CURRENT FLUID SEGMENT
64 CALL inrch2(x , irect, ixq, ii , nel,
65 . nint , ym1 , ym2, zm1,
66 . zm2 , ye , ze , id , titr)
67
68 !CHECK SEGMENT CONNECTIVITY, REVERSE IT IF NEEDED
69 CALL inori2(irect, ii , nel, nint,
70 . noint, ym1 , ym2, zm1, zm2 ,
71 . ye , ze )
72 ENDDO
73C-----------------------------------------------
74C IRECT <- REPLACE INTERNAL IDENTIFIER 'IG' WITH LOCAL ID 'IL' FROM FLUID NODES : NSV(IL)=IG
75C-----------------------------------------------
76 ! LOOP OVER FLUID SEGMENTS (SECND)
77 DO i=1,nrt
78
79 ig=irect(1,i)
80 ! NSV(IL)=IG , IL \in [1:NSN]
81 CALL local_index(il,ig,nsv,nsn) !NSV:list of fluid nodes (ordered), !NSN:number of fluid nodes
82 irect(1,i)=il
83
84 ig=irect(2,i) !also for other segment node.
85 ! NSV(IL)=IG , IL \in [1:NSN]
86 CALL local_index(il,ig,nsv,nsn)
87 irect(2,i)=il
88
89 ENDDO
90C-----------------------------------------------
91 RETURN
#define my_real
Definition cppsort.cpp:32
subroutine inori2(irect, isg, nel, nint, noint, ym1, ym2, zm1, zm2, ye, ze)
Definition inori2.F:34
subroutine inrch2(x, irect, ico, isg, nel, nint, ym1, ym2, zm1, zm2, ye, ze, id, titr)
Definition inrch2.F:37
subroutine local_index(il, ig, nodes, n)
Definition local_index.F:37
initmumps id
integer, parameter nchartitle